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