| Index: third_party/WebKit/Source/core/html/HTMLIFrameElementPermissions.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElementPermissions.h b/third_party/WebKit/Source/core/html/HTMLIFrameElementPermissions.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ff08803347442b5cf84f1ee8240e1f82b19f44da
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/html/HTMLIFrameElementPermissions.h
|
| @@ -0,0 +1,33 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSDstyle license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef HTMLIFrameElementPermissions_h
|
| +#define HTMLIFrameElementPermissions_h
|
| +
|
| +#include "core/CoreExport.h"
|
| +#include "core/dom/DOMTokenList.h"
|
| +#include "public/platform/modules/permissions/WebPermissionType.h"
|
| +#include "wtf/Vector.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class CORE_EXPORT HTMLIFrameElementPermissions final : public DOMTokenList {
|
| +public:
|
| + static HTMLIFrameElementPermissions* create(DOMTokenListObserver* observer = nullptr)
|
| + {
|
| + return new HTMLIFrameElementPermissions(observer);
|
| + }
|
| +
|
| + ~HTMLIFrameElementPermissions() override;
|
| +
|
| + Vector<WebPermissionType> parseDelegatedPermissions(String& invalidTokensErrorMessage) const;
|
| +
|
| +private:
|
| + explicit HTMLIFrameElementPermissions(DOMTokenListObserver*);
|
| + bool validateTokenValue(const AtomicString& tokenValue, ExceptionState&) const override;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif
|
|
|