| 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 const std::string& text, | 246 const std::string& text, |
| 247 int selection_start, int selection_end, | 247 int selection_start, int selection_end, |
| 248 int composition_start, int composition_end, | 248 int composition_start, int composition_end, |
| 249 bool show_ime_if_needed); | 249 bool show_ime_if_needed); |
| 250 void ProcessImeBatchStateAck(bool is_begin); | 250 void ProcessImeBatchStateAck(bool is_begin); |
| 251 void SetTitle(const string16& title); | 251 void SetTitle(const string16& title); |
| 252 void OnBackgroundColorChanged(SkColor color); | 252 void OnBackgroundColorChanged(SkColor color); |
| 253 | 253 |
| 254 bool HasFocus(); | 254 bool HasFocus(); |
| 255 void ConfirmTouchEvent(InputEventAckState ack_result); | 255 void ConfirmTouchEvent(InputEventAckState ack_result); |
| 256 void UnhandledFlingStartEvent(); |
| 256 void HasTouchEventHandlers(bool need_touch_events); | 257 void HasTouchEventHandlers(bool need_touch_events); |
| 257 void OnSelectionChanged(const std::string& text); | 258 void OnSelectionChanged(const std::string& text); |
| 258 void OnSelectionBoundsChanged( | 259 void OnSelectionBoundsChanged( |
| 259 const ViewHostMsg_SelectionBounds_Params& params); | 260 const ViewHostMsg_SelectionBounds_Params& params); |
| 260 | 261 |
| 261 void StartContentIntent(const GURL& content_url); | 262 void StartContentIntent(const GURL& content_url); |
| 262 | 263 |
| 263 // Shows the disambiguation popup | 264 // Shows the disambiguation popup |
| 264 // |target_rect| --> window coordinates which |zoomed_bitmap| represents | 265 // |target_rect| --> window coordinates which |zoomed_bitmap| represents |
| 265 // |zoomed_bitmap| --> magnified image of potential touch targets | 266 // |zoomed_bitmap| --> magnified image of potential touch targets |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 ui::WindowAndroid* window_android_; | 364 ui::WindowAndroid* window_android_; |
| 364 | 365 |
| 365 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 366 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 366 }; | 367 }; |
| 367 | 368 |
| 368 bool RegisterContentViewCore(JNIEnv* env); | 369 bool RegisterContentViewCore(JNIEnv* env); |
| 369 | 370 |
| 370 } // namespace content | 371 } // namespace content |
| 371 | 372 |
| 372 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 373 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |