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

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.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 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 bool isClientRedirect) override; 117 bool isClientRedirect) override;
118 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; 118 void dispatchWillSendSubmitEvent(HTMLFormElement*) override;
119 void dispatchWillSubmitForm(HTMLFormElement*) override; 119 void dispatchWillSubmitForm(HTMLFormElement*) override;
120 void didStartLoading(LoadStartType) override; 120 void didStartLoading(LoadStartType) override;
121 void didStopLoading() override; 121 void didStopLoading() override;
122 void progressEstimateChanged(double progressEstimate) override; 122 void progressEstimateChanged(double progressEstimate) override;
123 void loadURLExternally(const ResourceRequest&, 123 void loadURLExternally(const ResourceRequest&,
124 NavigationPolicy, 124 NavigationPolicy,
125 const String& suggestedName, 125 const String& suggestedName,
126 bool shouldReplaceCurrentEntry) override; 126 bool shouldReplaceCurrentEntry) override;
127 void loadErrorPage(int reason) override;
127 bool navigateBackForward(int offset) const override; 128 bool navigateBackForward(int offset) const override;
128 void didAccessInitialDocument() override; 129 void didAccessInitialDocument() override;
129 void didDisplayInsecureContent() override; 130 void didDisplayInsecureContent() override;
130 void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) override; 131 void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) override;
131 void didDetectXSS(const KURL&, bool didBlockEntirePage) override; 132 void didDetectXSS(const KURL&, bool didBlockEntirePage) override;
132 void didDispatchPingLoader(const KURL&) override; 133 void didDispatchPingLoader(const KURL&) override;
133 void didDisplayContentWithCertificateErrors(const KURL&) override; 134 void didDisplayContentWithCertificateErrors(const KURL&) override;
134 void didRunContentWithCertificateErrors(const KURL&) override; 135 void didRunContentWithCertificateErrors(const KURL&) override;
135 void didChangePerformanceTiming() override; 136 void didChangePerformanceTiming() override;
136 void didObserveLoadingBehavior(WebLoadingBehaviorFlag) override; 137 void didObserveLoadingBehavior(WebLoadingBehaviorFlag) override;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 235
235 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, 236 DEFINE_TYPE_CASTS(FrameLoaderClientImpl,
236 FrameLoaderClient, 237 FrameLoaderClient,
237 client, 238 client,
238 client->isFrameLoaderClientImpl(), 239 client->isFrameLoaderClientImpl(),
239 client.isFrameLoaderClientImpl()); 240 client.isFrameLoaderClientImpl());
240 241
241 } // namespace blink 242 } // namespace blink
242 243
243 #endif 244 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698