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 <set> | 8 #include <set> |
9 #include <stack> | 9 #include <stack> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
15 #include "base/scoped_observer.h" | 15 #include "base/scoped_observer.h" |
16 #include "ui/aura/window_layer_type.h" | 16 #include "ui/aura/window_layer_type.h" |
17 #include "ui/base/ui_base_types.h" | 17 #include "ui/base/ui_base_types.h" |
18 #include "ui/events/event_source.h" | 18 #include "ui/events/event_source.h" |
| 19 #include "ui/gfx/geometry/rect.h" |
19 #include "ui/gfx/native_widget_types.h" | 20 #include "ui/gfx/native_widget_types.h" |
20 #include "ui/gfx/rect.h" | |
21 #include "ui/native_theme/native_theme_observer.h" | 21 #include "ui/native_theme/native_theme_observer.h" |
22 #include "ui/views/focus/focus_manager.h" | 22 #include "ui/views/focus/focus_manager.h" |
23 #include "ui/views/widget/native_widget_delegate.h" | 23 #include "ui/views/widget/native_widget_delegate.h" |
24 #include "ui/views/window/client_view.h" | 24 #include "ui/views/window/client_view.h" |
25 #include "ui/views/window/non_client_view.h" | 25 #include "ui/views/window/non_client_view.h" |
26 | 26 |
27 #if defined(OS_WIN) | 27 #if defined(OS_WIN) |
28 // Windows headers define macros for these function names which screw with us. | 28 // Windows headers define macros for these function names which screw with us. |
29 #if defined(IsMaximized) | 29 #if defined(IsMaximized) |
30 #undef IsMaximized | 30 #undef IsMaximized |
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
973 bool movement_disabled_; | 973 bool movement_disabled_; |
974 | 974 |
975 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; | 975 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; |
976 | 976 |
977 DISALLOW_COPY_AND_ASSIGN(Widget); | 977 DISALLOW_COPY_AND_ASSIGN(Widget); |
978 }; | 978 }; |
979 | 979 |
980 } // namespace views | 980 } // namespace views |
981 | 981 |
982 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 982 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
OLD | NEW |