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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLIFrameElementAllow.cpp

Issue 2742573005: Avoid to include IDL-generated headers from EventTarget.h and Node.h (Closed)
Patch Set: . 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #include "core/html/HTMLIFrameElementAllow.h" 5 #include "core/html/HTMLIFrameElementAllow.h"
6 6
7 #include "core/html/HTMLIFrameElement.h" 7 #include "core/html/HTMLIFrameElement.h"
8 #include "platform/feature_policy/FeaturePolicy.h" 8 #include "platform/feature_policy/FeaturePolicy.h"
9 #include "wtf/text/StringBuilder.h"
9 10
10 using blink::WebFeaturePolicyFeature; 11 using blink::WebFeaturePolicyFeature;
11 12
12 namespace blink { 13 namespace blink {
13 14
14 HTMLIFrameElementAllow::HTMLIFrameElementAllow(HTMLIFrameElement* element) 15 HTMLIFrameElementAllow::HTMLIFrameElementAllow(HTMLIFrameElement* element)
15 : DOMTokenList(this), m_element(element) {} 16 : DOMTokenList(this), m_element(element) {}
16 17
17 HTMLIFrameElementAllow::~HTMLIFrameElementAllow() {} 18 HTMLIFrameElementAllow::~HTMLIFrameElementAllow() {}
18 19
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 return getWebFeaturePolicyFeature(tokenValue.getString()) != 63 return getWebFeaturePolicyFeature(tokenValue.getString()) !=
63 WebFeaturePolicyFeature::NotFound; 64 WebFeaturePolicyFeature::NotFound;
64 } 65 }
65 66
66 void HTMLIFrameElementAllow::valueWasSet() { 67 void HTMLIFrameElementAllow::valueWasSet() {
67 DCHECK(m_element); 68 DCHECK(m_element);
68 m_element->allowValueWasSet(); 69 m_element->allowValueWasSet();
69 } 70 }
70 71
71 } // namespace blink 72 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698