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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 int composition_start, | 232 int composition_start, |
233 int composition_end, | 233 int composition_end, |
234 bool show_ime_if_needed, | 234 bool show_ime_if_needed, |
235 bool is_non_ime_change); | 235 bool is_non_ime_change); |
236 void SetTitle(const base::string16& title); | 236 void SetTitle(const base::string16& title); |
237 void OnBackgroundColorChanged(SkColor color); | 237 void OnBackgroundColorChanged(SkColor color); |
238 | 238 |
239 bool HasFocus(); | 239 bool HasFocus(); |
240 void OnGestureEventAck(const blink::WebGestureEvent& event, | 240 void OnGestureEventAck(const blink::WebGestureEvent& event, |
241 InputEventAckState ack_result); | 241 InputEventAckState ack_result); |
242 bool FilterInputEvent(const blink::WebInputEvent& event); | 242 InputEventAckState FilterInputEvent(const blink::WebInputEvent& event); |
243 void OnSelectionChanged(const std::string& text); | 243 void OnSelectionChanged(const std::string& text); |
244 void OnSelectionEvent(ui::SelectionEventType event, | 244 void OnSelectionEvent(ui::SelectionEventType event, |
245 const gfx::PointF& anchor_position); | 245 const gfx::PointF& anchor_position); |
246 scoped_ptr<ui::TouchHandleDrawable> CreatePopupTouchHandleDrawable(); | 246 scoped_ptr<ui::TouchHandleDrawable> CreatePopupTouchHandleDrawable(); |
247 | 247 |
248 void StartContentIntent(const GURL& content_url); | 248 void StartContentIntent(const GURL& content_url); |
249 | 249 |
250 // Shows the disambiguation popup | 250 // Shows the disambiguation popup |
251 // |rect_pixels| --> window coordinates which |zoomed_bitmap| represents | 251 // |rect_pixels| --> window coordinates which |zoomed_bitmap| represents |
252 // |zoomed_bitmap| --> magnified image of potential touch targets | 252 // |zoomed_bitmap| --> magnified image of potential touch targets |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 358 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
359 | 359 |
360 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 360 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
361 }; | 361 }; |
362 | 362 |
363 bool RegisterContentViewCore(JNIEnv* env); | 363 bool RegisterContentViewCore(JNIEnv* env); |
364 | 364 |
365 } // namespace content | 365 } // namespace content |
366 | 366 |
367 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 367 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |