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

Unified Diff: content/renderer/render_view_impl.h

Issue 1394383002: OOPIF: Send page-level focus messages to all processes rendering a page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 2 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/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 2586931bf562a7b643123a58a6530392d7bc2e58..f93eea811a0dcddeb252c28fbace76df3060dec7 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -235,6 +235,10 @@ class CONTENT_EXPORT RenderViewImpl
// Indicates whether this page has been focused by the browser.
bool has_focus() const { return has_focus_; }
+ // Sets page-level focus in this view and notifies plugins and Blink's
+ // FocusController.
+ void SetFocus(bool enable);
+
// Plugin-related functions --------------------------------------------------
#if defined(ENABLE_PLUGINS)

Powered by Google App Engine
This is Rietveld 408576698