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

Unified Diff: chrome/browser/ui/views/frame/browser_frame.cc

Issue 2753813003: Fix theme change paint issue on linux. (Closed)
Patch Set: Created 3 years, 9 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/frame/browser_frame.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_frame.cc
diff --git a/chrome/browser/ui/views/frame/browser_frame.cc b/chrome/browser/ui/views/frame/browser_frame.cc
index c78624a5119ad58a967219a3026743531669a416..0df995091cf21e7923dac9a47c1854443689468a 100644
--- a/chrome/browser/ui/views/frame/browser_frame.cc
+++ b/chrome/browser/ui/views/frame/browser_frame.cc
@@ -229,6 +229,11 @@ void BrowserFrame::OnNativeWidgetWorkspaceChanged() {
Widget::OnNativeWidgetWorkspaceChanged();
}
+void BrowserFrame::OnNativeThemeUpdated(ui::NativeTheme* observed_theme) {
+ views::Widget::OnNativeThemeUpdated(observed_theme);
+ browser_view_->NativeThemeUpdated(observed_theme);
+}
+
void BrowserFrame::ShowContextMenuForView(views::View* source,
const gfx::Point& p,
ui::MenuSourceType source_type) {
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698