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

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

Issue 62333025: [Android] Move CommandLine.java to base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split CommandLineTest Created 7 years, 1 month 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/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java
index c0f6c72a3749243a596f87f2ff88a9f2d6e3f0cb..54d7e05f78c3ad8ffbfb32dd1da1acf177774143 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java
@@ -13,12 +13,13 @@ import android.view.InputDevice;
import android.view.MotionEvent;
import android.view.ViewConfiguration;
+import org.chromium.base.CommandLine;
import org.chromium.content.browser.third_party.GestureDetector;
import org.chromium.content.browser.third_party.GestureDetector.OnDoubleTapListener;
import org.chromium.content.browser.third_party.GestureDetector.OnGestureListener;
import org.chromium.content.browser.LongPressDetector.LongPressDelegate;
import org.chromium.content.browser.SnapScrollController;
-import org.chromium.content.common.CommandLine;
+import org.chromium.content.common.ContentSwitches;
import org.chromium.content.common.TraceEvent;
import java.util.ArrayDeque;
@@ -386,7 +387,7 @@ class ContentViewGestureHandler implements LongPressDelegate {
mPxToDp = 1.0f / context.getResources().getDisplayMetrics().density;
mDisableClickDelay = CommandLine.isInitialized() &&
- CommandLine.getInstance().hasSwitch(CommandLine.DISABLE_CLICK_DELAY);
+ CommandLine.getInstance().hasSwitch(ContentSwitches.DISABLE_CLICK_DELAY);
initGestureDetectors(context);
}

Powered by Google App Engine
This is Rietveld 408576698