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 selection_start, | 232 int selection_start, |
233 int selection_end, | 233 int selection_end, |
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 RequestDisallowInterceptTouchEvent(); |
242 void OnGestureEventAck(const blink::WebGestureEvent& event, | 243 void OnGestureEventAck(const blink::WebGestureEvent& event, |
243 InputEventAckState ack_result); | 244 InputEventAckState ack_result); |
244 bool FilterInputEvent(const blink::WebInputEvent& event); | 245 bool FilterInputEvent(const blink::WebInputEvent& event); |
245 void OnSelectionChanged(const std::string& text); | 246 void OnSelectionChanged(const std::string& text); |
246 void OnSelectionEvent(ui::SelectionEventType event, | 247 void OnSelectionEvent(ui::SelectionEventType event, |
247 const gfx::PointF& selection_anchor, | 248 const gfx::PointF& selection_anchor, |
248 const gfx::RectF& selection_rect); | 249 const gfx::RectF& selection_rect); |
249 scoped_ptr<ui::TouchHandleDrawable> CreatePopupTouchHandleDrawable(); | 250 scoped_ptr<ui::TouchHandleDrawable> CreatePopupTouchHandleDrawable(); |
250 | 251 |
251 void StartContentIntent(const GURL& content_url); | 252 void StartContentIntent(const GURL& content_url); |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 368 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
368 | 369 |
369 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 370 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
370 }; | 371 }; |
371 | 372 |
372 bool RegisterContentViewCore(JNIEnv* env); | 373 bool RegisterContentViewCore(JNIEnv* env); |
373 | 374 |
374 } // namespace content | 375 } // namespace content |
375 | 376 |
376 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 377 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |