| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; | 115 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
| 116 | 116 |
| 117 protected: | 117 protected: |
| 118 // Overridden from View: | 118 // Overridden from View: |
| 119 virtual void ViewHierarchyChanged(bool is_add, View* parent, | 119 virtual void ViewHierarchyChanged(bool is_add, View* parent, |
| 120 View* child) OVERRIDE; | 120 View* child) OVERRIDE; |
| 121 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; | 121 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
| 122 virtual const ui::Compositor* GetCompositor() const OVERRIDE; | 122 virtual const ui::Compositor* GetCompositor() const OVERRIDE; |
| 123 virtual ui::Compositor* GetCompositor() OVERRIDE; | 123 virtual ui::Compositor* GetCompositor() OVERRIDE; |
| 124 virtual void MarkLayerDirty() OVERRIDE; | 124 virtual void MarkLayerDirty() OVERRIDE; |
| 125 virtual void CalculateOffsetToAncestorWithLayer(gfx::Point* offset, | 125 virtual void CalculateOffsetToAncestorWithLayer( |
| 126 View** ancestor) OVERRIDE; | 126 gfx::Point* offset, |
| 127 ui::Layer** layer_parent) OVERRIDE; |
| 127 | 128 |
| 128 private: | 129 private: |
| 129 friend class View; | 130 friend class View; |
| 130 friend class Widget; | 131 friend class Widget; |
| 131 | 132 |
| 132 // Required so the GestureManager can call the Process* entry points | 133 // Required so the GestureManager can call the Process* entry points |
| 133 // with synthetic events as necessary. | 134 // with synthetic events as necessary. |
| 134 friend class GestureManager; | 135 friend class GestureManager; |
| 135 | 136 |
| 136 // Input --------------------------------------------------------------------- | 137 // Input --------------------------------------------------------------------- |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 // Tracks drag state for a view. | 202 // Tracks drag state for a view. |
| 202 View::DragInfo drag_info; | 203 View::DragInfo drag_info; |
| 203 | 204 |
| 204 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); | 205 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); |
| 205 }; | 206 }; |
| 206 | 207 |
| 207 } // namespace internal | 208 } // namespace internal |
| 208 } // namespace views | 209 } // namespace views |
| 209 | 210 |
| 210 #endif // VIEWS_WIDGET_ROOT_VIEW_H_ | 211 #endif // VIEWS_WIDGET_ROOT_VIEW_H_ |
| OLD | NEW |