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

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

Issue 2655463006: PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Fix tests. Created 3 years, 10 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 void dispatchDidReceiveTitle(const String&) override {} 264 void dispatchDidReceiveTitle(const String&) override {}
265 void dispatchDidChangeIcons(IconType) override {} 265 void dispatchDidChangeIcons(IconType) override {}
266 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {} 266 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {}
267 void dispatchDidFailProvisionalLoad(const ResourceError&, 267 void dispatchDidFailProvisionalLoad(const ResourceError&,
268 HistoryCommitType) override {} 268 HistoryCommitType) override {}
269 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override {} 269 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override {}
270 void dispatchDidFinishDocumentLoad() override {} 270 void dispatchDidFinishDocumentLoad() override {}
271 void dispatchDidFinishLoad() override {} 271 void dispatchDidFinishLoad() override {}
272 void dispatchDidChangeThemeColor() override {} 272 void dispatchDidChangeThemeColor() override {}
273 273
274 NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, 274 NavigationPolicy decidePolicyForNavigation(
275 DocumentLoader*, 275 const ResourceRequest&,
276 NavigationType, 276 DocumentLoader*,
277 NavigationPolicy, 277 NavigationType,
278 bool, 278 NavigationPolicy,
279 bool, 279 bool,
280 HTMLFormElement*) override; 280 bool,
281 HTMLFormElement*,
282 ContentSecurityPolicyDisposition) override;
281 283
282 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; 284 void dispatchWillSendSubmitEvent(HTMLFormElement*) override;
283 void dispatchWillSubmitForm(HTMLFormElement*) override; 285 void dispatchWillSubmitForm(HTMLFormElement*) override;
284 286
285 void didStartLoading(LoadStartType) override {} 287 void didStartLoading(LoadStartType) override {}
286 void progressEstimateChanged(double) override {} 288 void progressEstimateChanged(double) override {}
287 void didStopLoading() override {} 289 void didStopLoading() override {}
288 290
289 void loadURLExternally(const ResourceRequest&, 291 void loadURLExternally(const ResourceRequest&,
290 NavigationPolicy, 292 NavigationPolicy,
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 Frame* nextSibling() const override { return nullptr; } 461 Frame* nextSibling() const override { return nullptr; }
460 Frame* firstChild() const override { return nullptr; } 462 Frame* firstChild() const override { return nullptr; }
461 void frameFocused() const override {} 463 void frameFocused() const override {}
462 }; 464 };
463 465
464 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 466 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
465 467
466 } // namespace blink 468 } // namespace blink
467 469
468 #endif // EmptyClients_h 470 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698