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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 int selection_start, | 216 int selection_start, |
217 int selection_end, | 217 int selection_end, |
218 int composition_start, | 218 int composition_start, |
219 int composition_end, | 219 int composition_end, |
220 bool show_ime_if_needed, | 220 bool show_ime_if_needed, |
221 bool is_non_ime_change); | 221 bool is_non_ime_change); |
222 void SetTitle(const base::string16& title); | 222 void SetTitle(const base::string16& title); |
223 void OnBackgroundColorChanged(SkColor color); | 223 void OnBackgroundColorChanged(SkColor color); |
224 | 224 |
225 bool HasFocus(); | 225 bool HasFocus(); |
| 226 bool IsFocusable(); |
226 void OnGestureEventAck(const blink::WebGestureEvent& event, | 227 void OnGestureEventAck(const blink::WebGestureEvent& event, |
227 InputEventAckState ack_result); | 228 InputEventAckState ack_result); |
228 bool FilterInputEvent(const blink::WebInputEvent& event); | 229 bool FilterInputEvent(const blink::WebInputEvent& event); |
229 void OnSelectionChanged(const std::string& text); | 230 void OnSelectionChanged(const std::string& text); |
230 void OnSelectionEvent(SelectionEventType event, | 231 void OnSelectionEvent(SelectionEventType event, |
231 const gfx::PointF& anchor_position); | 232 const gfx::PointF& anchor_position); |
232 scoped_ptr<TouchHandleDrawable> CreatePopupTouchHandleDrawable(); | 233 scoped_ptr<TouchHandleDrawable> CreatePopupTouchHandleDrawable(); |
233 | 234 |
234 void StartContentIntent(const GURL& content_url); | 235 void StartContentIntent(const GURL& content_url); |
235 | 236 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 java_bridge_dispatcher_host_; | 343 java_bridge_dispatcher_host_; |
343 | 344 |
344 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 345 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
345 }; | 346 }; |
346 | 347 |
347 bool RegisterContentViewCore(JNIEnv* env); | 348 bool RegisterContentViewCore(JNIEnv* env); |
348 | 349 |
349 } // namespace content | 350 } // namespace content |
350 | 351 |
351 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 352 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |