| 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 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 void LocaleChanged(); | 92 void LocaleChanged(); |
| 93 | 93 |
| 94 // Overridden from FocusTraversable: | 94 // Overridden from FocusTraversable: |
| 95 virtual FocusSearch* GetFocusSearch() OVERRIDE; | 95 virtual FocusSearch* GetFocusSearch() OVERRIDE; |
| 96 virtual FocusTraversable* GetFocusTraversableParent() OVERRIDE; | 96 virtual FocusTraversable* GetFocusTraversableParent() OVERRIDE; |
| 97 virtual View* GetFocusTraversableParentView() OVERRIDE; | 97 virtual View* GetFocusTraversableParentView() 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 IsVisibleInRootView() const OVERRIDE; | 102 virtual bool IsDrawn() const OVERRIDE; |
| 103 virtual std::string GetClassName() const OVERRIDE; | 103 virtual std::string GetClassName() const OVERRIDE; |
| 104 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; | 104 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; |
| 105 virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE; | 105 virtual bool OnMousePressed(const MouseEvent& event) OVERRIDE; |
| 106 virtual bool OnMouseDragged(const MouseEvent& event) OVERRIDE; | 106 virtual bool OnMouseDragged(const MouseEvent& event) OVERRIDE; |
| 107 virtual void OnMouseReleased(const MouseEvent& event) OVERRIDE; | 107 virtual void OnMouseReleased(const MouseEvent& event) OVERRIDE; |
| 108 virtual void OnMouseCaptureLost() OVERRIDE; | 108 virtual void OnMouseCaptureLost() OVERRIDE; |
| 109 virtual void OnMouseMoved(const MouseEvent& event) OVERRIDE; | 109 virtual void OnMouseMoved(const MouseEvent& event) OVERRIDE; |
| 110 virtual void OnMouseExited(const MouseEvent& event) OVERRIDE; | 110 virtual void OnMouseExited(const MouseEvent& event) OVERRIDE; |
| 111 virtual bool OnMouseWheel(const MouseWheelEvent& event) OVERRIDE; | 111 virtual bool OnMouseWheel(const MouseWheelEvent& event) OVERRIDE; |
| 112 virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event) OVERRIDE; | 112 virtual ui::TouchStatus OnTouchEvent(const TouchEvent& event) OVERRIDE; |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 // Tracks drag state for a view. | 198 // Tracks drag state for a view. |
| 199 View::DragInfo drag_info; | 199 View::DragInfo drag_info; |
| 200 | 200 |
| 201 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); | 201 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); |
| 202 }; | 202 }; |
| 203 | 203 |
| 204 } // namespace internal | 204 } // namespace internal |
| 205 } // namespace views | 205 } // namespace views |
| 206 | 206 |
| 207 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_ | 207 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_ |
| OLD | NEW |