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

Unified Diff: cc/test/pixel_test_output_surface.h

Issue 23171014: Fix UpdateTilePriorities viewport in Android WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to 221292 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
« no previous file with comments | « cc/test/pixel_test.cc ('k') | cc/test/pixel_test_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/pixel_test_output_surface.h
diff --git a/cc/test/pixel_test_output_surface.h b/cc/test/pixel_test_output_surface.h
index e9052fe7651469981a1a4ea86b3208712d416933..bb6fdfc39bfab5d2b47ccf916f7bfb5de7aac92d 100644
--- a/cc/test/pixel_test_output_surface.h
+++ b/cc/test/pixel_test_output_surface.h
@@ -26,10 +26,14 @@ class PixelTestOutputSurface : public OutputSurface {
void set_viewport_offset(gfx::Vector2d viewport_offset) {
viewport_offset_ = viewport_offset;
}
+ void set_device_clip(gfx::Rect device_clip) {
+ device_clip_ = device_clip;
+ }
private:
gfx::Size surface_expansion_size_;
gfx::Vector2d viewport_offset_;
+ gfx::Rect device_clip_;
};
} // namespace cc
« no previous file with comments | « cc/test/pixel_test.cc ('k') | cc/test/pixel_test_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698