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 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 virtual gfx::Size GetMaximumSize() OVERRIDE; | 660 virtual gfx::Size GetMaximumSize() OVERRIDE; |
661 virtual void OnNativeWidgetMove() OVERRIDE; | 661 virtual void OnNativeWidgetMove() OVERRIDE; |
662 virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) OVERRIDE; | 662 virtual void OnNativeWidgetSizeChanged(const gfx::Size& new_size) OVERRIDE; |
663 virtual void OnNativeWidgetBeginUserBoundsChange() OVERRIDE; | 663 virtual void OnNativeWidgetBeginUserBoundsChange() OVERRIDE; |
664 virtual void OnNativeWidgetEndUserBoundsChange() OVERRIDE; | 664 virtual void OnNativeWidgetEndUserBoundsChange() OVERRIDE; |
665 virtual bool HasFocusManager() const OVERRIDE; | 665 virtual bool HasFocusManager() const OVERRIDE; |
666 virtual bool OnNativeWidgetPaintAccelerated( | 666 virtual bool OnNativeWidgetPaintAccelerated( |
667 const gfx::Rect& dirty_region) OVERRIDE; | 667 const gfx::Rect& dirty_region) OVERRIDE; |
668 virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE; | 668 virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE; |
669 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE; | 669 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE; |
670 virtual bool OnKeyEvent(const ui::KeyEvent& event) OVERRIDE; | 670 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; |
671 virtual bool OnMouseEvent(const ui::MouseEvent& event) OVERRIDE; | 671 virtual bool OnMouseEvent(const ui::MouseEvent& event) OVERRIDE; |
672 virtual void OnMouseCaptureLost() OVERRIDE; | 672 virtual void OnMouseCaptureLost() OVERRIDE; |
673 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; | 673 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; |
674 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; | 674 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; |
675 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; | 675 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; |
676 virtual bool ExecuteCommand(int command_id) OVERRIDE; | 676 virtual bool ExecuteCommand(int command_id) OVERRIDE; |
677 virtual InputMethod* GetInputMethodDirect() OVERRIDE; | 677 virtual InputMethod* GetInputMethodDirect() OVERRIDE; |
678 virtual const std::vector<ui::Layer*>& GetRootLayers() OVERRIDE; | 678 virtual const std::vector<ui::Layer*>& GetRootLayers() OVERRIDE; |
679 virtual bool HasHitTestMask() const OVERRIDE; | 679 virtual bool HasHitTestMask() const OVERRIDE; |
680 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; | 680 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
824 | 824 |
825 // Is |root_layers_| out of date? | 825 // Is |root_layers_| out of date? |
826 bool root_layers_dirty_; | 826 bool root_layers_dirty_; |
827 | 827 |
828 DISALLOW_COPY_AND_ASSIGN(Widget); | 828 DISALLOW_COPY_AND_ASSIGN(Widget); |
829 }; | 829 }; |
830 | 830 |
831 } // namespace views | 831 } // namespace views |
832 | 832 |
833 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 833 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
OLD | NEW |