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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 const gfx::SizeF& viewport_size, | 251 const gfx::SizeF& viewport_size, |
252 const gfx::Vector2dF& controls_offset, | 252 const gfx::Vector2dF& controls_offset, |
253 const gfx::Vector2dF& content_offset, | 253 const gfx::Vector2dF& content_offset, |
254 float overdraw_bottom_height); | 254 float overdraw_bottom_height); |
255 | 255 |
256 void UpdateImeAdapter(int native_ime_adapter, int text_input_type, | 256 void UpdateImeAdapter(int native_ime_adapter, int text_input_type, |
257 const std::string& text, | 257 const std::string& text, |
258 int selection_start, int selection_end, | 258 int selection_start, int selection_end, |
259 int composition_start, int composition_end, | 259 int composition_start, int composition_end, |
260 bool show_ime_if_needed, bool require_ack); | 260 bool show_ime_if_needed, bool require_ack); |
261 void SetTitle(const string16& title); | 261 void SetTitle(const base::string16& title); |
262 void OnBackgroundColorChanged(SkColor color); | 262 void OnBackgroundColorChanged(SkColor color); |
263 | 263 |
264 bool HasFocus(); | 264 bool HasFocus(); |
265 void ConfirmTouchEvent(InputEventAckState ack_result); | 265 void ConfirmTouchEvent(InputEventAckState ack_result); |
266 void UnhandledFlingStartEvent(); | 266 void UnhandledFlingStartEvent(); |
267 void OnScrollUpdateGestureConsumed(); | 267 void OnScrollUpdateGestureConsumed(); |
268 void HasTouchEventHandlers(bool need_touch_events); | 268 void HasTouchEventHandlers(bool need_touch_events); |
269 void OnSelectionChanged(const std::string& text); | 269 void OnSelectionChanged(const std::string& text); |
270 void OnSelectionBoundsChanged( | 270 void OnSelectionBoundsChanged( |
271 const ViewHostMsg_SelectionBounds_Params& params); | 271 const ViewHostMsg_SelectionBounds_Params& params); |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 int device_orientation_; | 384 int device_orientation_; |
385 | 385 |
386 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 386 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
387 }; | 387 }; |
388 | 388 |
389 bool RegisterContentViewCore(JNIEnv* env); | 389 bool RegisterContentViewCore(JNIEnv* env); |
390 | 390 |
391 } // namespace content | 391 } // namespace content |
392 | 392 |
393 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 393 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |