| 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/macros.h" | 10 #include "base/macros.h" |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 98 |
| 99 // Overridden from ui::EventProcessor: | 99 // Overridden from ui::EventProcessor: |
| 100 ui::EventTarget* GetRootTarget() override; | 100 ui::EventTarget* GetRootTarget() override; |
| 101 void OnEventProcessingStarted(ui::Event* event) override; | 101 void OnEventProcessingStarted(ui::Event* event) override; |
| 102 void OnEventProcessingFinished(ui::Event* event) override; | 102 void OnEventProcessingFinished(ui::Event* event) override; |
| 103 | 103 |
| 104 // Overridden from View: | 104 // Overridden from View: |
| 105 const Widget* GetWidget() const override; | 105 const Widget* GetWidget() const override; |
| 106 Widget* GetWidget() override; | 106 Widget* GetWidget() override; |
| 107 bool IsDrawn() const override; | 107 bool IsDrawn() const override; |
| 108 void Layout() override; | |
| 109 const char* GetClassName() const override; | 108 const char* GetClassName() const override; |
| 110 void SchedulePaintInRect(const gfx::Rect& rect) override; | 109 void SchedulePaintInRect(const gfx::Rect& rect) override; |
| 111 bool OnMousePressed(const ui::MouseEvent& event) override; | 110 bool OnMousePressed(const ui::MouseEvent& event) override; |
| 112 bool OnMouseDragged(const ui::MouseEvent& event) override; | 111 bool OnMouseDragged(const ui::MouseEvent& event) override; |
| 113 void OnMouseReleased(const ui::MouseEvent& event) override; | 112 void OnMouseReleased(const ui::MouseEvent& event) override; |
| 114 void OnMouseCaptureLost() override; | 113 void OnMouseCaptureLost() override; |
| 115 void OnMouseMoved(const ui::MouseEvent& event) override; | 114 void OnMouseMoved(const ui::MouseEvent& event) override; |
| 116 void OnMouseExited(const ui::MouseEvent& event) override; | 115 void OnMouseExited(const ui::MouseEvent& event) override; |
| 117 bool OnMouseWheel(const ui::MouseWheelEvent& event) override; | 116 bool OnMouseWheel(const ui::MouseWheelEvent& event) override; |
| 118 void SetMouseHandler(View* new_mouse_handler) override; | 117 void SetMouseHandler(View* new_mouse_handler) override; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 // Tracks drag state for a view. | 232 // Tracks drag state for a view. |
| 234 View::DragInfo drag_info_; | 233 View::DragInfo drag_info_; |
| 235 | 234 |
| 236 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); | 235 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); |
| 237 }; | 236 }; |
| 238 | 237 |
| 239 } // namespace internal | 238 } // namespace internal |
| 240 } // namespace views | 239 } // namespace views |
| 241 | 240 |
| 242 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_ | 241 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_ |
| OLD | NEW |