| 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 #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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 const base::android::JavaParamRef<jobject>& obj); | 166 const base::android::JavaParamRef<jobject>& obj); |
| 167 void SetDoubleTapSupportEnabled( | 167 void SetDoubleTapSupportEnabled( |
| 168 JNIEnv* env, | 168 JNIEnv* env, |
| 169 const base::android::JavaParamRef<jobject>& obj, | 169 const base::android::JavaParamRef<jobject>& obj, |
| 170 jboolean enabled); | 170 jboolean enabled); |
| 171 void SetMultiTouchZoomSupportEnabled( | 171 void SetMultiTouchZoomSupportEnabled( |
| 172 JNIEnv* env, | 172 JNIEnv* env, |
| 173 const base::android::JavaParamRef<jobject>& obj, | 173 const base::android::JavaParamRef<jobject>& obj, |
| 174 jboolean enabled); | 174 jboolean enabled); |
| 175 | 175 |
| 176 long GetNativeImeAdapter(JNIEnv* env, |
| 177 const base::android::JavaParamRef<jobject>& obj); |
| 176 void SetFocus(JNIEnv* env, | 178 void SetFocus(JNIEnv* env, |
| 177 const base::android::JavaParamRef<jobject>& obj, | 179 const base::android::JavaParamRef<jobject>& obj, |
| 178 jboolean focused); | 180 jboolean focused); |
| 179 | 181 |
| 180 void SetDIPScale(JNIEnv* env, | 182 void SetDIPScale(JNIEnv* env, |
| 181 const base::android::JavaParamRef<jobject>& obj, | 183 const base::android::JavaParamRef<jobject>& obj, |
| 182 jfloat dipScale); | 184 jfloat dipScale); |
| 183 | 185 |
| 184 jint GetBackgroundColor(JNIEnv* env, jobject obj); | 186 jint GetBackgroundColor(JNIEnv* env, jobject obj); |
| 185 void SetAllowJavascriptInterfacesInspection( | 187 void SetAllowJavascriptInterfacesInspection( |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, | 260 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, |
| 259 float page_scale_factor, | 261 float page_scale_factor, |
| 260 const gfx::Vector2dF& page_scale_factor_limits, | 262 const gfx::Vector2dF& page_scale_factor_limits, |
| 261 const gfx::SizeF& content_size, | 263 const gfx::SizeF& content_size, |
| 262 const gfx::SizeF& viewport_size, | 264 const gfx::SizeF& viewport_size, |
| 263 const float top_controls_height, | 265 const float top_controls_height, |
| 264 const float top_controls_shown_ratio, | 266 const float top_controls_shown_ratio, |
| 265 bool is_mobile_optimized_hint, | 267 bool is_mobile_optimized_hint, |
| 266 const gfx::SelectionBound& selection_start); | 268 const gfx::SelectionBound& selection_start); |
| 267 | 269 |
| 268 void UpdateImeAdapter(int text_input_type, | 270 void ForceUpdateImeAdapter(long native_ime_adapter); |
| 271 void UpdateImeAdapter(long native_ime_adapter, |
| 272 int text_input_type, |
| 269 int text_input_flags, | 273 int text_input_flags, |
| 270 int text_input_mode, | 274 int text_input_mode, |
| 271 const std::string& text, | 275 const std::string& text, |
| 272 int selection_start, | 276 int selection_start, |
| 273 int selection_end, | 277 int selection_end, |
| 274 int composition_start, | 278 int composition_start, |
| 275 int composition_end, | 279 int composition_end, |
| 276 bool show_ime_if_needed, | 280 bool show_ime_if_needed, |
| 277 bool reply_to_request); | 281 bool reply_to_request); |
| 278 | 282 |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 404 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
| 401 | 405 |
| 402 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 406 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 403 }; | 407 }; |
| 404 | 408 |
| 405 bool RegisterContentViewCore(JNIEnv* env); | 409 bool RegisterContentViewCore(JNIEnv* env); |
| 406 | 410 |
| 407 } // namespace content | 411 } // namespace content |
| 408 | 412 |
| 409 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 413 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |