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

Side by Side Diff: third_party/WebKit/Source/core/loader/EmptyClients.h

Issue 2756913002: Revert of PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Created 3 years, 9 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) 2006 Eric Seidel (eric@webkit.org) 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org)
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 void dispatchDidReceiveTitle(const String&) override {} 273 void dispatchDidReceiveTitle(const String&) override {}
274 void dispatchDidChangeIcons(IconType) override {} 274 void dispatchDidChangeIcons(IconType) override {}
275 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {} 275 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {}
276 void dispatchDidFailProvisionalLoad(const ResourceError&, 276 void dispatchDidFailProvisionalLoad(const ResourceError&,
277 HistoryCommitType) override {} 277 HistoryCommitType) override {}
278 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override {} 278 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override {}
279 void dispatchDidFinishDocumentLoad() override {} 279 void dispatchDidFinishDocumentLoad() override {}
280 void dispatchDidFinishLoad() override {} 280 void dispatchDidFinishLoad() override {}
281 void dispatchDidChangeThemeColor() override {} 281 void dispatchDidChangeThemeColor() override {}
282 282
283 NavigationPolicy decidePolicyForNavigation( 283 NavigationPolicy decidePolicyForNavigation(const ResourceRequest&,
284 const ResourceRequest&, 284 DocumentLoader*,
285 DocumentLoader*, 285 NavigationType,
286 NavigationType, 286 NavigationPolicy,
287 NavigationPolicy, 287 bool,
288 bool, 288 bool,
289 bool, 289 HTMLFormElement*) override;
290 HTMLFormElement*,
291 ContentSecurityPolicyDisposition) override;
292 290
293 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; 291 void dispatchWillSendSubmitEvent(HTMLFormElement*) override;
294 void dispatchWillSubmitForm(HTMLFormElement*) override; 292 void dispatchWillSubmitForm(HTMLFormElement*) override;
295 293
296 void didStartLoading(LoadStartType) override {} 294 void didStartLoading(LoadStartType) override {}
297 void progressEstimateChanged(double) override {} 295 void progressEstimateChanged(double) override {}
298 void didStopLoading() override {} 296 void didStopLoading() override {}
299 297
300 void loadURLExternally(const ResourceRequest&, 298 void loadURLExternally(const ResourceRequest&,
301 NavigationPolicy, 299 NavigationPolicy,
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 Frame* nextSibling() const override { return nullptr; } 467 Frame* nextSibling() const override { return nullptr; }
470 Frame* firstChild() const override { return nullptr; } 468 Frame* firstChild() const override { return nullptr; }
471 void frameFocused() const override {} 469 void frameFocused() const override {}
472 }; 470 };
473 471
474 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 472 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
475 473
476 } // namespace blink 474 } // namespace blink
477 475
478 #endif // EmptyClients_h 476 #endif // EmptyClients_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrameClient.h ('k') | third_party/WebKit/Source/core/loader/EmptyClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698