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

Unified Diff: Source/bindings/templates/interface_base.cpp

Issue 196653003: Add [DoNotGenerateClassBindings] extended attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Compiles and links Created 6 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
« no previous file with comments | « Source/bindings/templates/interface.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/interface_base.cpp
diff --git a/Source/bindings/templates/interface_base.cpp b/Source/bindings/templates/interface_base.cpp
index f6c8704eea98f7a527613ce10987a39730a87ec9..e1ff6e4061fa0edc17898c7569579486da28f0c6 100644
--- a/Source/bindings/templates/interface_base.cpp
+++ b/Source/bindings/templates/interface_base.cpp
@@ -40,6 +40,7 @@
#include "{{filename}}"
{% endfor %}
+{% if has_class_bindings %}
namespace WebCore {
static void initializeScriptWrappableForInterface({{cpp_class}}* object)
@@ -61,6 +62,7 @@ void webCoreInitializeScriptWrappableForInterface(WebCore::{{cpp_class}}* object
WebCore::initializeScriptWrappableForInterface(object);
}
+{% endif %}
namespace WebCore {
{% set to_active_dom_object = '%s::toActiveDOMObject' % v8_class
if is_active_dom_object else '0' %}
@@ -174,6 +176,7 @@ template <typename T> void V8_USE(T) { }
{% block get_shadow_object_template %}{% endblock %}
{% block wrap %}{% endblock %}
{% block create_wrapper %}{% endblock %}
-{% block deref_object_and_to_v8_no_inline %}{% endblock %}
+{% block deref_object %}{% endblock %}
+{% block to_v8_no_inline %}{% endblock %}
} // namespace WebCore
{% endfilter %}
« no previous file with comments | « Source/bindings/templates/interface.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698