OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSDstyle license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef HTMLIFrameElementPermissions_h | |
6 #define HTMLIFrameElementPermissions_h | |
7 | |
8 #include "core/dom/DOMTokenList.h" | |
9 #include "public/platform/modules/permissions/WebPermissionType.h" | |
10 #include "wtf/Vector.h" | |
11 | |
12 namespace blink { | |
13 | |
14 class HTMLIFrameElementPermissions final : public DOMTokenList { | |
15 public: | |
16 static HTMLIFrameElementPermissions* create(DOMTokenListObserver* observer = nullptr) | |
17 { | |
18 return new HTMLIFrameElementPermissions(observer); | |
19 } | |
20 | |
21 ~HTMLIFrameElementPermissions() override; | |
22 | |
23 Vector<WebPermissionType> parseDelegatedPermissions(String& invalidTokensErr orMessage) const; | |
24 | |
25 private: | |
26 explicit HTMLIFrameElementPermissions(DOMTokenListObserver*); | |
27 bool validateTokenValue(const AtomicString&, ExceptionState&) const override ; | |
esprehn
2016/06/01 05:05:57
add arg name for the AtomicString, primitives like
raymes
2016/06/06 06:48:29
Done.
| |
28 }; | |
29 | |
30 } // namespace blink | |
31 | |
32 #endif | |
OLD | NEW |