-
Notifications
You must be signed in to change notification settings - Fork 895
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes sharing hub social platforms section.
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
chromium_src/chrome/browser/ui/views/sharing_hub/sharing_hub_bubble_view_impl.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* Copyright (c) 2022 The Brave Authors. All rights reserved. | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
* You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
#define BRAVE_SHARING_HUB_BUBBLE_VIEW_IMPL_POPULATE_SCROLL_VIEW \ | ||
share_link_label_ = new views::Label( \ | ||
l10n_util::GetStringUTF16(IDS_SHARING_HUB_SHARE_LABEL)); \ | ||
MaybeSizeToContents(); \ | ||
Layout(); \ | ||
return; | ||
|
||
#include "src/chrome/browser/ui/views/sharing_hub/sharing_hub_bubble_view_impl.cc" | ||
#undef BRAVE_SHARING_HUB_BUBBLE_VIEW_IMPL_POPULATE_SCROLL_VIEW |
12 changes: 12 additions & 0 deletions
12
patches/chrome-browser-ui-views-sharing_hub-sharing_hub_bubble_view_impl.cc.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/chrome/browser/ui/views/sharing_hub/sharing_hub_bubble_view_impl.cc b/chrome/browser/ui/views/sharing_hub/sharing_hub_bubble_view_impl.cc | ||
index 515fb2ce8d47f75a09283438198691fdf78328e2..3214caa20c0b6b6833c2ed9ed63a0aef90708682 100644 | ||
--- a/chrome/browser/ui/views/sharing_hub/sharing_hub_bubble_view_impl.cc | ||
+++ b/chrome/browser/ui/views/sharing_hub/sharing_hub_bubble_view_impl.cc | ||
@@ -163,6 +163,7 @@ void SharingHubBubbleViewImpl::PopulateScrollView( | ||
view->SetGroup(kActionButtonGroup); | ||
} | ||
|
||
+ BRAVE_SHARING_HUB_BUBBLE_VIEW_IMPL_POPULATE_SCROLL_VIEW | ||
action_list_view->AddChildView(std::make_unique<views::Separator>()); | ||
|
||
constexpr int kIndent = 12; |