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

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

Issue 2702503002: Block renderer-initiated main frame navigations to data URLs (Closed)
Patch Set: Re-block data to data navigations, rebase, address nasko comments 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
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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 blink::WebPushClient* pushClient() override; 644 blink::WebPushClient* pushClient() override;
645 blink::WebPresentationClient* presentationClient() override; 645 blink::WebPresentationClient* presentationClient() override;
646 blink::WebRelatedAppsFetcher* getRelatedAppsFetcher() override; 646 blink::WebRelatedAppsFetcher* getRelatedAppsFetcher() override;
647 void willStartUsingPeerConnectionHandler( 647 void willStartUsingPeerConnectionHandler(
648 blink::WebRTCPeerConnectionHandler* handler) override; 648 blink::WebRTCPeerConnectionHandler* handler) override;
649 blink::WebUserMediaClient* userMediaClient() override; 649 blink::WebUserMediaClient* userMediaClient() override;
650 blink::WebEncryptedMediaClient* encryptedMediaClient() override; 650 blink::WebEncryptedMediaClient* encryptedMediaClient() override;
651 blink::WebString userAgentOverride() override; 651 blink::WebString userAgentOverride() override;
652 blink::WebString doNotTrackValue() override; 652 blink::WebString doNotTrackValue() override;
653 bool allowWebGL(bool default_value) override; 653 bool allowWebGL(bool default_value) override;
654 bool allowInsecureDataUrlNavigations(const blink::WebURL& url) override;
654 blink::WebScreenOrientationClient* webScreenOrientationClient() override; 655 blink::WebScreenOrientationClient* webScreenOrientationClient() override;
655 void postAccessibilityEvent(const blink::WebAXObject& obj, 656 void postAccessibilityEvent(const blink::WebAXObject& obj,
656 blink::WebAXEvent event) override; 657 blink::WebAXEvent event) override;
657 void handleAccessibilityFindInPageResult( 658 void handleAccessibilityFindInPageResult(
658 int identifier, 659 int identifier,
659 int match_index, 660 int match_index,
660 const blink::WebAXObject& start_object, 661 const blink::WebAXObject& start_object,
661 int start_offset, 662 int start_offset,
662 const blink::WebAXObject& end_object, 663 const blink::WebAXObject& end_object,
663 int end_offset) override; 664 int end_offset) override;
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
1423 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; 1424 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_;
1424 1425
1425 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1426 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1426 1427
1427 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1428 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1428 }; 1429 };
1429 1430
1430 } // namespace content 1431 } // namespace content
1431 1432
1432 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1433 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698