| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, | 207 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, |
| 208 float page_scale_factor, | 208 float page_scale_factor, |
| 209 const gfx::Vector2dF& page_scale_factor_limits, | 209 const gfx::Vector2dF& page_scale_factor_limits, |
| 210 const gfx::SizeF& content_size, | 210 const gfx::SizeF& content_size, |
| 211 const gfx::SizeF& viewport_size, | 211 const gfx::SizeF& viewport_size, |
| 212 const gfx::Vector2dF& controls_offset, | 212 const gfx::Vector2dF& controls_offset, |
| 213 const gfx::Vector2dF& content_offset); | 213 const gfx::Vector2dF& content_offset); |
| 214 | 214 |
| 215 void UpdateImeAdapter(long native_ime_adapter, | 215 void UpdateImeAdapter(long native_ime_adapter, |
| 216 int text_input_type, | 216 int text_input_type, |
| 217 int text_input_mode, |
| 217 int text_input_flags, | 218 int text_input_flags, |
| 218 const std::string& text, | 219 const std::string& text, |
| 219 int selection_start, | 220 int selection_start, |
| 220 int selection_end, | 221 int selection_end, |
| 221 int composition_start, | 222 int composition_start, |
| 222 int composition_end, | 223 int composition_end, |
| 223 bool show_ime_if_needed, | 224 bool show_ime_if_needed, |
| 224 bool is_non_ime_change); | 225 bool is_non_ime_change); |
| 225 void SetTitle(const base::string16& title); | 226 void SetTitle(const base::string16& title); |
| 226 void OnBackgroundColorChanged(SkColor color); | 227 void OnBackgroundColorChanged(SkColor color); |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 346 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
| 346 | 347 |
| 347 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 348 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 348 }; | 349 }; |
| 349 | 350 |
| 350 bool RegisterContentViewCore(JNIEnv* env); | 351 bool RegisterContentViewCore(JNIEnv* env); |
| 351 | 352 |
| 352 } // namespace content | 353 } // namespace content |
| 353 | 354 |
| 354 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 355 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |