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

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: 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
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 HTMLFormElement*) override; 116 HTMLFormElement*) override;
117 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; 117 void dispatchWillSendSubmitEvent(HTMLFormElement*) override;
118 void dispatchWillSubmitForm(HTMLFormElement*) override; 118 void dispatchWillSubmitForm(HTMLFormElement*) override;
119 void didStartLoading(LoadStartType) override; 119 void didStartLoading(LoadStartType) override;
120 void didStopLoading() override; 120 void didStopLoading() override;
121 void progressEstimateChanged(double progressEstimate) override; 121 void progressEstimateChanged(double progressEstimate) override;
122 void loadURLExternally(const ResourceRequest&, 122 void loadURLExternally(const ResourceRequest&,
123 NavigationPolicy, 123 NavigationPolicy,
124 const String& suggestedName, 124 const String& suggestedName,
125 bool shouldReplaceCurrentEntry) override; 125 bool shouldReplaceCurrentEntry) override;
126 void loadErrorPage(int reason) override;
126 bool navigateBackForward(int offset) const override; 127 bool navigateBackForward(int offset) const override;
127 void didAccessInitialDocument() override; 128 void didAccessInitialDocument() override;
128 void didDisplayInsecureContent() override; 129 void didDisplayInsecureContent() override;
129 void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) override; 130 void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) override;
130 void didDetectXSS(const KURL&, bool didBlockEntirePage) override; 131 void didDetectXSS(const KURL&, bool didBlockEntirePage) override;
131 void didDispatchPingLoader(const KURL&) override; 132 void didDispatchPingLoader(const KURL&) override;
132 void didDisplayContentWithCertificateErrors(const KURL&) override; 133 void didDisplayContentWithCertificateErrors(const KURL&) override;
133 void didRunContentWithCertificateErrors(const KURL&) override; 134 void didRunContentWithCertificateErrors(const KURL&) override;
134 void didChangePerformanceTiming() override; 135 void didChangePerformanceTiming() override;
135 void didObserveLoadingBehavior(WebLoadingBehaviorFlag) override; 136 void didObserveLoadingBehavior(WebLoadingBehaviorFlag) override;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 238
238 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, 239 DEFINE_TYPE_CASTS(FrameLoaderClientImpl,
239 FrameLoaderClient, 240 FrameLoaderClient,
240 client, 241 client,
241 client->isFrameLoaderClientImpl(), 242 client->isFrameLoaderClientImpl(),
242 client.isFrameLoaderClientImpl()); 243 client.isFrameLoaderClientImpl());
243 244
244 } // namespace blink 245 } // namespace blink
245 246
246 #endif 247 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceError.h ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698