OLD | NEW |
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 1860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1871 } | 1871 } |
1872 | 1872 |
1873 @SuppressWarnings("unused") | 1873 @SuppressWarnings("unused") |
1874 @CalledByNative | 1874 @CalledByNative |
1875 private void performLongPressHapticFeedback() { | 1875 private void performLongPressHapticFeedback() { |
1876 mContainerView.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS)
; | 1876 mContainerView.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS)
; |
1877 } | 1877 } |
1878 | 1878 |
1879 @CalledByNative | 1879 @CalledByNative |
1880 private void showPastePopup(int x, int y) { | 1880 private void showPastePopup(int x, int y) { |
1881 mSelectionPopupController.showPastePopup(x, y); | 1881 mSelectionPopupController.createAndShowPastePopup(x, y); |
1882 } | 1882 } |
1883 | 1883 |
1884 private void hidePastePopup() { | 1884 private void hidePastePopup() { |
1885 mSelectionPopupController.hidePastePopup(); | 1885 mSelectionPopupController.hidePastePopup(); |
1886 } | 1886 } |
1887 | 1887 |
1888 private void destroyPastePopup() { | 1888 private void destroyPastePopup() { |
1889 mSelectionPopupController.destroyPastePopup(); | 1889 mSelectionPopupController.destroyPastePopup(); |
1890 } | 1890 } |
1891 | 1891 |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2677 private native void nativeSetTextTrackSettings(long nativeContentViewCoreImp
l, | 2677 private native void nativeSetTextTrackSettings(long nativeContentViewCoreImp
l, |
2678 boolean textTracksEnabled, String textTrackBackgroundColor, String t
extTrackFontFamily, | 2678 boolean textTracksEnabled, String textTrackBackgroundColor, String t
extTrackFontFamily, |
2679 String textTrackFontStyle, String textTrackFontVariant, String textT
rackTextColor, | 2679 String textTrackFontStyle, String textTrackFontVariant, String textT
rackTextColor, |
2680 String textTrackTextShadow, String textTrackTextSize); | 2680 String textTrackTextShadow, String textTrackTextSize); |
2681 | 2681 |
2682 private native void nativeSetBackgroundOpaque(long nativeContentViewCoreImpl
, boolean opaque); | 2682 private native void nativeSetBackgroundOpaque(long nativeContentViewCoreImpl
, boolean opaque); |
2683 private native boolean nativeIsTouchDragDropEnabled(long nativeContentViewCo
reImpl); | 2683 private native boolean nativeIsTouchDragDropEnabled(long nativeContentViewCo
reImpl); |
2684 private native void nativeOnDragEvent(long nativeContentViewCoreImpl, int ac
tion, int x, int y, | 2684 private native void nativeOnDragEvent(long nativeContentViewCoreImpl, int ac
tion, int x, int y, |
2685 int screenX, int screenY, String[] mimeTypes, String content); | 2685 int screenX, int screenY, String[] mimeTypes, String content); |
2686 } | 2686 } |
OLD | NEW |