OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_helper.h" | 10 #include "base/android/jni_helper.h" |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 | 231 |
232 void OnTabCrashed(); | 232 void OnTabCrashed(); |
233 | 233 |
234 // All sizes and offsets are in CSS pixels as cached by the renderer. | 234 // All sizes and offsets are in CSS pixels as cached by the renderer. |
235 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, | 235 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, |
236 float page_scale_factor, | 236 float page_scale_factor, |
237 const gfx::Vector2dF& page_scale_factor_limits, | 237 const gfx::Vector2dF& page_scale_factor_limits, |
238 const gfx::SizeF& content_size, | 238 const gfx::SizeF& content_size, |
239 const gfx::SizeF& viewport_size, | 239 const gfx::SizeF& viewport_size, |
240 const gfx::Vector2dF& controls_offset, | 240 const gfx::Vector2dF& controls_offset, |
241 const gfx::Vector2dF& content_offset); | 241 const gfx::Vector2dF& content_offset, |
| 242 float overdraw_bottom_height); |
242 | 243 |
243 void UpdateImeAdapter(int native_ime_adapter, int text_input_type, | 244 void UpdateImeAdapter(int native_ime_adapter, int text_input_type, |
244 const std::string& text, | 245 const std::string& text, |
245 int selection_start, int selection_end, | 246 int selection_start, int selection_end, |
246 int composition_start, int composition_end, | 247 int composition_start, int composition_end, |
247 bool show_ime_if_needed); | 248 bool show_ime_if_needed); |
248 void ProcessImeBatchStateAck(bool is_begin); | 249 void ProcessImeBatchStateAck(bool is_begin); |
249 void SetTitle(const string16& title); | 250 void SetTitle(const string16& title); |
250 void OnBackgroundColorChanged(SkColor color); | 251 void OnBackgroundColorChanged(SkColor color); |
251 | 252 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 scoped_ptr<SyncInputEventFilter> input_event_filter_; | 348 scoped_ptr<SyncInputEventFilter> input_event_filter_; |
348 | 349 |
349 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 350 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
350 }; | 351 }; |
351 | 352 |
352 bool RegisterContentViewCore(JNIEnv* env); | 353 bool RegisterContentViewCore(JNIEnv* env); |
353 | 354 |
354 } // namespace content | 355 } // namespace content |
355 | 356 |
356 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 357 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |