Index: content/browser/renderer_host/render_widget_host_view_android.h |
diff --git a/content/browser/renderer_host/render_widget_host_view_android.h b/content/browser/renderer_host/render_widget_host_view_android.h |
index ecab46d345a3a5de8d4746c888517ef2acc378a9..1e493f755b7fecd3a66c177ead83d9a82e67e53a 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_android.h |
+++ b/content/browser/renderer_host/render_widget_host_view_android.h |
@@ -235,8 +235,7 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid |
void OnFrameMetadataUpdated( |
const cc::CompositorFrameMetadata& frame_metadata); |
void ComputeContentsSize(const cc::CompositorFrameMetadata& frame_metadata); |
- void ResetClipping(); |
- void ClipContents(const gfx::Rect& clipping, const gfx::Size& content_size); |
+ void UpdateSelectionBounds(const cc::CompositorFrameMetadata& frame_metadata); |
void AttachLayers(); |
void RemoveLayers(); |
@@ -335,6 +334,10 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid |
// Size to use if we have no backing ContentViewCore |
gfx::Size default_size_; |
+ // Cached rectangles for the selection anchor and focus. |
+ cc::SelectionBound cached_selection_anchor_; |
+ cc::SelectionBound cached_selection_focus_; |
+ |
const bool using_synchronous_compositor_; |
scoped_ptr<DelegatedFrameEvictor> frame_evictor_; |