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

Unified Diff: third_party/WebKit/Source/core/html/HTMLIFrameElementPermissions.h

Issue 2733823004: Remove old permission delegation prototype (Closed)
Patch Set: update webexposed layout tests Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
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
deleted file mode 100644
index 7d0409b1f37af52538b35998e7fe47db5ef03e5d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElementPermissions.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// 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 "platform/heap/Handle.h"
-#include "public/platform/modules/permissions/permission.mojom-blink.h"
-#include "wtf/Vector.h"
-
-namespace blink {
-
-class HTMLIFrameElement;
-
-class CORE_EXPORT HTMLIFrameElementPermissions final
- : public DOMTokenList,
- public DOMTokenListObserver {
- USING_GARBAGE_COLLECTED_MIXIN(HTMLIFrameElementPermissions);
-
- public:
- static HTMLIFrameElementPermissions* create(HTMLIFrameElement* element) {
- return new HTMLIFrameElementPermissions(element);
- }
-
- ~HTMLIFrameElementPermissions() override;
-
- Vector<mojom::blink::PermissionName> parseDelegatedPermissions(
- String& invalidTokensErrorMessage) const;
-
- DECLARE_VIRTUAL_TRACE();
-
- private:
- explicit HTMLIFrameElementPermissions(HTMLIFrameElement*);
- bool validateTokenValue(const AtomicString& tokenValue,
- ExceptionState&) const override;
-
- // DOMTokenListObserver.
- void valueWasSet() override;
-
- Member<HTMLIFrameElement> m_element;
-};
-
-} // namespace blink
-
-#endif

Powered by Google App Engine
This is Rietveld 408576698