OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_RENDERER_RENDER_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 bool is_redirect); | 232 bool is_redirect); |
233 | 233 |
234 virtual WebView* CreateWebView(WebView* webview, bool user_gesture); | 234 virtual WebView* CreateWebView(WebView* webview, bool user_gesture); |
235 virtual WebWidget* CreatePopupWidget(WebView* webview, bool activatable); | 235 virtual WebWidget* CreatePopupWidget(WebView* webview, bool activatable); |
236 virtual WebPluginDelegate* CreatePluginDelegate( | 236 virtual WebPluginDelegate* CreatePluginDelegate( |
237 WebView* webview, | 237 WebView* webview, |
238 const GURL& url, | 238 const GURL& url, |
239 const std::string& mime_type, | 239 const std::string& mime_type, |
240 const std::string& clsid, | 240 const std::string& clsid, |
241 std::string* actual_mime_type); | 241 std::string* actual_mime_type); |
| 242 virtual WebWorker* CreateWebWorker(WebWorkerClient* client); |
242 virtual webkit_glue::WebMediaPlayerDelegate* CreateMediaPlayerDelegate(); | 243 virtual webkit_glue::WebMediaPlayerDelegate* CreateMediaPlayerDelegate(); |
243 virtual void OnMissingPluginStatus(WebPluginDelegate* delegate, int status); | 244 virtual void OnMissingPluginStatus(WebPluginDelegate* delegate, int status); |
244 virtual void OpenURL(WebView* webview, const GURL& url, | 245 virtual void OpenURL(WebView* webview, const GURL& url, |
245 const GURL& referrer, | 246 const GURL& referrer, |
246 WindowOpenDisposition disposition); | 247 WindowOpenDisposition disposition); |
247 virtual void DidDownloadImage(int id, | 248 virtual void DidDownloadImage(int id, |
248 const GURL& image_url, | 249 const GURL& image_url, |
249 bool errored, | 250 bool errored, |
250 const SkBitmap& image); | 251 const SkBitmap& image); |
251 virtual GURL GetAlternateErrorPageURL(const GURL& failedURL, | 252 virtual GURL GetAlternateErrorPageURL(const GURL& failedURL, |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 // change but is overridden by tests. | 809 // change but is overridden by tests. |
809 int delay_seconds_for_form_state_sync_; | 810 int delay_seconds_for_form_state_sync_; |
810 | 811 |
811 // A set of audio renderers registered to use IPC for audio output. | 812 // A set of audio renderers registered to use IPC for audio output. |
812 IDMap<AudioRendererImpl> audio_renderers_; | 813 IDMap<AudioRendererImpl> audio_renderers_; |
813 | 814 |
814 DISALLOW_COPY_AND_ASSIGN(RenderView); | 815 DISALLOW_COPY_AND_ASSIGN(RenderView); |
815 }; | 816 }; |
816 | 817 |
817 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 818 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |