| OLD | NEW |
| 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 961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 972 | 972 |
| 973 // Is |root_layers_| out of date? | 973 // Is |root_layers_| out of date? |
| 974 bool root_layers_dirty_; | 974 bool root_layers_dirty_; |
| 975 | 975 |
| 976 // True when window movement via mouse interaction with the frame should be | 976 // True when window movement via mouse interaction with the frame should be |
| 977 // disabled. | 977 // disabled. |
| 978 bool movement_disabled_; | 978 bool movement_disabled_; |
| 979 | 979 |
| 980 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; | 980 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; |
| 981 | 981 |
| 982 // Guard to avoid reentrancy while processing a theme changed message. | |
| 983 bool processing_theme_changed_; | |
| 984 | |
| 985 DISALLOW_COPY_AND_ASSIGN(Widget); | 982 DISALLOW_COPY_AND_ASSIGN(Widget); |
| 986 }; | 983 }; |
| 987 | 984 |
| 988 } // namespace views | 985 } // namespace views |
| 989 | 986 |
| 990 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 987 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
| OLD | NEW |