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

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

Issue 2702503002: Block renderer-initiated main frame navigations to data URLs (Closed)
Patch Set: Fix Android PDF tests where PDFs should be downloaded Created 3 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
« no previous file with comments | « content/public/test/test_navigation_observer.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 blink::WebPushClient* PushClient() override; 643 blink::WebPushClient* PushClient() override;
644 blink::WebPresentationClient* PresentationClient() override; 644 blink::WebPresentationClient* PresentationClient() override;
645 blink::WebRelatedAppsFetcher* GetRelatedAppsFetcher() override; 645 blink::WebRelatedAppsFetcher* GetRelatedAppsFetcher() override;
646 void WillStartUsingPeerConnectionHandler( 646 void WillStartUsingPeerConnectionHandler(
647 blink::WebRTCPeerConnectionHandler* handler) override; 647 blink::WebRTCPeerConnectionHandler* handler) override;
648 blink::WebUserMediaClient* UserMediaClient() override; 648 blink::WebUserMediaClient* UserMediaClient() override;
649 blink::WebEncryptedMediaClient* EncryptedMediaClient() override; 649 blink::WebEncryptedMediaClient* EncryptedMediaClient() override;
650 blink::WebString UserAgentOverride() override; 650 blink::WebString UserAgentOverride() override;
651 blink::WebString DoNotTrackValue() override; 651 blink::WebString DoNotTrackValue() override;
652 bool AllowWebGL(bool default_value) override; 652 bool AllowWebGL(bool default_value) override;
653 bool AllowContentInitiatedDataUrlNavigations(
654 const blink::WebURL& url) override;
653 blink::WebScreenOrientationClient* GetWebScreenOrientationClient() override; 655 blink::WebScreenOrientationClient* GetWebScreenOrientationClient() override;
654 void PostAccessibilityEvent(const blink::WebAXObject& obj, 656 void PostAccessibilityEvent(const blink::WebAXObject& obj,
655 blink::WebAXEvent event) override; 657 blink::WebAXEvent event) override;
656 void HandleAccessibilityFindInPageResult( 658 void HandleAccessibilityFindInPageResult(
657 int identifier, 659 int identifier,
658 int match_index, 660 int match_index,
659 const blink::WebAXObject& start_object, 661 const blink::WebAXObject& start_object,
660 int start_offset, 662 int start_offset,
661 const blink::WebAXObject& end_object, 663 const blink::WebAXObject& end_object,
662 int end_offset) override; 664 int end_offset) override;
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
1422 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; 1424 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_;
1423 1425
1424 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1426 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1425 1427
1426 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1428 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1427 }; 1429 };
1428 1430
1429 } // namespace content 1431 } // namespace content
1430 1432
1431 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1433 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/test/test_navigation_observer.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698