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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java

Issue 11228010: Do not wait for the double tap timeout on pages with fixed page scale (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added new method to mock child classes in test file Created 8 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
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
index 040baab5e84f6ec863dd8555b006dddc72fe21d5..ff037b015b5697c40f035534dde2a523a3f07647 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
@@ -971,6 +971,11 @@ public class ContentViewCore implements MotionEventDelegate {
x, y, computeHorizontalScrollOffset(), computeVerticalScrollOffset());
}
+ @Override
+ public boolean hasFixedPageScale() {
+ return mNativeMinimumScale == mNativeMaximumScale;
+ }
+
private void hidePopupDialog() {
SelectPopupDialog.hide(this);
}
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698