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

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: Rebase. 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(const ResourceRequest&, 283 NavigationPolicy decidePolicyForNavigation(
284 DocumentLoader*, 284 const ResourceRequest&,
285 NavigationType, 285 DocumentLoader*,
286 NavigationPolicy, 286 NavigationType,
287 bool, 287 NavigationPolicy,
288 bool, 288 bool,
289 HTMLFormElement*) override; 289 bool,
290 HTMLFormElement*,
291 ContentSecurityPolicyDisposition) override;
290 292
291 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; 293 void dispatchWillSendSubmitEvent(HTMLFormElement*) override;
292 void dispatchWillSubmitForm(HTMLFormElement*) override; 294 void dispatchWillSubmitForm(HTMLFormElement*) override;
293 295
294 void didStartLoading(LoadStartType) override {} 296 void didStartLoading(LoadStartType) override {}
295 void progressEstimateChanged(double) override {} 297 void progressEstimateChanged(double) override {}
296 void didStopLoading() override {} 298 void didStopLoading() override {}
297 299
298 void loadURLExternally(const ResourceRequest&, 300 void loadURLExternally(const ResourceRequest&,
299 NavigationPolicy, 301 NavigationPolicy,
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 Frame* nextSibling() const override { return nullptr; } 469 Frame* nextSibling() const override { return nullptr; }
468 Frame* firstChild() const override { return nullptr; } 470 Frame* firstChild() const override { return nullptr; }
469 void frameFocused() const override {} 471 void frameFocused() const override {}
470 }; 472 };
471 473
472 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 474 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
473 475
474 } // namespace blink 476 } // namespace blink
475 477
476 #endif // EmptyClients_h 478 #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