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

Side by Side Diff: ui/views/widget/widget.h

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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_WIDGET_WIDGET_H_ 5 #ifndef UI_VIEWS_WIDGET_WIDGET_H_
6 #define UI_VIEWS_WIDGET_WIDGET_H_ 6 #define UI_VIEWS_WIDGET_WIDGET_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 982
983 // Does |views_with_layers_| need updating? 983 // Does |views_with_layers_| need updating?
984 bool views_with_layers_dirty_; 984 bool views_with_layers_dirty_;
985 985
986 // True when window movement via mouse interaction with the frame should be 986 // True when window movement via mouse interaction with the frame should be
987 // disabled. 987 // disabled.
988 bool movement_disabled_; 988 bool movement_disabled_;
989 989
990 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; 990 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_;
991 991
992 // Guard to avoid reentrancy while processing a theme changed message.
993 bool processing_theme_changed_;
994
995 DISALLOW_COPY_AND_ASSIGN(Widget); 992 DISALLOW_COPY_AND_ASSIGN(Widget);
996 }; 993 };
997 994
998 } // namespace views 995 } // namespace views
999 996
1000 #endif // UI_VIEWS_WIDGET_WIDGET_H_ 997 #endif // UI_VIEWS_WIDGET_WIDGET_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698