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

Unified Diff: aura/window.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « aura/desktop.cc ('k') | aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: aura/window.h
===================================================================
--- aura/window.h (revision 100773)
+++ aura/window.h (working copy)
@@ -87,9 +87,6 @@
// TODO(beng): this is (obviously) feeble.
void MoveChildToFront(Window* child);
- // Draw the window and its children.
- void DrawTree();
-
// Tree operations.
// TODO(beng): Child windows are currently not owned by the hierarchy. We
// should change this.
@@ -133,14 +130,11 @@
// If SchedulePaint has been invoked on the Window the delegate is notified.
void UpdateLayerCanvas();
- // Draws the Window's contents.
- void Draw();
-
// Schedules a paint for the Window's entire bounds.
void SchedulePaint();
// Overridden from ui::LayerDelegate:
- virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
+ virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE;
WindowDelegate* delegate_;
« no previous file with comments | « aura/desktop.cc ('k') | aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698