Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index d472f0dec0c9d70ae2cfd954ab5082a9ba4a6487..9dd949c566677edc9fc17733027f391a4b9f95f8 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -505,6 +505,7 @@ class CONTENT_EXPORT RenderViewImpl |
void OnOrientationChange() override; |
ui::TextInputType GetTextInputType() override; |
void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) override; |
+ void FocusChangeComplete() override; |
void GetCompositionCharacterBounds( |
std::vector<gfx::Rect>* character_bounds) override; |
void GetCompositionRange(gfx::Range* range) override; |
@@ -514,6 +515,7 @@ class CONTENT_EXPORT RenderViewImpl |
void InstrumentDidBeginFrame() override; |
void InstrumentDidCancelFrame() override; |
void InstrumentWillComposite() override; |
+ void DidCompletePageScaleAnimation() override; |
protected: |
explicit RenderViewImpl(const ViewMsg_New_Params& params); |
@@ -1060,6 +1062,10 @@ class CONTENT_EXPORT RenderViewImpl |
typedef std::map<cc::SharedBitmapId, cc::SharedBitmap*> BitmapMap; |
BitmapMap disambiguation_bitmaps_; |
+ // The bounds of the focused element in the viewport space. Updated when focus |
+ // changes and when the viewport resizes. |
+ blink::WebRect focused_element_bounds_; |
+ |
// --------------------------------------------------------------------------- |
// ADDING NEW DATA? Please see if it fits appropriately in one of the above |
// sections rather than throwing it randomly at the end. If you're adding a |