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

Side by Side Diff: third_party/WebKit/Source/core/frame/OriginsUsingFeatures.h

Issue 1408443003: Add Element.attachShadow under the ShadowDOMV1 runtime flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 OriginsUsingFeatures_h 5 #ifndef OriginsUsingFeatures_h
6 #define OriginsUsingFeatures_h 6 #define OriginsUsingFeatures_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "wtf/HashMap.h" 10 #include "wtf/HashMap.h"
(...skipping 16 matching lines...) Expand all
27 enum class Feature { 27 enum class Feature {
28 ElementCreateShadowRoot, 28 ElementCreateShadowRoot,
29 DocumentRegisterElement, 29 DocumentRegisterElement,
30 EventPath, 30 EventPath,
31 DeviceMotionInsecureOrigin, 31 DeviceMotionInsecureOrigin,
32 DeviceOrientationInsecureOrigin, 32 DeviceOrientationInsecureOrigin,
33 FullscreenInsecureOrigin, 33 FullscreenInsecureOrigin,
34 GeolocationInsecureOrigin, 34 GeolocationInsecureOrigin,
35 GetUserMediaInsecureOrigin, 35 GetUserMediaInsecureOrigin,
36 GetUserMediaSecureOrigin, 36 GetUserMediaSecureOrigin,
37 ElementAttachShadow,
hayato 2015/10/15 08:43:04 kojii@ I guess this is for RAPPOR. Is this change
37 38
38 NumberOfFeatures // This must be the last item. 39 NumberOfFeatures // This must be the last item.
39 }; 40 };
40 41
41 static void countAnyWorld(Document&, Feature); 42 static void countAnyWorld(Document&, Feature);
42 static void countMainWorldOnly(const ScriptState*, Document&, Feature); 43 static void countMainWorldOnly(const ScriptState*, Document&, Feature);
43 static void countOriginOrIsolatedWorldHumanReadableName(const ScriptState*, EventTarget&, Feature); 44 static void countOriginOrIsolatedWorldHumanReadableName(const ScriptState*, EventTarget&, Feature);
44 45
45 void documentDetached(Document&); 46 void documentDetached(Document&);
46 void updateMeasurementsAndClear(); 47 void updateMeasurementsAndClear();
(...skipping 25 matching lines...) Expand all
72 void recordOriginsToRappor(); 73 void recordOriginsToRappor();
73 void recordNamesToRappor(); 74 void recordNamesToRappor();
74 75
75 Vector<std::pair<String, OriginsUsingFeatures::Value>, 1> m_originAndValues; 76 Vector<std::pair<String, OriginsUsingFeatures::Value>, 1> m_originAndValues;
76 HashMap<String, OriginsUsingFeatures::Value> m_valueByName; 77 HashMap<String, OriginsUsingFeatures::Value> m_valueByName;
77 }; 78 };
78 79
79 } // namespace blink 80 } // namespace blink
80 81
81 #endif // OriginsUsingFeatures_h 82 #endif // OriginsUsingFeatures_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.idl ('k') | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698