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

Unified Diff: cc/output/renderer.h

Issue 23171014: Fix UpdateTilePriorities viewport in Android WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add tests Created 7 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
Index: cc/output/renderer.h
diff --git a/cc/output/renderer.h b/cc/output/renderer.h
index 9619852a9098d012805e9ecc7028ca1c0ed1953c..70171c83d1cceab70b317ec480f516ecf268a74e 100644
--- a/cc/output/renderer.h
+++ b/cc/output/renderer.h
@@ -18,10 +18,11 @@ class ScopedResource;
class CC_EXPORT RendererClient {
public:
- // Draw viewport in non-y-flipped window space. Note that while a draw is in
- // progress, this is guaranteed to be contained within the output surface
- // size.
+ // Draw viewport and clip in non-y-flipped window space. Note that while a
aelias_OOO_until_Jul13 2013/09/03 19:52:09 Switched this to say "These return the draw viewpo
+ // draw is in progress, these are guaranteed to be contained within the output
+ // surface size.
virtual gfx::Rect DeviceViewport() const = 0;
+ virtual gfx::Rect DeviceClip() const = 0;
virtual float DeviceScaleFactor() const = 0;
virtual const LayerTreeSettings& Settings() const = 0;

Powered by Google App Engine
This is Rietveld 408576698