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

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

Issue 7845033: Rework View Layer Draw() to use the Layer::DrawTree() method and the LayerDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698