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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 11958004: Make new-style page scale work on Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Delete maxScrollOffsetChangedByDeviceScaleFactor test Created 7 years, 11 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: content/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 232fa444d4cb4523c5afd78b02cb920d31837fe4..d23427004ed122c7d8f92c9cbe76614a9fc49fc5 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -249,7 +249,8 @@ class ContentViewCoreImpl : public ContentViewCore,
// Methods called from native code
// --------------------------------------------------------------------------
- gfx::Rect GetBounds() const;
+ gfx::Size GetPhysicalSize() const;
+ gfx::Size GetDIPSize() const;
void AttachLayer(scoped_refptr<cc::Layer> layer);
void RemoveLayer(scoped_refptr<cc::Layer> layer);

Powered by Google App Engine
This is Rietveld 408576698