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 OnNativeWidgetBeginUserBoundsChange() override; | 788 void OnNativeWidgetBeginUserBoundsChange() override; |
789 void OnNativeWidgetEndUserBoundsChange() override; | 789 void OnNativeWidgetEndUserBoundsChange() override; |
790 bool HasFocusManager() const override; | 790 bool HasFocusManager() const override; |
791 void OnNativeWidgetPaint(const ui::PaintContext& context) override; | 791 void OnNativeWidgetPaint(const ui::PaintContext& context) override; |
792 int GetNonClientComponent(const gfx::Point& point) override; | 792 int GetNonClientComponent(const gfx::Point& point) override; |
793 void OnKeyEvent(ui::KeyEvent* event) override; | 793 void OnKeyEvent(ui::KeyEvent* event) override; |
794 void OnMouseEvent(ui::MouseEvent* event) override; | 794 void OnMouseEvent(ui::MouseEvent* event) override; |
795 void OnMouseCaptureLost() override; | 795 void OnMouseCaptureLost() override; |
796 void OnScrollEvent(ui::ScrollEvent* event) override; | 796 void OnScrollEvent(ui::ScrollEvent* event) override; |
797 void OnGestureEvent(ui::GestureEvent* event) override; | 797 void OnGestureEvent(ui::GestureEvent* event) override; |
| 798 void OnAccessibilityMouseEvent(ui::MouseEvent* event) override; |
798 bool ExecuteCommand(int command_id) override; | 799 bool ExecuteCommand(int command_id) override; |
799 const std::vector<ui::Layer*>& GetRootLayers() override; | 800 const std::vector<ui::Layer*>& GetRootLayers() override; |
800 bool HasHitTestMask() const override; | 801 bool HasHitTestMask() const override; |
801 void GetHitTestMask(gfx::Path* mask) const override; | 802 void GetHitTestMask(gfx::Path* mask) const override; |
802 Widget* AsWidget() override; | 803 Widget* AsWidget() override; |
803 const Widget* AsWidget() const override; | 804 const Widget* AsWidget() const override; |
804 bool SetInitialFocus(ui::WindowShowState show_state) override; | 805 bool SetInitialFocus(ui::WindowShowState show_state) override; |
805 | 806 |
806 // Overridden from ui::EventSource: | 807 // Overridden from ui::EventSource: |
807 ui::EventProcessor* GetEventProcessor() override; | 808 ui::EventProcessor* GetEventProcessor() override; |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
965 bool movement_disabled_; | 966 bool movement_disabled_; |
966 | 967 |
967 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; | 968 ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver> observer_manager_; |
968 | 969 |
969 DISALLOW_COPY_AND_ASSIGN(Widget); | 970 DISALLOW_COPY_AND_ASSIGN(Widget); |
970 }; | 971 }; |
971 | 972 |
972 } // namespace views | 973 } // namespace views |
973 | 974 |
974 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 975 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
OLD | NEW |