| 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> |
| (...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 void OnNativeWidgetDestroying() override; | 787 void OnNativeWidgetDestroying() override; |
| 788 void OnNativeWidgetDestroyed() override; | 788 void OnNativeWidgetDestroyed() override; |
| 789 gfx::Size GetMinimumSize() const override; | 789 gfx::Size GetMinimumSize() const override; |
| 790 gfx::Size GetMaximumSize() const override; | 790 gfx::Size GetMaximumSize() const override; |
| 791 void OnNativeWidgetMove() override; | 791 void OnNativeWidgetMove() override; |
| 792 void OnNativeWidgetSizeChanged(const gfx::Size& new_size) override; | 792 void OnNativeWidgetSizeChanged(const gfx::Size& new_size) override; |
| 793 void OnNativeWidgetWindowShowStateChanged() override; | 793 void OnNativeWidgetWindowShowStateChanged() override; |
| 794 void OnNativeWidgetBeginUserBoundsChange() override; | 794 void OnNativeWidgetBeginUserBoundsChange() override; |
| 795 void OnNativeWidgetEndUserBoundsChange() override; | 795 void OnNativeWidgetEndUserBoundsChange() override; |
| 796 bool HasFocusManager() const override; | 796 bool HasFocusManager() const override; |
| 797 bool OnNativeWidgetPaintAccelerated(const gfx::Rect& dirty_region) override; | |
| 798 void OnNativeWidgetPaint(const ui::PaintContext& context) override; | 797 void OnNativeWidgetPaint(const ui::PaintContext& context) override; |
| 799 int GetNonClientComponent(const gfx::Point& point) override; | 798 int GetNonClientComponent(const gfx::Point& point) override; |
| 800 void OnKeyEvent(ui::KeyEvent* event) override; | 799 void OnKeyEvent(ui::KeyEvent* event) override; |
| 801 void OnMouseEvent(ui::MouseEvent* event) override; | 800 void OnMouseEvent(ui::MouseEvent* event) override; |
| 802 void OnMouseCaptureLost() override; | 801 void OnMouseCaptureLost() override; |
| 803 void OnScrollEvent(ui::ScrollEvent* event) override; | 802 void OnScrollEvent(ui::ScrollEvent* event) override; |
| 804 void OnGestureEvent(ui::GestureEvent* event) override; | 803 void OnGestureEvent(ui::GestureEvent* event) override; |
| 805 bool ExecuteCommand(int command_id) override; | 804 bool ExecuteCommand(int command_id) override; |
| 806 InputMethod* GetInputMethodDirect() override; | 805 InputMethod* GetInputMethodDirect() override; |
| 807 const std::vector<ui::Layer*>& GetRootLayers() override; | 806 const std::vector<ui::Layer*>& GetRootLayers() override; |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 979 bool movement_disabled_; | 978 bool movement_disabled_; |
| 980 | 979 |
| 981 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; | 980 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; |
| 982 | 981 |
| 983 DISALLOW_COPY_AND_ASSIGN(Widget); | 982 DISALLOW_COPY_AND_ASSIGN(Widget); |
| 984 }; | 983 }; |
| 985 | 984 |
| 986 } // namespace views | 985 } // namespace views |
| 987 | 986 |
| 988 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 987 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
| OLD | NEW |