OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_WIDGET_ROOT_VIEW_H_ | 5 #ifndef VIEWS_WIDGET_ROOT_VIEW_H_ |
6 #define VIEWS_WIDGET_ROOT_VIEW_H_ | 6 #define VIEWS_WIDGET_ROOT_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 // Overridden from FocusTraversable: | 99 // Overridden from FocusTraversable: |
100 virtual FocusSearch* GetFocusSearch() OVERRIDE; | 100 virtual FocusSearch* GetFocusSearch() OVERRIDE; |
101 virtual FocusTraversable* GetFocusTraversableParent() OVERRIDE; | 101 virtual FocusTraversable* GetFocusTraversableParent() OVERRIDE; |
102 virtual View* GetFocusTraversableParentView() OVERRIDE; | 102 virtual View* GetFocusTraversableParentView() OVERRIDE; |
103 | 103 |
104 // Overridden from View: | 104 // Overridden from View: |
105 virtual const Widget* GetWidget() const OVERRIDE; | 105 virtual const Widget* GetWidget() const OVERRIDE; |
106 virtual Widget* GetWidget() OVERRIDE; | 106 virtual Widget* GetWidget() OVERRIDE; |
107 virtual bool IsVisibleInRootView() const OVERRIDE; | 107 virtual bool IsVisibleInRootView() const OVERRIDE; |
108 virtual std::string GetClassName() const OVERRIDE; | 108 virtual std::string GetClassName() const OVERRIDE; |
| 109 virtual void ScheduleComposite() OVERRIDE; |
109 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; | 110 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; |
110 virtual void SchedulePaintInternal(const gfx::Rect& rect) OVERRIDE; | 111 virtual void SchedulePaintInternal(const gfx::Rect& rect) OVERRIDE; |
111 virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE; | 112 virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE; |
112 virtual bool OnMouseDragged(const MouseEvent& event) OVERRIDE; | 113 virtual bool OnMouseDragged(const MouseEvent& event) OVERRIDE; |
113 virtual void OnMouseReleased(const MouseEvent& event) OVERRIDE; | 114 virtual void OnMouseReleased(const MouseEvent& event) OVERRIDE; |
114 virtual void OnMouseCaptureLost() OVERRIDE; | 115 virtual void OnMouseCaptureLost() OVERRIDE; |
115 virtual void OnMouseMoved(const MouseEvent& event) OVERRIDE; | 116 virtual void OnMouseMoved(const MouseEvent& event) OVERRIDE; |
116 virtual void OnMouseExited(const MouseEvent& event) OVERRIDE; | 117 virtual void OnMouseExited(const MouseEvent& event) OVERRIDE; |
117 virtual bool OnMouseWheel(const MouseWheelEvent& event) OVERRIDE; | 118 virtual bool OnMouseWheel(const MouseWheelEvent& event) OVERRIDE; |
118 virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event) OVERRIDE; | 119 virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event) OVERRIDE; |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 // Tracks drag state for a view. | 210 // Tracks drag state for a view. |
210 View::DragInfo drag_info; | 211 View::DragInfo drag_info; |
211 | 212 |
212 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); | 213 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); |
213 }; | 214 }; |
214 | 215 |
215 } // namespace internal | 216 } // namespace internal |
216 } // namespace views | 217 } // namespace views |
217 | 218 |
218 #endif // VIEWS_WIDGET_ROOT_VIEW_H_ | 219 #endif // VIEWS_WIDGET_ROOT_VIEW_H_ |
OLD | NEW |