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

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

Issue 1386403003: Resize only the virtual viewport when the OSK triggers a resize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 a953427f35b6e00fadd46aa9acd6ae41dfdf8e2e..98de91d82c0e7fb5d9d89a1e9a27b0063bd9d910 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -289,6 +289,8 @@ class ContentViewCoreImpl : public ContentViewCore,
// Returns the viewport size after accounting for the viewport offset.
gfx::Size GetViewSize() const;
+ gfx::Size GetViewSizeWithoutOSK() const;
+
void SetAccessibilityEnabledInternal(bool enabled);
bool IsFullscreenRequiredForOrientationLock() const;

Powered by Google App Engine
This is Rietveld 408576698