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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrameClient.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, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * Copyright (C) 2012 Google Inc. All rights reserved. 4 * Copyright (C) 2012 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 virtual void dispatchDidFinishLoad() = 0; 116 virtual void dispatchDidFinishLoad() = 0;
117 virtual void dispatchDidChangeThemeColor() = 0; 117 virtual void dispatchDidChangeThemeColor() = 0;
118 118
119 virtual NavigationPolicy decidePolicyForNavigation( 119 virtual NavigationPolicy decidePolicyForNavigation(
120 const ResourceRequest&, 120 const ResourceRequest&,
121 DocumentLoader*, 121 DocumentLoader*,
122 NavigationType, 122 NavigationType,
123 NavigationPolicy, 123 NavigationPolicy,
124 bool shouldReplaceCurrentEntry, 124 bool shouldReplaceCurrentEntry,
125 bool isClientRedirect, 125 bool isClientRedirect,
126 HTMLFormElement*) = 0; 126 HTMLFormElement*,
127 ContentSecurityPolicyDisposition
128 shouldCheckMainWorldContentSecurityPolicy) = 0;
127 129
128 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) = 0; 130 virtual void dispatchWillSendSubmitEvent(HTMLFormElement*) = 0;
129 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0; 131 virtual void dispatchWillSubmitForm(HTMLFormElement*) = 0;
130 132
131 virtual void didStartLoading(LoadStartType) = 0; 133 virtual void didStartLoading(LoadStartType) = 0;
132 virtual void progressEstimateChanged(double progressEstimate) = 0; 134 virtual void progressEstimateChanged(double progressEstimate) = 0;
133 virtual void didStopLoading() = 0; 135 virtual void didStopLoading() = 0;
134 136
135 virtual void loadURLExternally(const ResourceRequest&, 137 virtual void loadURLExternally(const ResourceRequest&,
136 NavigationPolicy, 138 NavigationPolicy,
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } 340 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
339 341
340 virtual BlameContext* frameBlameContext() { return nullptr; } 342 virtual BlameContext* frameBlameContext() { return nullptr; }
341 343
342 virtual void setHasReceivedUserGesture() {} 344 virtual void setHasReceivedUserGesture() {}
343 }; 345 };
344 346
345 } // namespace blink 347 } // namespace blink
346 348
347 #endif // LocalFrameClient_h 349 #endif // LocalFrameClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698