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

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

Issue 14188060: Change decidePolicyForNavigation() to takea WebDataSource::ExtraData (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 const WebKit::WebString& name); 528 const WebKit::WebString& name);
529 virtual void loadURLExternally(WebKit::WebFrame* frame, 529 virtual void loadURLExternally(WebKit::WebFrame* frame,
530 const WebKit::WebURLRequest& request, 530 const WebKit::WebURLRequest& request,
531 WebKit::WebNavigationPolicy policy); 531 WebKit::WebNavigationPolicy policy);
532 virtual void loadURLExternally(WebKit::WebFrame* frame, 532 virtual void loadURLExternally(WebKit::WebFrame* frame,
533 const WebKit::WebURLRequest& request, 533 const WebKit::WebURLRequest& request,
534 WebKit::WebNavigationPolicy policy, 534 WebKit::WebNavigationPolicy policy,
535 const WebKit::WebString& suggested_name); 535 const WebKit::WebString& suggested_name);
536 virtual WebKit::WebNavigationPolicy decidePolicyForNavigation( 536 virtual WebKit::WebNavigationPolicy decidePolicyForNavigation(
537 WebKit::WebFrame* frame, 537 WebKit::WebFrame* frame,
538 WebKit::WebDataSource* dataSource, 538 WebKit::WebDataSource::ExtraData* extraData,
539 const WebKit::WebURLRequest& request, 539 const WebKit::WebURLRequest& request,
540 WebKit::WebNavigationType type, 540 WebKit::WebNavigationType type,
541 WebKit::WebNavigationPolicy default_policy, 541 WebKit::WebNavigationPolicy default_policy,
542 bool is_redirect); 542 bool is_redirect);
543 // DEPRECATED. 543 // DEPRECATED.
544 virtual WebKit::WebNavigationPolicy decidePolicyForNavigation( 544 virtual WebKit::WebNavigationPolicy decidePolicyForNavigation(
545 WebKit::WebFrame* frame, 545 WebKit::WebFrame* frame,
546 const WebKit::WebURLRequest& request, 546 const WebKit::WebURLRequest& request,
547 WebKit::WebNavigationType type, 547 WebKit::WebNavigationType type,
548 WebKit::WebNavigationPolicy default_policy, 548 WebKit::WebNavigationPolicy default_policy,
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 friend class ExternalPopupMenuTest; 820 friend class ExternalPopupMenuTest;
821 friend class PepperDeviceTest; 821 friend class PepperDeviceTest;
822 friend class RendererAccessibilityTest; 822 friend class RendererAccessibilityTest;
823 friend class RenderViewTest; 823 friend class RenderViewTest;
824 824
825 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange); 825 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange);
826 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, NormalCase); 826 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, NormalCase);
827 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate); 827 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate);
828 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, DecideNavigationPolicyForWebUI); 828 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, DecideNavigationPolicyForWebUI);
829 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, 829 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
830 DidFailProvisionalLoadWithErrorForError);
831 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
832 DidFailProvisionalLoadWithErrorForCancellation);
833 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
830 DontIgnoreBackAfterNavEntryLimit); 834 DontIgnoreBackAfterNavEntryLimit);
831 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ImeComposition); 835 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ImeComposition);
832 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, InsertCharacters); 836 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, InsertCharacters);
833 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, JSBlockSentAfterPageLoad); 837 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, JSBlockSentAfterPageLoad);
834 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, LastCommittedUpdateState); 838 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, LastCommittedUpdateState);
835 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnExtendSelectionAndDelete); 839 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnExtendSelectionAndDelete);
836 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnHandleKeyboardEvent); 840 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnHandleKeyboardEvent);
837 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnImeStateChanged); 841 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnImeStateChanged);
838 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnNavStateChanged); 842 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnNavStateChanged);
839 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnSetTextDirection); 843 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnSetTextDirection);
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
1526 // use the Observer interface to filter IPC messages and receive frame change 1530 // use the Observer interface to filter IPC messages and receive frame change
1527 // notifications. 1531 // notifications.
1528 // --------------------------------------------------------------------------- 1532 // ---------------------------------------------------------------------------
1529 1533
1530 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1534 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1531 }; 1535 };
1532 1536
1533 } // namespace content 1537 } // namespace content
1534 1538
1535 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1539 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698