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

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: rebase master Inset handling logic Created 4 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 2e0b22694ee6b2432d15ae3574c0a0cd65a95a02..0fdb4fbc5f1e05259f3dbcd206c892231436c5fc 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -363,6 +363,8 @@ class ContentViewCoreImpl : public ContentViewCore,
// Returns the viewport size after accounting for the viewport offset.
gfx::Size GetViewSize() const;
+ gfx::Size GetViewSizeWithOSKHidden() const;
+
void SetAccessibilityEnabledInternal(bool enabled);
bool IsFullscreenRequiredForOrientationLock() const;

Powered by Google App Engine
This is Rietveld 408576698