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

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

Issue 2775013002: Add a UMA counter for tap disambiguation result. (Closed)
Patch Set: Make TappedInside the last value for possible append of subdivision of it later Created 3 years, 8 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
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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.content.browser; 5 package org.chromium.content.browser;
6 6
7 import android.annotation.SuppressLint; 7 import android.annotation.SuppressLint;
8 import android.annotation.TargetApi; 8 import android.annotation.TargetApi;
9 import android.app.assist.AssistStructure.ViewNode; 9 import android.app.assist.AssistStructure.ViewNode;
10 import android.content.ClipData; 10 import android.content.ClipData;
(...skipping 1356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1367 } 1367 }
1368 } 1368 }
1369 if (mNativeContentViewCore != 0) nativeSetFocus(mNativeContentViewCore, gainFocus); 1369 if (mNativeContentViewCore != 0) nativeSetFocus(mNativeContentViewCore, gainFocus);
1370 } 1370 }
1371 1371
1372 /** 1372 /**
1373 * @see View#onKeyUp(int, KeyEvent) 1373 * @see View#onKeyUp(int, KeyEvent)
1374 */ 1374 */
1375 public boolean onKeyUp(int keyCode, KeyEvent event) { 1375 public boolean onKeyUp(int keyCode, KeyEvent event) {
1376 if (mPopupZoomer.isShowing() && keyCode == KeyEvent.KEYCODE_BACK) { 1376 if (mPopupZoomer.isShowing() && keyCode == KeyEvent.KEYCODE_BACK) {
1377 mPopupZoomer.hide(true); 1377 mPopupZoomer.backButtonPressed();
1378 return true; 1378 return true;
1379 } 1379 }
1380 return mContainerViewInternals.super_onKeyUp(keyCode, event); 1380 return mContainerViewInternals.super_onKeyUp(keyCode, event);
1381 } 1381 }
1382 1382
1383 /** 1383 /**
1384 * @see View#dispatchKeyEvent(KeyEvent) 1384 * @see View#dispatchKeyEvent(KeyEvent)
1385 */ 1385 */
1386 public boolean dispatchKeyEvent(KeyEvent event) { 1386 public boolean dispatchKeyEvent(KeyEvent event) {
1387 if (GamepadList.dispatchKeyEvent(event)) return true; 1387 if (GamepadList.dispatchKeyEvent(event)) return true;
(...skipping 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after
2697 private native void nativeSetTextTrackSettings(long nativeContentViewCoreImp l, 2697 private native void nativeSetTextTrackSettings(long nativeContentViewCoreImp l,
2698 boolean textTracksEnabled, String textTrackBackgroundColor, String t extTrackFontFamily, 2698 boolean textTracksEnabled, String textTrackBackgroundColor, String t extTrackFontFamily,
2699 String textTrackFontStyle, String textTrackFontVariant, String textT rackTextColor, 2699 String textTrackFontStyle, String textTrackFontVariant, String textT rackTextColor,
2700 String textTrackTextShadow, String textTrackTextSize); 2700 String textTrackTextShadow, String textTrackTextSize);
2701 2701
2702 private native void nativeSetBackgroundOpaque(long nativeContentViewCoreImpl , boolean opaque); 2702 private native void nativeSetBackgroundOpaque(long nativeContentViewCoreImpl , boolean opaque);
2703 private native boolean nativeIsTouchDragDropEnabled(long nativeContentViewCo reImpl); 2703 private native boolean nativeIsTouchDragDropEnabled(long nativeContentViewCo reImpl);
2704 private native void nativeOnDragEvent(long nativeContentViewCoreImpl, int ac tion, int x, int y, 2704 private native void nativeOnDragEvent(long nativeContentViewCoreImpl, int ac tion, int x, int y,
2705 int screenX, int screenY, String[] mimeTypes, String content); 2705 int screenX, int screenY, String[] mimeTypes, String content);
2706 } 2706 }
OLDNEW
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698