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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 129813006: Move DidReceiveServerRedirectForProvisionalLoad from RenderView to RenderFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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) 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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 blink::WebFrame* frame, 532 blink::WebFrame* frame,
533 const blink::WebVector<blink::WebString>& newly_matching_selectors, 533 const blink::WebVector<blink::WebString>& newly_matching_selectors,
534 const blink::WebVector<blink::WebString>& stopped_matching_selectors); 534 const blink::WebVector<blink::WebString>& stopped_matching_selectors);
535 virtual void willSendSubmitEvent(blink::WebFrame* frame, 535 virtual void willSendSubmitEvent(blink::WebFrame* frame,
536 const blink::WebFormElement& form); 536 const blink::WebFormElement& form);
537 virtual void willSubmitForm(blink::WebFrame* frame, 537 virtual void willSubmitForm(blink::WebFrame* frame,
538 const blink::WebFormElement& form); 538 const blink::WebFormElement& form);
539 virtual void didCreateDataSource(blink::WebFrame* frame, 539 virtual void didCreateDataSource(blink::WebFrame* frame,
540 blink::WebDataSource* datasource); 540 blink::WebDataSource* datasource);
541 virtual void didStartProvisionalLoad(blink::WebFrame* frame); 541 virtual void didStartProvisionalLoad(blink::WebFrame* frame);
542 virtual void didReceiveServerRedirectForProvisionalLoad(
543 blink::WebFrame* frame);
544 virtual void didFailProvisionalLoad(blink::WebFrame* frame, 542 virtual void didFailProvisionalLoad(blink::WebFrame* frame,
545 const blink::WebURLError& error); 543 const blink::WebURLError& error);
546 virtual void didCommitProvisionalLoad(blink::WebFrame* frame, 544 virtual void didCommitProvisionalLoad(blink::WebFrame* frame,
547 bool is_new_navigation); 545 bool is_new_navigation);
548 virtual void didClearWindowObject(blink::WebFrame* frame); 546 virtual void didClearWindowObject(blink::WebFrame* frame);
549 virtual void didCreateDocumentElement(blink::WebFrame* frame); 547 virtual void didCreateDocumentElement(blink::WebFrame* frame);
550 virtual void didReceiveTitle(blink::WebFrame* frame, 548 virtual void didReceiveTitle(blink::WebFrame* frame,
551 const blink::WebString& title, 549 const blink::WebString& title,
552 blink::WebTextDirection direction); 550 blink::WebTextDirection direction);
553 virtual void didChangeIcon(blink::WebFrame*, 551 virtual void didChangeIcon(blink::WebFrame*,
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 FRIEND_TEST_ALL_PREFIXES(SuppressErrorPageTest, DoesNotSuppress); 805 FRIEND_TEST_ALL_PREFIXES(SuppressErrorPageTest, DoesNotSuppress);
808 806
809 typedef std::map<GURL, double> HostZoomLevels; 807 typedef std::map<GURL, double> HostZoomLevels;
810 808
811 enum ErrorPageType { 809 enum ErrorPageType {
812 DNS_ERROR, 810 DNS_ERROR,
813 HTTP_404, 811 HTTP_404,
814 CONNECTION_ERROR, 812 CONNECTION_ERROR,
815 }; 813 };
816 814
815 static void GetRedirectChain(blink::WebDataSource* ds,
816 std::vector<GURL>* result);
817
817 static blink::WebReferrerPolicy GetReferrerPolicyFromRequest( 818 static blink::WebReferrerPolicy GetReferrerPolicyFromRequest(
818 blink::WebFrame* frame, 819 blink::WebFrame* frame,
819 const blink::WebURLRequest& request); 820 const blink::WebURLRequest& request);
820 821
821 static Referrer GetReferrerFromRequest( 822 static Referrer GetReferrerFromRequest(
822 blink::WebFrame* frame, 823 blink::WebFrame* frame,
823 const blink::WebURLRequest& request); 824 const blink::WebURLRequest& request);
824 825
825 static webkit_glue::WebURLResponseExtraDataImpl* GetExtraDataFromResponse( 826 static webkit_glue::WebURLResponseExtraDataImpl* GetExtraDataFromResponse(
826 const blink::WebURLResponse& response); 827 const blink::WebURLResponse& response);
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after
1520 // use the Observer interface to filter IPC messages and receive frame change 1521 // use the Observer interface to filter IPC messages and receive frame change
1521 // notifications. 1522 // notifications.
1522 // --------------------------------------------------------------------------- 1523 // ---------------------------------------------------------------------------
1523 1524
1524 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1525 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1525 }; 1526 };
1526 1527
1527 } // namespace content 1528 } // namespace content
1528 1529
1529 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1530 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698