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

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

Issue 8222028: Use WebKit compositor in ui::Layer (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: rebase,fixes 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
Index: ui/gfx/compositor/compositor.h
diff --git a/ui/gfx/compositor/compositor.h b/ui/gfx/compositor/compositor.h
index 1251b6a42108ed2a00474e3e958b400244aedbe0..45e539ace0450eaa3376d99e29b6c46d4e8b2eec 100644
--- a/ui/gfx/compositor/compositor.h
+++ b/ui/gfx/compositor/compositor.h
@@ -107,7 +107,7 @@ class COMPOSITOR_EXPORT Compositor : public base::RefCounted<Compositor> {
virtual void Blur(const gfx::Rect& bounds) = 0;
// Schedules a redraw of the layer tree associated with this compositor.
- void ScheduleDraw() {
+ virtual void ScheduleDraw() {
Ben Goodger (Google) 2011/10/16 22:39:51 this probably shouldn't be inlined anymore
piman 2011/10/19 17:53:23 Done.
delegate_->ScheduleDraw();
}
@@ -150,6 +150,8 @@ class COMPOSITOR_EXPORT Compositor : public base::RefCounted<Compositor> {
virtual void OnNotifyEnd() = 0;
virtual void OnWidgetSizeChanged() = 0;
+ virtual void OnRootLayerChanged();
+ virtual void DrawTree();
CompositorDelegate* delegate() { return delegate_; }

Powered by Google App Engine
This is Rietveld 408576698