OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |