| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "config.h" | 5 #include "config.h" |
| 6 #include "core/html/shadow/PluginPlaceholderElement.h" | 6 #include "core/html/shadow/PluginPlaceholderElement.h" |
| 7 | 7 |
| 8 #include "bindings/core/v8/V8PluginPlaceholderElement.h" | 8 #include "bindings/core/v8/V8PluginPlaceholderElement.h" |
| 9 #include "core/dom/Document.h" | 9 #include "core/dom/Document.h" |
| 10 #include "wtf/Assertions.h" | 10 #include "wtf/Assertions.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 ASSERT_UNUSED(success, success); | 23 ASSERT_UNUSED(success, success); |
| 24 return element.release(); | 24 return element.release(); |
| 25 } | 25 } |
| 26 | 26 |
| 27 void PluginPlaceholderElement::setMessage(const String& message) | 27 void PluginPlaceholderElement::setMessage(const String& message) |
| 28 { | 28 { |
| 29 bool success = V8PluginPlaceholderElement::PrivateScript::messageAttributeSe
tter(document().frame(), this, message); | 29 bool success = V8PluginPlaceholderElement::PrivateScript::messageAttributeSe
tter(document().frame(), this, message); |
| 30 ASSERT_UNUSED(success, success); | 30 ASSERT_UNUSED(success, success); |
| 31 } | 31 } |
| 32 | 32 |
| 33 void PluginPlaceholderElement::setIsCloseable(bool closeable) |
| 34 { |
| 35 bool success = V8PluginPlaceholderElement::PrivateScript::closeableAttribute
Setter(document().frame(), this, closeable); |
| 36 ASSERT_UNUSED(success, success); |
| 37 } |
| 38 |
| 33 } // namespace blink | 39 } // namespace blink |
| OLD | NEW |