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

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

Issue 908093003: Revert of Add support for ContentViewCore helpers on Tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled); 173 void SetAccessibilityEnabled(JNIEnv* env, jobject obj, bool enabled);
174 174
175 void ExtractSmartClipData(JNIEnv* env, 175 void ExtractSmartClipData(JNIEnv* env,
176 jobject obj, 176 jobject obj,
177 jint x, 177 jint x,
178 jint y, 178 jint y,
179 jint width, 179 jint width,
180 jint height); 180 jint height);
181 181
182 void SetBackgroundOpaque(JNIEnv* env, jobject jobj, jboolean opaque); 182 void SetBackgroundOpaque(JNIEnv* env, jobject jobj, jboolean opaque);
183 void SetDrawsContent(JNIEnv* env, jobject jobj, jboolean draws);
184 183
185 jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj); 184 jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj);
186 185
187 // -------------------------------------------------------------------------- 186 // --------------------------------------------------------------------------
188 // Public methods that call to Java via JNI 187 // Public methods that call to Java via JNI
189 // -------------------------------------------------------------------------- 188 // --------------------------------------------------------------------------
190 189
191 void OnSmartClipDataExtracted(const base::string16& text, 190 void OnSmartClipDataExtracted(const base::string16& text,
192 const base::string16& html, 191 const base::string16& html,
193 const gfx::Rect& clip_rect); 192 const gfx::Rect& clip_rect);
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 347 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
349 348
350 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 349 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
351 }; 350 };
352 351
353 bool RegisterContentViewCore(JNIEnv* env); 352 bool RegisterContentViewCore(JNIEnv* env);
354 353
355 } // namespace content 354 } // namespace content
356 355
357 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 356 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/tab_android.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698