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