Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index 23b1a0a9984ebd76711d135eabb6c3650e164c6a..6ef4fd309f2babe4503d74ca03c29078628c1e57 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -508,6 +508,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; |
@@ -517,6 +518,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); |
@@ -1065,6 +1067,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 |