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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 | 252 |
253 // All sizes and offsets are in CSS pixels as cached by the renderer. | 253 // All sizes and offsets are in CSS pixels as cached by the renderer. |
254 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, | 254 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, |
255 float page_scale_factor, | 255 float page_scale_factor, |
256 const gfx::Vector2dF& page_scale_factor_limits, | 256 const gfx::Vector2dF& page_scale_factor_limits, |
257 const gfx::SizeF& content_size, | 257 const gfx::SizeF& content_size, |
258 const gfx::SizeF& viewport_size, | 258 const gfx::SizeF& viewport_size, |
259 const gfx::Vector2dF& controls_offset, | 259 const gfx::Vector2dF& controls_offset, |
260 const gfx::Vector2dF& content_offset, | 260 const gfx::Vector2dF& content_offset, |
261 float overdraw_bottom_height); | 261 float overdraw_bottom_height); |
| 262 void DidFinishTopControlsGesture(); |
262 | 263 |
263 void UpdateImeAdapter(int native_ime_adapter, int text_input_type, | 264 void UpdateImeAdapter(int native_ime_adapter, int text_input_type, |
264 const std::string& text, | 265 const std::string& text, |
265 int selection_start, int selection_end, | 266 int selection_start, int selection_end, |
266 int composition_start, int composition_end, | 267 int composition_start, int composition_end, |
267 bool show_ime_if_needed, bool require_ack); | 268 bool show_ime_if_needed, bool require_ack); |
268 void SetTitle(const base::string16& title); | 269 void SetTitle(const base::string16& title); |
269 void OnBackgroundColorChanged(SkColor color); | 270 void OnBackgroundColorChanged(SkColor color); |
270 | 271 |
271 bool HasFocus(); | 272 bool HasFocus(); |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 bool geolocation_needs_pause_; | 394 bool geolocation_needs_pause_; |
394 | 395 |
395 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 396 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
396 }; | 397 }; |
397 | 398 |
398 bool RegisterContentViewCore(JNIEnv* env); | 399 bool RegisterContentViewCore(JNIEnv* env); |
399 | 400 |
400 } // namespace content | 401 } // namespace content |
401 | 402 |
402 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 403 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
OLD | NEW |