| 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 const gfx::SizeF& content_size, | 239 const gfx::SizeF& content_size, |
| 240 const gfx::SizeF& viewport_size, | 240 const gfx::SizeF& viewport_size, |
| 241 const gfx::Vector2dF& controls_offset, | 241 const gfx::Vector2dF& controls_offset, |
| 242 const gfx::Vector2dF& content_offset, | 242 const gfx::Vector2dF& content_offset, |
| 243 float overdraw_bottom_height); | 243 float overdraw_bottom_height); |
| 244 | 244 |
| 245 void UpdateImeAdapter(int native_ime_adapter, int text_input_type, | 245 void UpdateImeAdapter(int native_ime_adapter, int text_input_type, |
| 246 const std::string& text, | 246 const std::string& text, |
| 247 int selection_start, int selection_end, | 247 int selection_start, int selection_end, |
| 248 int composition_start, int composition_end, | 248 int composition_start, int composition_end, |
| 249 bool show_ime_if_needed); | 249 bool show_ime_if_needed, bool require_ack); |
| 250 void ProcessImeBatchStateAck(bool is_begin); | |
| 251 void SetTitle(const string16& title); | 250 void SetTitle(const string16& title); |
| 252 void OnBackgroundColorChanged(SkColor color); | 251 void OnBackgroundColorChanged(SkColor color); |
| 253 | 252 |
| 254 bool HasFocus(); | 253 bool HasFocus(); |
| 255 void ConfirmTouchEvent(InputEventAckState ack_result); | 254 void ConfirmTouchEvent(InputEventAckState ack_result); |
| 256 void UnhandledFlingStartEvent(); | 255 void UnhandledFlingStartEvent(); |
| 257 void HasTouchEventHandlers(bool need_touch_events); | 256 void HasTouchEventHandlers(bool need_touch_events); |
| 258 void OnSelectionChanged(const std::string& text); | 257 void OnSelectionChanged(const std::string& text); |
| 259 void OnSelectionBoundsChanged( | 258 void OnSelectionBoundsChanged( |
| 260 const ViewHostMsg_SelectionBounds_Params& params); | 259 const ViewHostMsg_SelectionBounds_Params& params); |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 ui::WindowAndroid* window_android_; | 373 ui::WindowAndroid* window_android_; |
| 375 | 374 |
| 376 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 375 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 377 }; | 376 }; |
| 378 | 377 |
| 379 bool RegisterContentViewCore(JNIEnv* env); | 378 bool RegisterContentViewCore(JNIEnv* env); |
| 380 | 379 |
| 381 } // namespace content | 380 } // namespace content |
| 382 | 381 |
| 383 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 382 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |