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

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

Issue 240003009: [Android]: Fix incorrect use of jint for pointer in ContentViewCoreImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_atomics
Patch Set: Created 6 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/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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 void UpdateTopControlsState(JNIEnv* env, 213 void UpdateTopControlsState(JNIEnv* env,
214 jobject obj, 214 jobject obj,
215 bool enable_hiding, 215 bool enable_hiding,
216 bool enable_showing, 216 bool enable_showing,
217 bool animate); 217 bool animate);
218 void ShowImeIfNeeded(JNIEnv* env, jobject obj); 218 void ShowImeIfNeeded(JNIEnv* env, jobject obj);
219 219
220 void ShowInterstitialPage(JNIEnv* env, 220 void ShowInterstitialPage(JNIEnv* env,
221 jobject obj, 221 jobject obj,
222 jstring jurl, 222 jstring jurl,
223 jint delegate); 223 jlong delegate);
224 jboolean IsShowingInterstitialPage(JNIEnv* env, jobject obj); 224 jboolean IsShowingInterstitialPage(JNIEnv* env, jobject obj);
225 225
226 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled); 226 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled);
227 227
228 void ExtractSmartClipData(JNIEnv* env, 228 void ExtractSmartClipData(JNIEnv* env,
229 jobject obj, 229 jobject obj,
230 jint x, 230 jint x,
231 jint y, 231 jint y,
232 jint width, 232 jint width,
233 jint height); 233 jint height);
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 bool geolocation_needs_pause_; 406 bool geolocation_needs_pause_;
407 407
408 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 408 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
409 }; 409 };
410 410
411 bool RegisterContentViewCore(JNIEnv* env); 411 bool RegisterContentViewCore(JNIEnv* env);
412 412
413 } // namespace content 413 } // namespace content
414 414
415 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 415 #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