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

Unified Diff: Source/bindings/v8/custom/V8HTMLElementCustom.cpp

Issue 14028014: Remove MicroData implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Also delete all the tests Created 7 years, 8 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: Source/bindings/v8/custom/V8HTMLElementCustom.cpp
diff --git a/Source/bindings/v8/custom/V8HTMLElementCustom.cpp b/Source/bindings/v8/custom/V8HTMLElementCustom.cpp
index b32f806e432ab9c24a58e4686b2c2e44f6ba5a6a..dae4512d1dc9d3c40615860a6e694b3a2a9a86c5 100644
--- a/Source/bindings/v8/custom/V8HTMLElementCustom.cpp
+++ b/Source/bindings/v8/custom/V8HTMLElementCustom.cpp
@@ -33,11 +33,6 @@
#include "V8HTMLElementWrapperFactory.h"
-#if ENABLE(MICRODATA)
-#include "V8Binding.h"
-#include "V8MicroDataItemValue.h"
-#endif
-
namespace WebCore {
v8::Handle<v8::Object> wrap(HTMLElement* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
@@ -46,21 +41,4 @@ v8::Handle<v8::Object> wrap(HTMLElement* impl, v8::Handle<v8::Object> creationCo
return createV8HTMLWrapper(impl, creationContext, isolate);
}
-#if ENABLE(MICRODATA)
-v8::Handle<v8::Value> V8HTMLElement::itemValueAttrGetterCustom(v8::Local<v8::String> name, const v8::AccessorInfo& info)
-{
- HTMLElement* impl = V8HTMLElement::toNative(info.Holder());
- return toV8Fast(impl->itemValue().get(), info, impl);
-}
-
-void V8HTMLElement::itemValueAttrSetterCustom(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info)
-{
- HTMLElement* impl = V8HTMLElement::toNative(info.Holder());
- ExceptionCode ec = 0;
- impl->setItemValue(toWebCoreString(value), ec);
- if (ec)
- setDOMException(ec, info.GetIsolate());
-}
-#endif
-
} // namespace WebCore
« no previous file with comments | « Source/bindings/v8/custom/V8HTMLCollectionCustom.cpp ('k') | Source/bindings/v8/custom/V8MicroDataItemValueCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698