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

Side by Side Diff: third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h

Issue 2499373002: Implementation for feature policy - fullscreen (Closed)
Patch Set: Bug fix: handling the case when frame parent does not exist Created 4 years 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef FeaturePolicy_h 5 #ifndef FeaturePolicy_h
6 #define FeaturePolicy_h 6 #define FeaturePolicy_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/weborigin/SecurityOrigin.h" 9 #include "platform/weborigin/SecurityOrigin.h"
10 #include "wtf/RefPtr.h" 10 #include "wtf/RefPtr.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 DISALLOW_COPY_AND_ASSIGN(FeaturePolicy); 173 DISALLOW_COPY_AND_ASSIGN(FeaturePolicy);
174 }; 174 };
175 175
176 // Declarations for all features currently under control of the Feature Policy 176 // Declarations for all features currently under control of the Feature Policy
177 // mechanism should be placed here. 177 // mechanism should be placed here.
178 extern const PLATFORM_EXPORT FeaturePolicy::Feature kDocumentCookie; 178 extern const PLATFORM_EXPORT FeaturePolicy::Feature kDocumentCookie;
179 extern const PLATFORM_EXPORT FeaturePolicy::Feature kDocumentDomain; 179 extern const PLATFORM_EXPORT FeaturePolicy::Feature kDocumentDomain;
180 extern const PLATFORM_EXPORT FeaturePolicy::Feature kDocumentWrite; 180 extern const PLATFORM_EXPORT FeaturePolicy::Feature kDocumentWrite;
181 extern const PLATFORM_EXPORT FeaturePolicy::Feature kGeolocationFeature; 181 extern const PLATFORM_EXPORT FeaturePolicy::Feature kGeolocationFeature;
182 extern const PLATFORM_EXPORT FeaturePolicy::Feature kFullscreenFeature;
182 extern const PLATFORM_EXPORT FeaturePolicy::Feature kMidiFeature; 183 extern const PLATFORM_EXPORT FeaturePolicy::Feature kMidiFeature;
183 extern const PLATFORM_EXPORT FeaturePolicy::Feature kNotificationsFeature; 184 extern const PLATFORM_EXPORT FeaturePolicy::Feature kNotificationsFeature;
184 extern const PLATFORM_EXPORT FeaturePolicy::Feature kPaymentFeature; 185 extern const PLATFORM_EXPORT FeaturePolicy::Feature kPaymentFeature;
185 extern const PLATFORM_EXPORT FeaturePolicy::Feature kPushFeature; 186 extern const PLATFORM_EXPORT FeaturePolicy::Feature kPushFeature;
186 extern const PLATFORM_EXPORT FeaturePolicy::Feature kSyncScript; 187 extern const PLATFORM_EXPORT FeaturePolicy::Feature kSyncScript;
187 extern const PLATFORM_EXPORT FeaturePolicy::Feature kSyncXHR; 188 extern const PLATFORM_EXPORT FeaturePolicy::Feature kSyncXHR;
188 extern const PLATFORM_EXPORT FeaturePolicy::Feature kUsermedia; 189 extern const PLATFORM_EXPORT FeaturePolicy::Feature kUsermedia;
189 extern const PLATFORM_EXPORT FeaturePolicy::Feature kVibrateFeature; 190 extern const PLATFORM_EXPORT FeaturePolicy::Feature kVibrateFeature;
190 extern const PLATFORM_EXPORT FeaturePolicy::Feature kWebRTC; 191 extern const PLATFORM_EXPORT FeaturePolicy::Feature kWebRTC;
191 192
192 } // namespace blink 193 } // namespace blink
193 194
194 #endif // FeaturePolicy_h 195 #endif // FeaturePolicy_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698