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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 void ForceUpdateImeAdapter(long native_ime_adapter); | 321 void ForceUpdateImeAdapter(long native_ime_adapter); |
322 void UpdateImeAdapter(long native_ime_adapter, | 322 void UpdateImeAdapter(long native_ime_adapter, |
323 int text_input_type, | 323 int text_input_type, |
324 int text_input_flags, | 324 int text_input_flags, |
325 const std::string& text, | 325 const std::string& text, |
326 int selection_start, | 326 int selection_start, |
327 int selection_end, | 327 int selection_end, |
328 int composition_start, | 328 int composition_start, |
329 int composition_end, | 329 int composition_end, |
330 bool show_ime_if_needed, | 330 bool show_ime_if_needed, |
331 bool is_non_ime_change, | 331 bool is_non_ime_change); |
332 bool in_batch_edit_mode); | |
333 void SetTitle(const base::string16& title); | 332 void SetTitle(const base::string16& title); |
334 void OnBackgroundColorChanged(SkColor color); | 333 void OnBackgroundColorChanged(SkColor color); |
335 | 334 |
336 bool HasFocus(); | 335 bool HasFocus(); |
337 void RequestDisallowInterceptTouchEvent(); | 336 void RequestDisallowInterceptTouchEvent(); |
338 void OnGestureEventAck(const blink::WebGestureEvent& event, | 337 void OnGestureEventAck(const blink::WebGestureEvent& event, |
339 InputEventAckState ack_result); | 338 InputEventAckState ack_result); |
340 bool FilterInputEvent(const blink::WebInputEvent& event); | 339 bool FilterInputEvent(const blink::WebInputEvent& event); |
341 void OnSelectionChanged(const std::string& text); | 340 void OnSelectionChanged(const std::string& text); |
342 void OnSelectionEvent(ui::SelectionEventType event, | 341 void OnSelectionEvent(ui::SelectionEventType event, |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 462 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
464 | 463 |
465 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 464 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
466 }; | 465 }; |
467 | 466 |
468 bool RegisterContentViewCore(JNIEnv* env); | 467 bool RegisterContentViewCore(JNIEnv* env); |
469 | 468 |
470 } // namespace content | 469 } // namespace content |
471 | 470 |
472 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 471 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |