Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Side by Side Diff: ui/views/widget/root_view.h

Issue 15922004: Rename Widget::CalculateOffsetToAncestorWithLayer() to Widget::GetLayer() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/views/widget/native_widget_win.cc ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; 101 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE;
102 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; 102 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
103 virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; 103 virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE;
104 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; 104 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE;
105 virtual void OnMouseCaptureLost() OVERRIDE; 105 virtual void OnMouseCaptureLost() OVERRIDE;
106 virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; 106 virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE;
107 virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; 107 virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE;
108 virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE; 108 virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE;
109 virtual void SetMouseHandler(View* new_mouse_handler) OVERRIDE; 109 virtual void SetMouseHandler(View* new_mouse_handler) OVERRIDE;
110 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; 110 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
111 virtual void ReorderChildLayers(ui::Layer* parent_layer) OVERRIDE; 111 virtual void UpdateParentLayer() OVERRIDE;
112 112
113 protected: 113 protected:
114 // Overridden from View: 114 // Overridden from View:
115 virtual void ViewHierarchyChanged( 115 virtual void ViewHierarchyChanged(
116 const ViewHierarchyChangedDetails& details) OVERRIDE; 116 const ViewHierarchyChangedDetails& details) OVERRIDE;
117 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 117 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
118 virtual gfx::Vector2d CalculateOffsetToAncestorWithLayer( 118 virtual gfx::Vector2d CalculateOffsetToAncestorWithLayer(
119 ui::Layer** layer_parent) OVERRIDE; 119 ui::Layer** layer_parent) OVERRIDE;
120 virtual View::DragInfo* GetDragInfo() OVERRIDE; 120 virtual View::DragInfo* GetDragInfo() OVERRIDE;
121 121
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // Tracks drag state for a view. 211 // Tracks drag state for a view.
212 View::DragInfo drag_info_; 212 View::DragInfo drag_info_;
213 213
214 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); 214 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView);
215 }; 215 };
216 216
217 } // namespace internal 217 } // namespace internal
218 } // namespace views 218 } // namespace views
219 219
220 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_ 220 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_win.cc ('k') | ui/views/widget/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698