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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/GestureHandlerLayoutDelegate.java

Issue 1261443002: [Android] Removes delay when a tab is dragged with a mouse (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [Android] Removes delay when a tab is dragged with a mouse (document new parameters) Created 5 years, 5 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 | chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/LayoutManagerChromeTablet.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/GestureHandlerLayoutDelegate.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/GestureHandlerLayoutDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/GestureHandlerLayoutDelegate.java
index 21b136a5494f8014072d820cbe1a8326d69c1fac..905b0219a1b29b1cdc11fb357a454c58434bd977 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/GestureHandlerLayoutDelegate.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/GestureHandlerLayoutDelegate.java
@@ -22,7 +22,7 @@ class GestureHandlerLayoutDelegate implements GestureHandler {
}
@Override
- public void onDown(float x, float y) {
+ public void onDown(float x, float y, boolean fromMouse) {
if (mLayoutProvider.getActiveLayout() == null) return;
mLayoutProvider.getActiveLayout().onDown(LayoutManager.time(), x, y);
}
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/LayoutManagerChromeTablet.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698