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_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ |
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "content/public/browser/render_widget_host.h" | 12 #include "content/public/browser/render_widget_host.h" |
13 #include "content/public/common/file_chooser_params.h" | 13 #include "content/public/common/file_chooser_params.h" |
14 #include "content/public/common/page_zoom.h" | 14 #include "content/public/common/page_zoom.h" |
15 #include "mojo/public/cpp/system/core.h" | 15 #include "mojo/public/cpp/system/core.h" |
16 #include "third_party/WebKit/public/web/WebDragOperation.h" | 16 #include "third_party/WebKit/public/web/WebDragOperation.h" |
17 | 17 |
18 class GURL; | 18 class GURL; |
19 struct WebPreferences; | |
20 | |
21 namespace gfx { | |
22 class Point; | |
23 } | |
24 | 19 |
25 namespace base { | 20 namespace base { |
26 class FilePath; | 21 class FilePath; |
27 class Value; | 22 class Value; |
28 } | 23 } |
29 | 24 |
| 25 namespace blink { |
| 26 struct WebMediaPlayerAction; |
| 27 struct WebPluginAction; |
| 28 } |
| 29 |
| 30 namespace gfx { |
| 31 class Point; |
| 32 } |
| 33 |
30 namespace media { | 34 namespace media { |
31 class AudioOutputController; | 35 class AudioOutputController; |
32 } | 36 } |
33 | 37 |
34 namespace ui { | 38 namespace ui { |
35 struct SelectedFileInfo; | 39 struct SelectedFileInfo; |
36 } | 40 } |
37 | 41 |
38 namespace blink { | |
39 struct WebMediaPlayerAction; | |
40 struct WebPluginAction; | |
41 } | |
42 | |
43 namespace content { | 42 namespace content { |
44 | 43 |
45 class ChildProcessSecurityPolicy; | 44 class ChildProcessSecurityPolicy; |
46 class RenderFrameHost; | 45 class RenderFrameHost; |
47 class RenderViewHostDelegate; | 46 class RenderViewHostDelegate; |
48 class SessionStorageNamespace; | 47 class SessionStorageNamespace; |
49 class SiteInstance; | 48 class SiteInstance; |
50 struct DropData; | 49 struct DropData; |
| 50 struct WebPreferences; |
51 | 51 |
52 // A RenderViewHost is responsible for creating and talking to a RenderView | 52 // A RenderViewHost is responsible for creating and talking to a RenderView |
53 // object in a child process. It exposes a high level API to users, for things | 53 // object in a child process. It exposes a high level API to users, for things |
54 // like loading pages, adjusting the display and other browser functionality, | 54 // like loading pages, adjusting the display and other browser functionality, |
55 // which it translates into IPC messages sent over the IPC channel with the | 55 // which it translates into IPC messages sent over the IPC channel with the |
56 // RenderView. It responds to all IPC messages sent by that RenderView and | 56 // RenderView. It responds to all IPC messages sent by that RenderView and |
57 // cracks them, calling a delegate object back with higher level types where | 57 // cracks them, calling a delegate object back with higher level types where |
58 // possible. | 58 // possible. |
59 // | 59 // |
60 // The intent of this interface is to provide a view-agnostic communication | 60 // The intent of this interface is to provide a view-agnostic communication |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 | 224 |
225 private: | 225 private: |
226 // This interface should only be implemented inside content. | 226 // This interface should only be implemented inside content. |
227 friend class RenderViewHostImpl; | 227 friend class RenderViewHostImpl; |
228 RenderViewHost() {} | 228 RenderViewHost() {} |
229 }; | 229 }; |
230 | 230 |
231 } // namespace content | 231 } // namespace content |
232 | 232 |
233 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ | 233 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ |
OLD | NEW |