| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 InputEventAckState 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& selection_anchor, |
| 246 const gfx::RectF& selection_rect); |
| 246 scoped_ptr<ui::TouchHandleDrawable> CreatePopupTouchHandleDrawable(); | 247 scoped_ptr<ui::TouchHandleDrawable> CreatePopupTouchHandleDrawable(); |
| 247 | 248 |
| 248 void StartContentIntent(const GURL& content_url); | 249 void StartContentIntent(const GURL& content_url); |
| 249 | 250 |
| 250 // Shows the disambiguation popup | 251 // Shows the disambiguation popup |
| 251 // |rect_pixels| --> window coordinates which |zoomed_bitmap| represents | 252 // |rect_pixels| --> window coordinates which |zoomed_bitmap| represents |
| 252 // |zoomed_bitmap| --> magnified image of potential touch targets | 253 // |zoomed_bitmap| --> magnified image of potential touch targets |
| 253 void ShowDisambiguationPopup( | 254 void ShowDisambiguationPopup( |
| 254 const gfx::Rect& rect_pixels, const SkBitmap& zoomed_bitmap); | 255 const gfx::Rect& rect_pixels, const SkBitmap& zoomed_bitmap); |
| 255 | 256 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 359 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
| 359 | 360 |
| 360 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 361 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 361 }; | 362 }; |
| 362 | 363 |
| 363 bool RegisterContentViewCore(JNIEnv* env); | 364 bool RegisterContentViewCore(JNIEnv* env); |
| 364 | 365 |
| 365 } // namespace content | 366 } // namespace content |
| 366 | 367 |
| 367 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 368 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |