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

Unified Diff: content/browser/renderer_host/render_widget_host_delegate.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: Move ReplicatePageFocus to FrameTree 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/browser/renderer_host/render_widget_host_delegate.h
diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h
index 5a20a8d8b78b45aa9eb99180addc96163a7072a2..3973fdcfa89bee1533a1b10fb3784b81fc62a7a2 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -19,6 +19,10 @@ namespace gfx {
class Point;
}
+namespace IPC {
+class Message;
nasko 2015/10/16 23:06:30 Why is this forward declared here? I don't see any
alexmos 2015/10/16 23:23:30 Oops, removed. This sneaked through from a previo
+}
+
namespace content {
class BrowserAccessibilityManager;
@@ -95,6 +99,10 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
virtual RenderWidgetHostInputEventRouter* GetInputEventRouter();
+ // Send page-level focus state to all SiteInstances involved in rendering the
+ // current FrameTree, not including the main frame's SiteInstance.
+ virtual void ReplicatePageFocus(bool is_focused) {}
+
#if defined(OS_WIN)
virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
#endif

Powered by Google App Engine
This is Rietveld 408576698