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 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 virtual bool HasFocusManager() const OVERRIDE; | 652 virtual bool HasFocusManager() const OVERRIDE; |
653 virtual bool OnNativeWidgetPaintAccelerated( | 653 virtual bool OnNativeWidgetPaintAccelerated( |
654 const gfx::Rect& dirty_region) OVERRIDE; | 654 const gfx::Rect& dirty_region) OVERRIDE; |
655 virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE; | 655 virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE; |
656 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE; | 656 virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE; |
657 virtual bool OnKeyEvent(const ui::KeyEvent& event) OVERRIDE; | 657 virtual bool OnKeyEvent(const ui::KeyEvent& event) OVERRIDE; |
658 virtual bool OnMouseEvent(const ui::MouseEvent& event) OVERRIDE; | 658 virtual bool OnMouseEvent(const ui::MouseEvent& event) OVERRIDE; |
659 virtual void OnMouseCaptureLost() OVERRIDE; | 659 virtual void OnMouseCaptureLost() OVERRIDE; |
660 virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE; | 660 virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE; |
661 virtual ui::EventResult OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; | 661 virtual ui::EventResult OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; |
662 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; | 662 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; |
663 virtual bool ExecuteCommand(int command_id) OVERRIDE; | 663 virtual bool ExecuteCommand(int command_id) OVERRIDE; |
664 virtual InputMethod* GetInputMethodDirect() OVERRIDE; | 664 virtual InputMethod* GetInputMethodDirect() OVERRIDE; |
665 virtual const std::vector<ui::Layer*>& GetRootLayers() OVERRIDE; | 665 virtual const std::vector<ui::Layer*>& GetRootLayers() OVERRIDE; |
666 virtual bool HasHitTestMask() const OVERRIDE; | 666 virtual bool HasHitTestMask() const OVERRIDE; |
667 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; | 667 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE; |
668 virtual Widget* AsWidget() OVERRIDE; | 668 virtual Widget* AsWidget() OVERRIDE; |
669 virtual const Widget* AsWidget() const OVERRIDE; | 669 virtual const Widget* AsWidget() const OVERRIDE; |
670 | 670 |
671 // Overridden from FocusTraversable: | 671 // Overridden from FocusTraversable: |
672 virtual FocusSearch* GetFocusSearch() OVERRIDE; | 672 virtual FocusSearch* GetFocusSearch() OVERRIDE; |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
811 | 811 |
812 // Is |root_layers_| out of date? | 812 // Is |root_layers_| out of date? |
813 bool root_layers_dirty_; | 813 bool root_layers_dirty_; |
814 | 814 |
815 DISALLOW_COPY_AND_ASSIGN(Widget); | 815 DISALLOW_COPY_AND_ASSIGN(Widget); |
816 }; | 816 }; |
817 | 817 |
818 } // namespace views | 818 } // namespace views |
819 | 819 |
820 #endif // UI_VIEWS_WIDGET_WIDGET_H_ | 820 #endif // UI_VIEWS_WIDGET_WIDGET_H_ |
OLD | NEW |