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_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ |
6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ | 6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/file_path.h" | |
10 #include "base/process.h" | |
9 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
10 #include "ipc/ipc_message.h" | 12 #include "ipc/ipc_message.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h " | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNavigationPolicy.h " |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityStat e.h" |
13 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
14 | 16 |
15 struct WebPreferences; | 17 struct WebPreferences; |
16 | 18 |
17 namespace WebKit { | 19 namespace WebKit { |
18 class WebFrame; | 20 class WebFrame; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
121 // Displays a modal alert dialog containing the given message. Returns | 123 // Displays a modal alert dialog containing the given message. Returns |
122 // once the user dismisses the dialog. | 124 // once the user dismisses the dialog. |
123 virtual void RunModalAlertDialog(WebKit::WebFrame* frame, | 125 virtual void RunModalAlertDialog(WebKit::WebFrame* frame, |
124 const WebKit::WebString& message) = 0; | 126 const WebKit::WebString& message) = 0; |
125 | 127 |
126 // The client should handle the navigation externally. | 128 // The client should handle the navigation externally. |
127 virtual void LoadURLExternally( | 129 virtual void LoadURLExternally( |
128 WebKit::WebFrame* frame, | 130 WebKit::WebFrame* frame, |
129 const WebKit::WebURLRequest& request, | 131 const WebKit::WebURLRequest& request, |
130 WebKit::WebNavigationPolicy policy) = 0; | 132 WebKit::WebNavigationPolicy policy) = 0; |
133 | |
134 // Creates the renderer side of an out-of-process Pepper plugin's IPC proxy. | |
135 virtual void CreateHostDispatcher( | |
dmichael (off chromium)
2012/04/27 17:14:36
It would probably make sense to make the name clea
bbudge
2012/04/27 17:46:56
Done.
| |
136 const FilePath& plugin_path, | |
137 int plugin_child_id, | |
138 base::ProcessHandle plugin_process_handle, | |
139 const std::string& channel_handle_name) = 0; | |
dmichael (off chromium)
2012/04/27 17:14:36
linter is pointing out you should include string..
bbudge
2012/04/27 17:46:56
Done.
| |
131 }; | 140 }; |
132 | 141 |
133 } // namespace content | 142 } // namespace content |
134 | 143 |
135 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ | 144 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |