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 ca930fa829f7d2e0f7561dab60df466aa4cfbec1..57d6d735a0e11107c408d943c5919519b22915c8 100644 |
--- a/third_party/WebKit/public/web/WebViewClient.h |
+++ b/third_party/WebKit/public/web/WebViewClient.h |
@@ -194,6 +194,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 ----------------------------------------------------- |
@@ -260,7 +262,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 {} |