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 "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "content/public/common/drop_data.h" | 12 #include "content/public/common/drop_data.h" |
13 #include "content/public/common/page_zoom.h" | 13 #include "content/public/common/page_zoom.h" |
14 #include "ipc/ipc_sender.h" | 14 #include "ipc/ipc_sender.h" |
15 #include "mojo/public/cpp/system/core.h" | 15 #include "mojo/public/cpp/system/core.h" |
16 #include "third_party/WebKit/public/platform/WebDragOperation.h" | 16 #include "third_party/WebKit/public/platform/WebDragOperation.h" |
17 | 17 |
18 class GURL; | |
19 | |
20 namespace base { | 18 namespace base { |
21 class FilePath; | 19 class FilePath; |
22 class Value; | |
23 } | 20 } |
24 | 21 |
25 namespace blink { | 22 namespace blink { |
26 struct WebMediaPlayerAction; | 23 struct WebMediaPlayerAction; |
27 struct WebPluginAction; | 24 struct WebPluginAction; |
28 } | 25 } |
29 | 26 |
30 namespace gfx { | 27 namespace gfx { |
31 class Point; | 28 class Point; |
32 class Size; | 29 class Size; |
33 } | 30 } |
34 | 31 |
35 namespace content { | 32 namespace content { |
36 | 33 |
37 class ChildProcessSecurityPolicy; | |
38 class RenderFrameHost; | 34 class RenderFrameHost; |
39 class RenderProcessHost; | 35 class RenderProcessHost; |
40 class RenderViewHostDelegate; | 36 class RenderViewHostDelegate; |
41 class RenderWidgetHost; | 37 class RenderWidgetHost; |
42 class SessionStorageNamespace; | |
43 class SiteInstance; | 38 class SiteInstance; |
44 struct WebPreferences; | 39 struct WebPreferences; |
45 | 40 |
46 // A RenderViewHost is responsible for creating and talking to a RenderView | 41 // A RenderViewHost is responsible for creating and talking to a RenderView |
47 // object in a child process. It exposes a high level API to users, for things | 42 // object in a child process. It exposes a high level API to users, for things |
48 // like loading pages, adjusting the display and other browser functionality, | 43 // like loading pages, adjusting the display and other browser functionality, |
49 // which it translates into IPC messages sent over the IPC channel with the | 44 // which it translates into IPC messages sent over the IPC channel with the |
50 // RenderView. It responds to all IPC messages sent by that RenderView and | 45 // RenderView. It responds to all IPC messages sent by that RenderView and |
51 // cracks them, calling a delegate object back with higher level types where | 46 // cracks them, calling a delegate object back with higher level types where |
52 // possible. | 47 // possible. |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 | 205 |
211 private: | 206 private: |
212 // This interface should only be implemented inside content. | 207 // This interface should only be implemented inside content. |
213 friend class RenderViewHostImpl; | 208 friend class RenderViewHostImpl; |
214 RenderViewHost() {} | 209 RenderViewHost() {} |
215 }; | 210 }; |
216 | 211 |
217 } // namespace content | 212 } // namespace content |
218 | 213 |
219 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ | 214 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ |
OLD | NEW |