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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLIFrameElementPermissions.h

Issue 2011763006: Add an iframe permissions= attribute for implementing permission delegation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-delegation-1-flag
Patch Set: Created 4 years, 6 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
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698