Index: content/public/browser/web_contents_observer.h |
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h |
index f264392a348fabf35c0ee16d0a6502ab747a775f..a6611e23c4b952ff26f4c347b74a3400f7f05b6d 100644 |
--- a/content/public/browser/web_contents_observer.h |
+++ b/content/public/browser/web_contents_observer.h |
@@ -256,6 +256,9 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener, |
virtual void WasShown() {} |
virtual void WasHidden() {} |
+ // Invoked when the the WebContents receives focus. |
+ virtual void WasFocused() {} |
+ |
// This methods is invoked when the title of the WebContents is set. If the |
// title was explicitly set, |explicit_set| is true, otherwise the title was |
// synthesized and |explicit_set| is false. |