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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 2877323002: Add WebContentObserver::OnWebContentsLostFocus() (Closed)
Patch Set: Remove useless include 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/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 6f7d383ae9be776230a8b2e1e21da8c8c32735f6..2eb11eabb52c7048c0543d2f0544ef29028b7c2f 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -216,6 +216,9 @@ class CONTENT_EXPORT WebContentsImpl
// Notify observers that the web contents has been focused.
void NotifyWebContentsFocused();
+ // Notify observers that the web contents has lost focus.
+ void NotifyWebContentsLostFocus();
+
WebContentsView* GetView() const;
void OnScreenOrientationChange();
@@ -654,6 +657,7 @@ class CONTENT_EXPORT WebContentsImpl
void RenderWidgetCreated(RenderWidgetHostImpl* render_widget_host) override;
void RenderWidgetDeleted(RenderWidgetHostImpl* render_widget_host) override;
void RenderWidgetGotFocus(RenderWidgetHostImpl* render_widget_host) override;
+ void RenderWidgetLostFocus(RenderWidgetHostImpl* render_widget_host) override;
void RenderWidgetWasResized(RenderWidgetHostImpl* render_widget_host,
bool width_changed) override;
void ResizeDueToAutoResize(RenderWidgetHostImpl* render_widget_host,
« no previous file with comments | « content/browser/renderer_host/render_widget_host_owner_delegate.h ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698