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

Side by Side Diff: content/browser/android/content_view_core_impl.h

Issue 170783014: android: Expose content locks in RenderWidgetHostViewAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 6 years, 10 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/browser/android/content_view_core_impl.cc » ('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 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 jboolean has_delay, 228 jboolean has_delay,
229 jint count); 229 jint count);
230 void SendSingleTapUma(JNIEnv* env, jobject obj, jint type, jint count); 230 void SendSingleTapUma(JNIEnv* env, jobject obj, jint type, jint count);
231 231
232 void ExtractSmartClipData(JNIEnv* env, 232 void ExtractSmartClipData(JNIEnv* env,
233 jobject obj, 233 jobject obj,
234 jint x, 234 jint x,
235 jint y, 235 jint y,
236 jint width, 236 jint width,
237 jint height); 237 jint height);
238
239 jboolean CanLockContent(JNIEnv* env, jobject obj);
240 void LockContent(JNIEnv* env, jobject obj);
241 void UnlockContent(JNIEnv* env, jobject obj);
238 // -------------------------------------------------------------------------- 242 // --------------------------------------------------------------------------
239 // Public methods that call to Java via JNI 243 // Public methods that call to Java via JNI
240 // -------------------------------------------------------------------------- 244 // --------------------------------------------------------------------------
241 245
242 void OnSmartClipDataExtracted(const base::string16& result); 246 void OnSmartClipDataExtracted(const base::string16& result);
243 247
244 // Creates a popup menu with |items|. 248 // Creates a popup menu with |items|.
245 // |multiple| defines if it should support multi-select. 249 // |multiple| defines if it should support multi-select.
246 // If not |multiple|, |selected_item| sets the initially selected item. 250 // If not |multiple|, |selected_item| sets the initially selected item.
247 // Otherwise, item's "checked" flag selects it. 251 // Otherwise, item's "checked" flag selects it.
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 GestureEventPacket pending_gesture_packet_; 412 GestureEventPacket pending_gesture_packet_;
409 413
410 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 414 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
411 }; 415 };
412 416
413 bool RegisterContentViewCore(JNIEnv* env); 417 bool RegisterContentViewCore(JNIEnv* env);
414 418
415 } // namespace content 419 } // namespace content
416 420
417 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 421 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698