Index: third_party/WebKit/public/web/WebViewClient.h |
diff --git a/third_party/WebKit/public/web/WebViewClient.h b/third_party/WebKit/public/web/WebViewClient.h |
index 54eff2e93104bc797a7e7384cad9bea5c4e4753c..66aafcda4aa2e3a1ea8965fd3c04a670a2f367d2 100644 |
--- a/third_party/WebKit/public/web/WebViewClient.h |
+++ b/third_party/WebKit/public/web/WebViewClient.h |
@@ -190,6 +190,8 @@ public: |
// Called when the View has changed size as a result of an auto-resize. |
virtual void didAutoResize(const WebSize& newSize) {} |
+ // Called when the View acquires focus. |
+ virtual void didFocus() {} |
// Session history ----------------------------------------------------- |
@@ -257,7 +259,6 @@ public: |
void closeWidgetSoon() override {} |
void convertViewportToWindow(WebRect* rect) override {} |
void convertWindowToViewport(WebFloatRect* rect) override {} |
- void didFocus() override {} |
void didHandleGestureEvent(const WebGestureEvent& event, bool eventCancelled) override {} |
void didInvalidateRect(const WebRect&) override {} |
void didOverscroll(const WebFloatSize& overscrollDelta, const WebFloatSize& accumulatedOverscroll, const WebFloatPoint& positionInViewport, const WebFloatSize& velocityInViewport) override {} |