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

Unified Diff: ui/compositor/layer_delegate.h

Issue 962833003: UI impl side painting default on (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rm unused layer unittest from compositor unittest Created 5 years, 10 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/compositor/layer_delegate.h
diff --git a/ui/compositor/layer_delegate.h b/ui/compositor/layer_delegate.h
index 9312e02af91308e02768b028c61ab2811592b1d0..b94931a2c99f2f37ca179d81cc64db1943c10316 100644
--- a/ui/compositor/layer_delegate.h
+++ b/ui/compositor/layer_delegate.h
@@ -19,7 +19,8 @@ namespace ui {
class COMPOSITOR_EXPORT LayerDelegate {
public:
// Paint content for the layer to the specified canvas. It has already been
- // clipped to the Layer's invalid rect.
+ // clipped to the Layer's invalid rect. In Impl-Side Painting, canvas's rect
enne (OOO) 2015/03/02 21:59:27 I think this comment change leaks implementation d
weiliangc 2015/03/02 22:37:22 Done.
+ // would be to closest tile size.
virtual void OnPaintLayer(gfx::Canvas* canvas) = 0;
// A notification that this layer has had a delegated frame swap and

Powered by Google App Engine
This is Rietveld 408576698