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

Unified Diff: ui/base/android/window_android.h

Issue 340603002: android: Fix snapshot height by including toolbar offset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: set pixel test expect to fail Created 6 years, 6 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 | « content/test/gpu/page_sets/pixel_tests.py ('k') | ui/snapshot/snapshot_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/android/window_android.h
diff --git a/ui/base/android/window_android.h b/ui/base/android/window_android.h
index 0de689c63dcee4ce4a503c9732533bd95531ac92..cd8ae3408c85f2677e2f8472a7357c4e0f9d3012 100644
--- a/ui/base/android/window_android.h
+++ b/ui/base/android/window_android.h
@@ -36,6 +36,10 @@ class UI_BASE_EXPORT WindowAndroid {
content_offset_ = content_offset;
}
+ gfx::Vector2dF content_offset() const {
+ return content_offset_;
+ }
+
// Compositor callback relay.
void OnCompositingDidCommit();
« no previous file with comments | « content/test/gpu/page_sets/pixel_tests.py ('k') | ui/snapshot/snapshot_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698