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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 // Requests the renderer to move the selection extent to a new position. 89 // Requests the renderer to move the selection extent to a new position.
90 virtual void MoveRangeSelectionExtent(const gfx::Point& extent) {} 90 virtual void MoveRangeSelectionExtent(const gfx::Point& extent) {}
91 91
92 // Requests the renderer to select the region between two points in the 92 // Requests the renderer to select the region between two points in the
93 // currently focused frame. 93 // currently focused frame.
94 virtual void SelectRange(const gfx::Point& base, const gfx::Point& extent) {} 94 virtual void SelectRange(const gfx::Point& base, const gfx::Point& extent) {}
95 95
96 virtual RenderWidgetHostInputEventRouter* GetInputEventRouter(); 96 virtual RenderWidgetHostInputEventRouter* GetInputEventRouter();
97 97
98 // Send page-level focus state to all SiteInstances involved in rendering the
99 // current FrameTree, not including the main frame's SiteInstance.
100 virtual void ReplicatePageFocus(bool is_focused) {}
101
98 #if defined(OS_WIN) 102 #if defined(OS_WIN)
99 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); 103 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
100 #endif 104 #endif
101 105
102 protected: 106 protected:
103 virtual ~RenderWidgetHostDelegate() {} 107 virtual ~RenderWidgetHostDelegate() {}
104 }; 108 };
105 109
106 } // namespace content 110 } // namespace content
107 111
108 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 112 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698