Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: content/browser/renderer_host/render_view_host_delegate_view.h

Issue 2877323002: Add WebContentObserver::OnWebContentsLostFocus() (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_view_host_delegate_view.h
diff --git a/content/browser/renderer_host/render_view_host_delegate_view.h b/content/browser/renderer_host/render_view_host_delegate_view.h
index 03bb3eb8b221e221f72bfc447daf8571759eed87..c581d2b106f821eb952d781f8994a568c58e5bcf 100644
--- a/content/browser/renderer_host/render_view_host_delegate_view.h
+++ b/content/browser/renderer_host/render_view_host_delegate_view.h
@@ -61,6 +61,9 @@ class CONTENT_EXPORT RenderViewHostDelegateView {
// Notification that view for this delegate got the focus.
virtual void GotFocus() {}
+ // Notification that view for this delegate lost the focus.
+ virtual void Blured() {}
Avi (use Gerrit) 2017/05/16 15:16:20 LostFocus()
Hzj_jie 2017/05/16 19:39:27 Done.
+
// Callback to inform the browser that the page is returning the focus to
// the browser's chrome. If reverse is true, it means the focus was
// retrieved by doing a Shift-Tab.

Powered by Google App Engine
This is Rietveld 408576698