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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 virtual void WindowObjectCleared(WebFrame* webframe); | 197 virtual void WindowObjectCleared(WebFrame* webframe); |
198 virtual WindowOpenDisposition DispositionForNavigationAction( | 198 virtual WindowOpenDisposition DispositionForNavigationAction( |
199 WebView* webview, | 199 WebView* webview, |
200 WebFrame* frame, | 200 WebFrame* frame, |
201 const WebRequest* request, | 201 const WebRequest* request, |
202 WebNavigationType type, | 202 WebNavigationType type, |
203 WindowOpenDisposition disposition, | 203 WindowOpenDisposition disposition, |
204 bool is_redirect); | 204 bool is_redirect); |
205 | 205 |
206 virtual WebView* CreateWebView(WebView* webview, bool user_gesture); | 206 virtual WebView* CreateWebView(WebView* webview, bool user_gesture); |
207 virtual WebWidget* CreatePopupWidget(WebView* webview, | 207 virtual WebWidget* CreatePopupWidget(WebView* webview, bool activatable); |
208 bool focus_on_show); | |
209 virtual WebPluginDelegate* CreatePluginDelegate( | 208 virtual WebPluginDelegate* CreatePluginDelegate( |
210 WebView* webview, | 209 WebView* webview, |
211 const GURL& url, | 210 const GURL& url, |
212 const std::string& mime_type, | 211 const std::string& mime_type, |
213 const std::string& clsid, | 212 const std::string& clsid, |
214 std::string* actual_mime_type); | 213 std::string* actual_mime_type); |
215 virtual webkit_glue::WebMediaPlayerDelegate* CreateMediaPlayerDelegate(); | 214 virtual webkit_glue::WebMediaPlayerDelegate* CreateMediaPlayerDelegate(); |
216 virtual void OnMissingPluginStatus(WebPluginDelegate* delegate, int status); | 215 virtual void OnMissingPluginStatus(WebPluginDelegate* delegate, int status); |
217 virtual void OpenURL(WebView* webview, const GURL& url, | 216 virtual void OpenURL(WebView* webview, const GURL& url, |
218 const GURL& referrer, | 217 const GURL& referrer, |
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 // Time in seconds of the delay between syncing page state such as form | 723 // Time in seconds of the delay between syncing page state such as form |
725 // elements and scroll position. This timeout allows us to avoid spamming the | 724 // elements and scroll position. This timeout allows us to avoid spamming the |
726 // browser process with every little thing that changes. This normally doesn't | 725 // browser process with every little thing that changes. This normally doesn't |
727 // change but is overridden by tests. | 726 // change but is overridden by tests. |
728 int delay_seconds_for_form_state_sync_; | 727 int delay_seconds_for_form_state_sync_; |
729 | 728 |
730 DISALLOW_COPY_AND_ASSIGN(RenderView); | 729 DISALLOW_COPY_AND_ASSIGN(RenderView); |
731 }; | 730 }; |
732 | 731 |
733 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 732 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |