| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <stack> | 10 #include <stack> |
| 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 "ui/base/accessibility/accessibility_types.h" | 15 #include "ui/base/accessibility/accessibility_types.h" |
| 16 #include "ui/base/ui_base_types.h" | 16 #include "ui/base/ui_base_types.h" |
| 17 #include "ui/gfx/compositor/layer_type.h" | 17 #include "ui/compositor/layer_type.h" |
| 18 #include "ui/gfx/native_widget_types.h" | 18 #include "ui/gfx/native_widget_types.h" |
| 19 #include "ui/gfx/rect.h" | 19 #include "ui/gfx/rect.h" |
| 20 #include "ui/views/focus/focus_manager.h" | 20 #include "ui/views/focus/focus_manager.h" |
| 21 #include "ui/views/widget/native_widget_delegate.h" | 21 #include "ui/views/widget/native_widget_delegate.h" |
| 22 #include "ui/views/window/client_view.h" | 22 #include "ui/views/window/client_view.h" |
| 23 #include "ui/views/window/non_client_view.h" | 23 #include "ui/views/window/non_client_view.h" |
| 24 | 24 |
| 25 #if defined(OS_WIN) | 25 #if defined(OS_WIN) |
| 26 // Windows headers define macros for these function names which screw with us. | 26 // Windows headers define macros for these function names which screw with us. |
| 27 #if defined(IsMaximized) | 27 #if defined(IsMaximized) |
| (...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 779 // duplicate move events even though the mouse hasn't moved. | 779 // duplicate move events even though the mouse hasn't moved. |
| 780 bool last_mouse_event_was_move_; | 780 bool last_mouse_event_was_move_; |
| 781 gfx::Point last_mouse_event_position_; | 781 gfx::Point last_mouse_event_position_; |
| 782 | 782 |
| 783 DISALLOW_COPY_AND_ASSIGN(Widget); | 783 DISALLOW_COPY_AND_ASSIGN(Widget); |
| 784 }; | 784 }; |
| 785 | 785 |
| 786 } // namespace views | 786 } // namespace views |
| 787 | 787 |
| 788 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 788 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
| OLD | NEW |