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

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, 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 void dispatchDidReceiveTitle(const String&) override {} 270 void dispatchDidReceiveTitle(const String&) override {}
271 void dispatchDidChangeIcons(IconType) override {} 271 void dispatchDidChangeIcons(IconType) override {}
272 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {} 272 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {}
273 void dispatchDidFailProvisionalLoad(const ResourceError&, 273 void dispatchDidFailProvisionalLoad(const ResourceError&,
274 HistoryCommitType) override {} 274 HistoryCommitType) override {}
275 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override {} 275 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override {}
276 void dispatchDidFinishDocumentLoad() override {} 276 void dispatchDidFinishDocumentLoad() override {}
277 void dispatchDidFinishLoad() override {} 277 void dispatchDidFinishLoad() override {}
278 void dispatchDidChangeThemeColor() override {} 278 void dispatchDidChangeThemeColor() override {}
279 279
280 NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, 280 NavigationPolicy decidePolicyForNavigation(
281 DocumentLoader*, 281 const ResourceRequest&,
282 NavigationType, 282 DocumentLoader*,
283 NavigationPolicy, 283 NavigationType,
284 bool, 284 NavigationPolicy,
285 bool, 285 bool,
286 HTMLFormElement*) override; 286 bool,
287 HTMLFormElement*,
288 ContentSecurityPolicyDisposition) override;
287 289
288 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; 290 void dispatchWillSendSubmitEvent(HTMLFormElement*) override;
289 void dispatchWillSubmitForm(HTMLFormElement*) override; 291 void dispatchWillSubmitForm(HTMLFormElement*) override;
290 292
291 void didStartLoading(LoadStartType) override {} 293 void didStartLoading(LoadStartType) override {}
292 void progressEstimateChanged(double) override {} 294 void progressEstimateChanged(double) override {}
293 void didStopLoading() override {} 295 void didStopLoading() override {}
294 296
295 void loadURLExternally(const ResourceRequest&, 297 void loadURLExternally(const ResourceRequest&,
296 NavigationPolicy, 298 NavigationPolicy,
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 Frame* nextSibling() const override { return nullptr; } 467 Frame* nextSibling() const override { return nullptr; }
466 Frame* firstChild() const override { return nullptr; } 468 Frame* firstChild() const override { return nullptr; }
467 void frameFocused() const override {} 469 void frameFocused() const override {}
468 }; 470 };
469 471
470 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); 472 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&);
471 473
472 } // namespace blink 474 } // namespace blink
473 475
474 #endif // EmptyClients_h 476 #endif // EmptyClients_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698