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

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: Created 4 years, 2 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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 bool shouldReportDetailedMessageForSource( 510 bool shouldReportDetailedMessageForSource(
511 const blink::WebString& source) override; 511 const blink::WebString& source) override;
512 void didAddMessageToConsole(const blink::WebConsoleMessage& message, 512 void didAddMessageToConsole(const blink::WebConsoleMessage& message,
513 const blink::WebString& source_name, 513 const blink::WebString& source_name,
514 unsigned source_line, 514 unsigned source_line,
515 const blink::WebString& stack_trace) override; 515 const blink::WebString& stack_trace) override;
516 void loadURLExternally(const blink::WebURLRequest& request, 516 void loadURLExternally(const blink::WebURLRequest& request,
517 blink::WebNavigationPolicy policy, 517 blink::WebNavigationPolicy policy,
518 const blink::WebString& suggested_name, 518 const blink::WebString& suggested_name,
519 bool should_replace_current_entry) override; 519 bool should_replace_current_entry) override;
520 void loadErrorPage(int reason) override;
520 blink::WebNavigationPolicy decidePolicyForNavigation( 521 blink::WebNavigationPolicy decidePolicyForNavigation(
521 const NavigationPolicyInfo& info) override; 522 const NavigationPolicyInfo& info) override;
522 blink::WebHistoryItem historyItemForNewChildFrame() override; 523 blink::WebHistoryItem historyItemForNewChildFrame() override;
523 void willSendSubmitEvent(const blink::WebFormElement& form) override; 524 void willSendSubmitEvent(const blink::WebFormElement& form) override;
524 void willSubmitForm(const blink::WebFormElement& form) override; 525 void willSubmitForm(const blink::WebFormElement& form) override;
525 void didCreateDataSource(blink::WebLocalFrame* frame, 526 void didCreateDataSource(blink::WebLocalFrame* frame,
526 blink::WebDataSource* datasource) override; 527 blink::WebDataSource* datasource) override;
527 void didStartProvisionalLoad(blink::WebLocalFrame* frame, 528 void didStartProvisionalLoad(blink::WebLocalFrame* frame,
528 double triggering_event_time) override; 529 double triggering_event_time) override;
529 void didReceiveServerRedirectForProvisionalLoad( 530 void didReceiveServerRedirectForProvisionalLoad(
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
1326 bool name_changed_before_first_commit_ = false; 1327 bool name_changed_before_first_commit_ = false;
1327 1328
1328 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1329 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1329 1330
1330 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1331 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1331 }; 1332 };
1332 1333
1333 } // namespace content 1334 } // namespace content
1334 1335
1335 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1336 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698