Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc

Issue 309713002: Fix bg color of bookmark bubble view (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: also give bubbles the correct bg color Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h ('k') | ui/views/bubble/bubble_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc
index b126ced9eb0752d5067d6568e39d1d4d5084c471..0706e3268a9d92cf5ba7894b01ceb56b6aa83402 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc
@@ -128,14 +128,6 @@ bool BookmarkBubbleView::AcceleratorPressed(
return BubbleDelegateView::AcceleratorPressed(accelerator);
}
-void BookmarkBubbleView::OnNativeThemeChanged(const ui::NativeTheme* theme) {
- views::BubbleDelegateView::OnNativeThemeChanged(theme);
- const SkColor background_color = theme->GetSystemColor(
- ui::NativeTheme::kColorId_DialogBackground);
- set_color(background_color);
- set_background(views::Background::CreateSolidBackground(background_color));
-}
-
void BookmarkBubbleView::Init() {
views::Label* title_label = new views::Label(
l10n_util::GetStringUTF16(
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h ('k') | ui/views/bubble/bubble_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698