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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 void ForceUpdateImeAdapter(long native_ime_adapter); | 330 void ForceUpdateImeAdapter(long native_ime_adapter); |
331 void UpdateImeAdapter(long native_ime_adapter, | 331 void UpdateImeAdapter(long native_ime_adapter, |
332 int text_input_type, | 332 int text_input_type, |
333 int text_input_flags, | 333 int text_input_flags, |
334 const std::string& text, | 334 const std::string& text, |
335 int selection_start, | 335 int selection_start, |
336 int selection_end, | 336 int selection_end, |
337 int composition_start, | 337 int composition_start, |
338 int composition_end, | 338 int composition_end, |
339 bool show_ime_if_needed, | 339 bool show_ime_if_needed, |
340 bool is_non_ime_change); | 340 bool is_non_ime_change, |
| 341 bool in_batch_edit_mode); |
341 void SetTitle(const base::string16& title); | 342 void SetTitle(const base::string16& title); |
342 void OnBackgroundColorChanged(SkColor color); | 343 void OnBackgroundColorChanged(SkColor color); |
343 | 344 |
344 bool HasFocus(); | 345 bool HasFocus(); |
345 void RequestDisallowInterceptTouchEvent(); | 346 void RequestDisallowInterceptTouchEvent(); |
346 void OnGestureEventAck(const blink::WebGestureEvent& event, | 347 void OnGestureEventAck(const blink::WebGestureEvent& event, |
347 InputEventAckState ack_result); | 348 InputEventAckState ack_result); |
348 bool FilterInputEvent(const blink::WebInputEvent& event); | 349 bool FilterInputEvent(const blink::WebInputEvent& event); |
349 void OnSelectionChanged(const std::string& text); | 350 void OnSelectionChanged(const std::string& text); |
350 void OnSelectionEvent(ui::SelectionEventType event, | 351 void OnSelectionEvent(ui::SelectionEventType event, |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 477 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
477 | 478 |
478 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 479 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
479 }; | 480 }; |
480 | 481 |
481 bool RegisterContentViewCore(JNIEnv* env); | 482 bool RegisterContentViewCore(JNIEnv* env); |
482 | 483 |
483 } // namespace content | 484 } // namespace content |
484 | 485 |
485 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 486 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |