Chromium Code Reviews| 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.Activity; | 9 import android.app.Activity; |
| 10 import android.app.SearchManager; | 10 import android.app.SearchManager; |
| (...skipping 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1167 return mHasSelection ? mFocusedNodeEditable : false; | 1167 return mHasSelection ? mFocusedNodeEditable : false; |
| 1168 } | 1168 } |
| 1169 | 1169 |
| 1170 /** | 1170 /** |
| 1171 * @return Whether the current focused node is editable. | 1171 * @return Whether the current focused node is editable. |
| 1172 */ | 1172 */ |
| 1173 public boolean isFocusedNodeEditable() { | 1173 public boolean isFocusedNodeEditable() { |
| 1174 return mFocusedNodeEditable; | 1174 return mFocusedNodeEditable; |
| 1175 } | 1175 } |
| 1176 | 1176 |
| 1177 public boolean isGamepadAccessed() { | |
|
jdduke (slow)
2015/08/07 18:19:30
Nit: Javadoc :)
Actually, I'm wondering if there'
| |
| 1178 return GamepadList.isGamepadAccessed(); | |
| 1179 } | |
| 1180 | |
| 1177 // End FrameLayout overrides. | 1181 // End FrameLayout overrides. |
| 1178 | 1182 |
| 1179 /** | 1183 /** |
| 1180 * @see View#onTouchEvent(MotionEvent) | 1184 * @see View#onTouchEvent(MotionEvent) |
| 1181 */ | 1185 */ |
| 1182 public boolean onTouchEvent(MotionEvent event) { | 1186 public boolean onTouchEvent(MotionEvent event) { |
| 1183 final boolean isTouchHandleEvent = false; | 1187 final boolean isTouchHandleEvent = false; |
| 1184 return onTouchEventImpl(event, isTouchHandleEvent); | 1188 return onTouchEventImpl(event, isTouchHandleEvent); |
| 1185 } | 1189 } |
| 1186 | 1190 |
| (...skipping 2126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3313 private native void nativeSetTextTrackSettings(long nativeContentViewCoreImp l, | 3317 private native void nativeSetTextTrackSettings(long nativeContentViewCoreImp l, |
| 3314 boolean textTracksEnabled, String textTrackBackgroundColor, String t extTrackFontFamily, | 3318 boolean textTracksEnabled, String textTrackBackgroundColor, String t extTrackFontFamily, |
| 3315 String textTrackFontStyle, String textTrackFontVariant, String textT rackTextColor, | 3319 String textTrackFontStyle, String textTrackFontVariant, String textT rackTextColor, |
| 3316 String textTrackTextShadow, String textTrackTextSize); | 3320 String textTrackTextShadow, String textTrackTextSize); |
| 3317 | 3321 |
| 3318 private native void nativeExtractSmartClipData(long nativeContentViewCoreImp l, | 3322 private native void nativeExtractSmartClipData(long nativeContentViewCoreImp l, |
| 3319 int x, int y, int w, int h); | 3323 int x, int y, int w, int h); |
| 3320 | 3324 |
| 3321 private native void nativeSetBackgroundOpaque(long nativeContentViewCoreImpl , boolean opaque); | 3325 private native void nativeSetBackgroundOpaque(long nativeContentViewCoreImpl , boolean opaque); |
| 3322 } | 3326 } |
| OLD | NEW |