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" |
11 #include "ui/gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 class WebMouseWheelEvent; | 14 class WebMouseWheelEvent; |
15 class WebGestureEvent; | 15 class WebGestureEvent; |
16 } | 16 } |
17 | 17 |
18 namespace gfx { | 18 namespace gfx { |
19 class Point; | 19 class Point; |
20 } | 20 } |
21 | 21 |
22 namespace IPC { | |
23 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
| |
24 } | |
25 | |
22 namespace content { | 26 namespace content { |
23 | 27 |
24 class BrowserAccessibilityManager; | 28 class BrowserAccessibilityManager; |
25 class RenderWidgetHostImpl; | 29 class RenderWidgetHostImpl; |
26 class RenderWidgetHostInputEventRouter; | 30 class RenderWidgetHostInputEventRouter; |
27 struct NativeWebKeyboardEvent; | 31 struct NativeWebKeyboardEvent; |
28 | 32 |
29 // | 33 // |
30 // RenderWidgetHostDelegate | 34 // RenderWidgetHostDelegate |
31 // | 35 // |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
88 | 92 |
89 // Requests the renderer to move the selection extent to a new position. | 93 // Requests the renderer to move the selection extent to a new position. |
90 virtual void MoveRangeSelectionExtent(const gfx::Point& extent) {} | 94 virtual void MoveRangeSelectionExtent(const gfx::Point& extent) {} |
91 | 95 |
92 // Requests the renderer to select the region between two points in the | 96 // Requests the renderer to select the region between two points in the |
93 // currently focused frame. | 97 // currently focused frame. |
94 virtual void SelectRange(const gfx::Point& base, const gfx::Point& extent) {} | 98 virtual void SelectRange(const gfx::Point& base, const gfx::Point& extent) {} |
95 | 99 |
96 virtual RenderWidgetHostInputEventRouter* GetInputEventRouter(); | 100 virtual RenderWidgetHostInputEventRouter* GetInputEventRouter(); |
97 | 101 |
102 // Send page-level focus state to all SiteInstances involved in rendering the | |
103 // current FrameTree, not including the main frame's SiteInstance. | |
104 virtual void ReplicatePageFocus(bool is_focused) {} | |
105 | |
98 #if defined(OS_WIN) | 106 #if defined(OS_WIN) |
99 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); | 107 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); |
100 #endif | 108 #endif |
101 | 109 |
102 protected: | 110 protected: |
103 virtual ~RenderWidgetHostDelegate() {} | 111 virtual ~RenderWidgetHostDelegate() {} |
104 }; | 112 }; |
105 | 113 |
106 } // namespace content | 114 } // namespace content |
107 | 115 |
108 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ | 116 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ |
OLD | NEW |