Index: content/renderer/render_widget.h |
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h |
index 892dd61cab4514661253fa854c73e212d185cba6..6b38f6993e9e425e87c3adf97052f1541da13896 100644 |
--- a/content/renderer/render_widget.h |
+++ b/content/renderer/render_widget.h |
@@ -243,7 +243,8 @@ class CONTENT_EXPORT RenderWidget |
// the new value will be sent to the browser process. |
void UpdateSelectionBounds(); |
- virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end); |
+ // Returns false if the selection bounds should not be updated. |
+ virtual bool GetSelectionBounds(gfx::Rect* start, gfx::Rect* end); |
void OnShowHostContextMenu(ContextMenuParams* params); |
@@ -618,6 +619,7 @@ class CONTENT_EXPORT RenderWidget |
// Stores the current selection bounds. |
gfx::Rect selection_focus_rect_; |
gfx::Rect selection_anchor_rect_; |
+ bool enable_composited_selection_bounds_; |
// Stores the current composition character bounds. |
std::vector<gfx::Rect> composition_character_bounds_; |