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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 bool is_redirect); | 225 bool is_redirect); |
226 | 226 |
227 virtual WebView* CreateWebView(WebView* webview, bool user_gesture); | 227 virtual WebView* CreateWebView(WebView* webview, bool user_gesture); |
228 virtual WebWidget* CreatePopupWidget(WebView* webview, bool activatable); | 228 virtual WebWidget* CreatePopupWidget(WebView* webview, bool activatable); |
229 virtual WebPluginDelegate* CreatePluginDelegate( | 229 virtual WebPluginDelegate* CreatePluginDelegate( |
230 WebView* webview, | 230 WebView* webview, |
231 const GURL& url, | 231 const GURL& url, |
232 const std::string& mime_type, | 232 const std::string& mime_type, |
233 const std::string& clsid, | 233 const std::string& clsid, |
234 std::string* actual_mime_type); | 234 std::string* actual_mime_type); |
| 235 virtual WebWorkerContextProxy* CreateWebWorker(); |
235 virtual webkit_glue::WebMediaPlayerDelegate* CreateMediaPlayerDelegate(); | 236 virtual webkit_glue::WebMediaPlayerDelegate* CreateMediaPlayerDelegate(); |
236 virtual void OnMissingPluginStatus(WebPluginDelegate* delegate, int status); | 237 virtual void OnMissingPluginStatus(WebPluginDelegate* delegate, int status); |
237 virtual void OpenURL(WebView* webview, const GURL& url, | 238 virtual void OpenURL(WebView* webview, const GURL& url, |
238 const GURL& referrer, | 239 const GURL& referrer, |
239 WindowOpenDisposition disposition); | 240 WindowOpenDisposition disposition); |
240 virtual void DidDownloadImage(int id, | 241 virtual void DidDownloadImage(int id, |
241 const GURL& image_url, | 242 const GURL& image_url, |
242 bool errored, | 243 bool errored, |
243 const SkBitmap& image); | 244 const SkBitmap& image); |
244 virtual GURL GetAlternateErrorPageURL(const GURL& failedURL, | 245 virtual GURL GetAlternateErrorPageURL(const GURL& failedURL, |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 // Time in seconds of the delay between syncing page state such as form | 750 // Time in seconds of the delay between syncing page state such as form |
750 // elements and scroll position. This timeout allows us to avoid spamming the | 751 // elements and scroll position. This timeout allows us to avoid spamming the |
751 // browser process with every little thing that changes. This normally doesn't | 752 // browser process with every little thing that changes. This normally doesn't |
752 // change but is overridden by tests. | 753 // change but is overridden by tests. |
753 int delay_seconds_for_form_state_sync_; | 754 int delay_seconds_for_form_state_sync_; |
754 | 755 |
755 DISALLOW_COPY_AND_ASSIGN(RenderView); | 756 DISALLOW_COPY_AND_ASSIGN(RenderView); |
756 }; | 757 }; |
757 | 758 |
758 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 759 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |