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

Unified Diff: ui/gfx/compositor/compositor.h

Issue 8360018: Revert 106606 - Use WebKit compositor in ui::Layer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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 | « ui/gfx/compositor/DEPS ('k') | ui/gfx/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/compositor.h
===================================================================
--- ui/gfx/compositor/compositor.h (revision 106614)
+++ ui/gfx/compositor/compositor.h (working copy)
@@ -107,7 +107,9 @@
virtual void Blur(const gfx::Rect& bounds) = 0;
// Schedules a redraw of the layer tree associated with this compositor.
- virtual void ScheduleDraw();
+ void ScheduleDraw() {
+ delegate_->ScheduleDraw();
+ }
// Sets the root of the layer tree drawn by this Compositor.
// The Compositor does not own the root layer.
@@ -148,8 +150,6 @@
virtual void OnNotifyEnd() = 0;
virtual void OnWidgetSizeChanged() = 0;
- virtual void OnRootLayerChanged();
- virtual void DrawTree();
CompositorDelegate* delegate() { return delegate_; }
« no previous file with comments | « ui/gfx/compositor/DEPS ('k') | ui/gfx/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698