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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 int composition_start, | 234 int composition_start, |
235 int composition_end, | 235 int composition_end, |
236 bool show_ime_if_needed, | 236 bool show_ime_if_needed, |
237 bool is_non_ime_change); | 237 bool is_non_ime_change); |
238 void SetTitle(const base::string16& title); | 238 void SetTitle(const base::string16& title); |
239 void OnBackgroundColorChanged(SkColor color); | 239 void OnBackgroundColorChanged(SkColor color); |
240 | 240 |
241 bool HasFocus(); | 241 bool HasFocus(); |
242 void OnGestureEventAck(const blink::WebGestureEvent& event, | 242 void OnGestureEventAck(const blink::WebGestureEvent& event, |
243 InputEventAckState ack_result); | 243 InputEventAckState ack_result); |
244 InputEventAckState FilterInputEvent(const blink::WebInputEvent& event); | 244 bool FilterInputEvent(const blink::WebInputEvent& event); |
245 void OnSelectionChanged(const std::string& text); | 245 void OnSelectionChanged(const std::string& text); |
246 void OnSelectionEvent(ui::SelectionEventType event, | 246 void OnSelectionEvent(ui::SelectionEventType event, |
247 const gfx::PointF& selection_anchor, | 247 const gfx::PointF& selection_anchor, |
248 const gfx::RectF& selection_rect); | 248 const gfx::RectF& selection_rect); |
249 scoped_ptr<ui::TouchHandleDrawable> CreatePopupTouchHandleDrawable(); | 249 scoped_ptr<ui::TouchHandleDrawable> CreatePopupTouchHandleDrawable(); |
250 | 250 |
251 void StartContentIntent(const GURL& content_url); | 251 void StartContentIntent(const GURL& content_url); |
252 | 252 |
253 // Shows the disambiguation popup | 253 // Shows the disambiguation popup |
254 // |rect_pixels| --> window coordinates which |zoomed_bitmap| represents | 254 // |rect_pixels| --> window coordinates which |zoomed_bitmap| represents |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 367 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
368 | 368 |
369 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 369 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
370 }; | 370 }; |
371 | 371 |
372 bool RegisterContentViewCore(JNIEnv* env); | 372 bool RegisterContentViewCore(JNIEnv* env); |
373 | 373 |
374 } // namespace content | 374 } // namespace content |
375 | 375 |
376 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 376 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |