| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 void HideSelectPopupMenu(); | 253 void HideSelectPopupMenu(); |
| 254 | 254 |
| 255 // All sizes and offsets are in CSS pixels as cached by the renderer. | 255 // All sizes and offsets are in CSS pixels as cached by the renderer. |
| 256 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, | 256 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, |
| 257 float page_scale_factor, | 257 float page_scale_factor, |
| 258 const gfx::Vector2dF& page_scale_factor_limits, | 258 const gfx::Vector2dF& page_scale_factor_limits, |
| 259 const gfx::SizeF& content_size, | 259 const gfx::SizeF& content_size, |
| 260 const gfx::SizeF& viewport_size, | 260 const gfx::SizeF& viewport_size, |
| 261 const float top_controls_height, | 261 const float top_controls_height, |
| 262 const float top_controls_shown_ratio, | 262 const float top_controls_shown_ratio, |
| 263 bool is_mobile_optimized_hint, | 263 bool is_mobile_optimized_hint); |
| 264 const gfx::SelectionBound& selection_start); | |
| 265 | 264 |
| 266 bool HasFocus(); | 265 bool HasFocus(); |
| 267 void RequestDisallowInterceptTouchEvent(); | 266 void RequestDisallowInterceptTouchEvent(); |
| 268 void OnGestureEventAck(const blink::WebGestureEvent& event, | 267 void OnGestureEventAck(const blink::WebGestureEvent& event, |
| 269 InputEventAckState ack_result); | 268 InputEventAckState ack_result); |
| 270 bool FilterInputEvent(const blink::WebInputEvent& event); | 269 bool FilterInputEvent(const blink::WebInputEvent& event); |
| 271 void OnSelectionChanged(const std::string& text); | 270 void OnSelectionChanged(const std::string& text); |
| 272 void OnSelectionEvent(ui::SelectionEventType event, | 271 void OnSelectionEvent(ui::SelectionEventType event, |
| 273 const gfx::PointF& selection_anchor, | 272 const gfx::PointF& selection_anchor, |
| 274 const gfx::RectF& selection_rect); | 273 const gfx::RectF& selection_rect); |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; | 384 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; |
| 386 | 385 |
| 387 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); | 386 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); |
| 388 }; | 387 }; |
| 389 | 388 |
| 390 bool RegisterContentViewCore(JNIEnv* env); | 389 bool RegisterContentViewCore(JNIEnv* env); |
| 391 | 390 |
| 392 } // namespace content | 391 } // namespace content |
| 393 | 392 |
| 394 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ | 393 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ |
| OLD | NEW |