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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuButtonHelper.java

Issue 460453002: Fixed Compilation issues related to API Level of Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed SuppressLint for ClickableViewAccessibility. Created 6 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.chrome.browser.appmenu; 5 package org.chromium.chrome.browser.appmenu;
6 6
7 import android.view.MotionEvent; 7 import android.view.MotionEvent;
8 import android.view.View; 8 import android.view.View;
9 import android.view.View.OnTouchListener; 9 import android.view.View.OnTouchListener;
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 // If user starts to drag on this menu button, ACTION_DOWN and all the s ubsequent touch 97 // If user starts to drag on this menu button, ACTION_DOWN and all the s ubsequent touch
98 // events are received here. We need to forward this event to the app me nu to handle 98 // events are received here. We need to forward this event to the app me nu to handle
99 // dragging correctly. 99 // dragging correctly.
100 AppMenuDragHelper dragHelper = mMenuHandler.getAppMenuDragHelper(); 100 AppMenuDragHelper dragHelper = mMenuHandler.getAppMenuDragHelper();
101 if (dragHelper != null) { 101 if (dragHelper != null) {
102 isTouchEventConsumed |= dragHelper.handleDragging(event); 102 isTouchEventConsumed |= dragHelper.handleDragging(event);
103 } 103 }
104 return isTouchEventConsumed; 104 return isTouchEventConsumed;
105 } 105 }
106 } 106 }
aurimas (slooooooooow) 2014/08/12 15:59:44 Undo this change.
AKVT 2014/08/12 16:22:39 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698