Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Side by Side Diff: chrome/renderer/render_view.h

Issue 271087: LTTF: Implement WebFrameLoaderClient::dispatchUnableToImplementPolicy() and so on (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 } 80 }
81 81
82 namespace webkit_glue { 82 namespace webkit_glue {
83 struct FileUploadData; 83 struct FileUploadData;
84 } 84 }
85 85
86 namespace WebKit { 86 namespace WebKit {
87 class WebDragData; 87 class WebDragData;
88 class WebMediaPlayer; 88 class WebMediaPlayer;
89 class WebMediaPlayerClient; 89 class WebMediaPlayerClient;
90 class WebURLRequest;
90 struct WebFindOptions; 91 struct WebFindOptions;
91 } 92 }
92 93
93 // We need to prevent a page from trying to create infinite popups. It is not 94 // We need to prevent a page from trying to create infinite popups. It is not
94 // as simple as keeping a count of the number of immediate children 95 // as simple as keeping a count of the number of immediate children
95 // popups. Having an html file that window.open()s itself would create 96 // popups. Having an html file that window.open()s itself would create
96 // an unlimited chain of RenderViews who only have one RenderView child. 97 // an unlimited chain of RenderViews who only have one RenderView child.
97 // 98 //
98 // Therefore, each new top level RenderView creates a new counter and shares it 99 // Therefore, each new top level RenderView creates a new counter and shares it
99 // with all its children and grandchildren popup RenderViews created with 100 // with all its children and grandchildren popup RenderViews created with
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 virtual WebKit::WebMediaPlayer* createMediaPlayer( 282 virtual WebKit::WebMediaPlayer* createMediaPlayer(
282 WebKit::WebFrame* frame, WebKit::WebMediaPlayerClient* client); 283 WebKit::WebFrame* frame, WebKit::WebMediaPlayerClient* client);
283 virtual void willClose(WebKit::WebFrame* frame); 284 virtual void willClose(WebKit::WebFrame* frame);
284 virtual void loadURLExternally( 285 virtual void loadURLExternally(
285 WebKit::WebFrame* frame, const WebKit::WebURLRequest& request, 286 WebKit::WebFrame* frame, const WebKit::WebURLRequest& request,
286 WebKit::WebNavigationPolicy policy); 287 WebKit::WebNavigationPolicy policy);
287 virtual WebKit::WebNavigationPolicy decidePolicyForNavigation( 288 virtual WebKit::WebNavigationPolicy decidePolicyForNavigation(
288 WebKit::WebFrame* frame, const WebKit::WebURLRequest& request, 289 WebKit::WebFrame* frame, const WebKit::WebURLRequest& request,
289 WebKit::WebNavigationType type, const WebKit::WebNode&, 290 WebKit::WebNavigationType type, const WebKit::WebNode&,
290 WebKit::WebNavigationPolicy default_policy, bool is_redirect); 291 WebKit::WebNavigationPolicy default_policy, bool is_redirect);
292 virtual bool canHandleRequest(const WebKit::WebURLRequest& request);
293 virtual WebKit::WebURLError cannotShowURLError(
294 const WebKit::WebURLRequest& request);
295 virtual void unableToImplementPolicyWithError(
296 WebKit::WebFrame* frame, const WebKit::WebURLError& error);
291 virtual void willSubmitForm(WebKit::WebFrame* frame, 297 virtual void willSubmitForm(WebKit::WebFrame* frame,
292 const WebKit::WebForm& form); 298 const WebKit::WebForm& form);
293 virtual void willPerformClientRedirect( 299 virtual void willPerformClientRedirect(
294 WebKit::WebFrame* frame, const WebKit::WebURL& from, 300 WebKit::WebFrame* frame, const WebKit::WebURL& from,
295 const WebKit::WebURL& to, double interval, double fire_time); 301 const WebKit::WebURL& to, double interval, double fire_time);
296 virtual void didCancelClientRedirect(WebKit::WebFrame* frame); 302 virtual void didCancelClientRedirect(WebKit::WebFrame* frame);
297 virtual void didCompleteClientRedirect( 303 virtual void didCompleteClientRedirect(
298 WebKit::WebFrame* frame, const WebKit::WebURL& from); 304 WebKit::WebFrame* frame, const WebKit::WebURL& from);
299 virtual void didCreateDataSource( 305 virtual void didCreateDataSource(
300 WebKit::WebFrame* frame, WebKit::WebDataSource* datasource); 306 WebKit::WebFrame* frame, WebKit::WebDataSource* datasource);
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 // ImageResourceFetchers schedule via DownloadImage. 989 // ImageResourceFetchers schedule via DownloadImage.
984 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; 990 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet;
985 ImageResourceFetcherSet image_fetchers_; 991 ImageResourceFetcherSet image_fetchers_;
986 992
987 typedef std::map<WebView*, RenderView*> ViewMap; 993 typedef std::map<WebView*, RenderView*> ViewMap;
988 994
989 DISALLOW_COPY_AND_ASSIGN(RenderView); 995 DISALLOW_COPY_AND_ASSIGN(RenderView);
990 }; 996 };
991 997
992 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 998 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/render_view.cc » ('j') | webkit/tools/test_shell/test_webview_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698