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

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: Addressed comments 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 void dispatchDidReceiveTitle(const String&) override {} 272 void dispatchDidReceiveTitle(const String&) override {}
273 void dispatchDidChangeIcons(IconType) override {} 273 void dispatchDidChangeIcons(IconType) override {}
274 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {} 274 void dispatchDidCommitLoad(HistoryItem*, HistoryCommitType) override {}
275 void dispatchDidFailProvisionalLoad(const ResourceError&, 275 void dispatchDidFailProvisionalLoad(const ResourceError&,
276 HistoryCommitType) override {} 276 HistoryCommitType) override {}
277 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override {} 277 void dispatchDidFailLoad(const ResourceError&, HistoryCommitType) override {}
278 void dispatchDidFinishDocumentLoad() override {} 278 void dispatchDidFinishDocumentLoad() override {}
279 void dispatchDidFinishLoad() override {} 279 void dispatchDidFinishLoad() override {}
280 void dispatchDidChangeThemeColor() override {} 280 void dispatchDidChangeThemeColor() override {}
281 281
282 NavigationPolicy decidePolicyForNavigation(const ResourceRequest&, 282 NavigationPolicy decidePolicyForNavigation(
283 DocumentLoader*, 283 const ResourceRequest&,
284 NavigationType, 284 DocumentLoader*,
285 NavigationPolicy, 285 NavigationType,
286 bool, 286 NavigationPolicy,
287 bool, 287 bool,
288 HTMLFormElement*) override; 288 bool,
289 HTMLFormElement*,
290 ContentSecurityPolicyDisposition) override;
289 291
290 void dispatchWillSendSubmitEvent(HTMLFormElement*) override; 292 void dispatchWillSendSubmitEvent(HTMLFormElement*) override;
291 void dispatchWillSubmitForm(HTMLFormElement*) override; 293 void dispatchWillSubmitForm(HTMLFormElement*) override;
292 294
293 void didStartLoading(LoadStartType) override {} 295 void didStartLoading(LoadStartType) override {}
294 void progressEstimateChanged(double) override {} 296 void progressEstimateChanged(double) override {}
295 void didStopLoading() override {} 297 void didStopLoading() override {}
296 298
297 void loadURLExternally(const ResourceRequest&, 299 void loadURLExternally(const ResourceRequest&,
298 NavigationPolicy, 300 NavigationPolicy,
(...skipping 168 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

Powered by Google App Engine
This is Rietveld 408576698