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_ROOT_VIEW_H_ | 5 #ifndef UI_VIEWS_WIDGET_ROOT_VIEW_H_ |
6 #define UI_VIEWS_WIDGET_ROOT_VIEW_H_ | 6 #define UI_VIEWS_WIDGET_ROOT_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 // hierarchy. | 86 // hierarchy. |
87 void LocaleChanged(); | 87 void LocaleChanged(); |
88 | 88 |
89 // Overridden from FocusTraversable: | 89 // Overridden from FocusTraversable: |
90 virtual FocusSearch* GetFocusSearch() OVERRIDE; | 90 virtual FocusSearch* GetFocusSearch() OVERRIDE; |
91 virtual FocusTraversable* GetFocusTraversableParent() OVERRIDE; | 91 virtual FocusTraversable* GetFocusTraversableParent() OVERRIDE; |
92 virtual View* GetFocusTraversableParentView() OVERRIDE; | 92 virtual View* GetFocusTraversableParentView() OVERRIDE; |
93 | 93 |
94 // Overridden from ui::EventProcessor: | 94 // Overridden from ui::EventProcessor: |
95 virtual ui::EventTarget* GetRootTarget() OVERRIDE; | 95 virtual ui::EventTarget* GetRootTarget() OVERRIDE; |
96 virtual ui::EventDispatchDetails OnEventFromSource(ui::Event* event) OVERRIDE; | 96 virtual bool OnEventProcessingStarted(ui::Event* event) OVERRIDE; |
97 virtual void OnEventProcessingFinished(ui::Event* event) OVERRIDE; | 97 virtual void OnEventProcessingFinished(ui::Event* event) OVERRIDE; |
98 | 98 |
99 // Overridden from View: | 99 // Overridden from View: |
100 virtual const Widget* GetWidget() const OVERRIDE; | 100 virtual const Widget* GetWidget() const OVERRIDE; |
101 virtual Widget* GetWidget() OVERRIDE; | 101 virtual Widget* GetWidget() OVERRIDE; |
102 virtual bool IsDrawn() const OVERRIDE; | 102 virtual bool IsDrawn() const OVERRIDE; |
103 virtual void Layout() OVERRIDE; | 103 virtual void Layout() OVERRIDE; |
104 virtual const char* GetClassName() const OVERRIDE; | 104 virtual const char* GetClassName() const OVERRIDE; |
105 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; | 105 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; |
106 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; | 106 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 // Tracks drag state for a view. | 227 // Tracks drag state for a view. |
228 View::DragInfo drag_info_; | 228 View::DragInfo drag_info_; |
229 | 229 |
230 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); | 230 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); |
231 }; | 231 }; |
232 | 232 |
233 } // namespace internal | 233 } // namespace internal |
234 } // namespace views | 234 } // namespace views |
235 | 235 |
236 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_ | 236 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_ |
OLD | NEW |