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

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

Powered by Google App Engine
This is Rietveld 408576698