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

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

Issue 2425663002: Add an error page for resources blocked via XSS Auditor. (Closed)
Patch Set: Test. Created 4 years 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 | « components/test_runner/web_frame_test_client.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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 bool shouldReportDetailedMessageForSource( 504 bool shouldReportDetailedMessageForSource(
505 const blink::WebString& source) override; 505 const blink::WebString& source) override;
506 void didAddMessageToConsole(const blink::WebConsoleMessage& message, 506 void didAddMessageToConsole(const blink::WebConsoleMessage& message,
507 const blink::WebString& source_name, 507 const blink::WebString& source_name,
508 unsigned source_line, 508 unsigned source_line,
509 const blink::WebString& stack_trace) override; 509 const blink::WebString& stack_trace) override;
510 void loadURLExternally(const blink::WebURLRequest& request, 510 void loadURLExternally(const blink::WebURLRequest& request,
511 blink::WebNavigationPolicy policy, 511 blink::WebNavigationPolicy policy,
512 const blink::WebString& suggested_name, 512 const blink::WebString& suggested_name,
513 bool should_replace_current_entry) override; 513 bool should_replace_current_entry) override;
514 void loadErrorPage(int reason) override;
514 blink::WebNavigationPolicy decidePolicyForNavigation( 515 blink::WebNavigationPolicy decidePolicyForNavigation(
515 const NavigationPolicyInfo& info) override; 516 const NavigationPolicyInfo& info) override;
516 blink::WebHistoryItem historyItemForNewChildFrame() override; 517 blink::WebHistoryItem historyItemForNewChildFrame() override;
517 void willSendSubmitEvent(const blink::WebFormElement& form) override; 518 void willSendSubmitEvent(const blink::WebFormElement& form) override;
518 void willSubmitForm(const blink::WebFormElement& form) override; 519 void willSubmitForm(const blink::WebFormElement& form) override;
519 void didCreateDataSource(blink::WebLocalFrame* frame, 520 void didCreateDataSource(blink::WebLocalFrame* frame,
520 blink::WebDataSource* datasource) override; 521 blink::WebDataSource* datasource) override;
521 void didStartProvisionalLoad(blink::WebLocalFrame* frame) override; 522 void didStartProvisionalLoad(blink::WebLocalFrame* frame) override;
522 void didReceiveServerRedirectForProvisionalLoad( 523 void didReceiveServerRedirectForProvisionalLoad(
523 blink::WebLocalFrame* frame) override; 524 blink::WebLocalFrame* frame) override;
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 bool browser_side_navigation_pending_ = false; 1343 bool browser_side_navigation_pending_ = false;
1343 1344
1344 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1345 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1345 1346
1346 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1347 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1347 }; 1348 };
1348 1349
1349 } // namespace content 1350 } // namespace content
1350 1351
1351 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1352 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « components/test_runner/web_frame_test_client.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698