| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/HTMLIFrameElementSandbox.h" | 5 #include "core/html/HTMLIFrameElementSandbox.h" |
| 6 | 6 |
| 7 namespace blink { | 7 namespace blink { |
| 8 | 8 |
| 9 HTMLIFrameElementSandbox::HTMLIFrameElementSandbox(DOMSettableTokenListObserver*
observer) | 9 HTMLIFrameElementSandbox::HTMLIFrameElementSandbox(DOMSettableTokenListObserver*
observer) |
| 10 : DOMSettableTokenList(observer) | 10 : DOMSettableTokenList(observer) |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 } | 32 } |
| 33 | 33 |
| 34 return supportedValues; | 34 return supportedValues; |
| 35 } | 35 } |
| 36 | 36 |
| 37 bool HTMLIFrameElementSandbox::validateTokenValue(const AtomicString& tokenValue
, ExceptionState&) const | 37 bool HTMLIFrameElementSandbox::validateTokenValue(const AtomicString& tokenValue
, ExceptionState&) const |
| 38 { | 38 { |
| 39 return supportedTokens().contains(tokenValue); | 39 return supportedTokens().contains(tokenValue); |
| 40 } | 40 } |
| 41 | 41 |
| 42 } | 42 } // namespace blink |
| OLD | NEW |