Index: Source/core/page/ChromeClient.h |
diff --git a/Source/core/page/ChromeClient.h b/Source/core/page/ChromeClient.h |
index 0199fb8241d6a04380d59114571b0d4209be94fb..fc00ecc2e8990fc1825300b856f71fd66c59e843 100644 |
--- a/Source/core/page/ChromeClient.h |
+++ b/Source/core/page/ChromeClient.h |
@@ -229,6 +229,13 @@ public: |
virtual void didUpdateTextOfFocusedElementByNonUserInput() { } |
virtual void showImeIfNeeded() { } |
+ // Exposes WebViewImpl::shouldDisableDesktopWorkarounds() to blink core |
+ virtual bool shouldDisableDesktopWorkarounds() |
+ { |
+ // assuming document is considered optimized for mobile devices, but this is implemented in WebViewImpl |
+ return true; |
+ } |
+ |
protected: |
virtual ~ChromeClient() { } |
}; |