Index: content/renderer/render_widget.h |
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h |
index 8ed0c4029a8f44acdf8cd6004cbf9256c683cac5..de708fc1625884dfed15106169112552e5f5c57f 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); |
@@ -624,6 +625,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_; |