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: third_party/WebKit/Source/web/FrameLoaderClientImpl.h

Issue 2425663002: Add an error page for resources blocked via XSS Auditor. (Closed)
Patch Set: Words. 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 /* 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 237
237 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, 238 DEFINE_TYPE_CASTS(FrameLoaderClientImpl,
238 FrameLoaderClient, 239 FrameLoaderClient,
239 client, 240 client,
240 client->isFrameLoaderClientImpl(), 241 client->isFrameLoaderClientImpl(),
241 client.isFrameLoaderClientImpl()); 242 client.isFrameLoaderClientImpl());
242 243
243 } // namespace blink 244 } // namespace blink
244 245
245 #endif 246 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698