提交 824c7c78 编写于 作者: I Ian Hickson

Merge pull request #61 from Hixie/vestiges

Remove the vestiges of ActiveDOMObject and EventTargetNames, which I missed in my recent patch
......@@ -33,7 +33,6 @@
# arbitrary, but that "X" is standard, e.g. [Attr=X], [Attr=Foo].
#
ActiveDOMObject
CachedAttribute=*
CallWith=ScriptState|ScriptArguments|ActiveWindow|FirstWindow|ThisValue
Constructor
......
......@@ -168,7 +168,6 @@ class CodeGeneratorDart(object):
interface_global = {'component_dir': interface_info['component_dir'],
'name': template_contents['interface_name'],
'parent_interface': template_contents['parent_interface'],
'is_active_dom_object': template_contents['is_active_dom_object'],
'has_resolver': template_contents['interface_name'],
'native_entries': sorted(template_contents['native_entries'], key=lambda(x): x['blink_entry']),
}
......
......@@ -84,7 +84,6 @@ import sys
from utilities import read_pickle_files, write_pickle_file
INHERITED_EXTENDED_ATTRIBUTES = set([
'ActiveDOMObject',
'DependentLifetime',
'NotScriptWrappable',
])
......
......@@ -74,9 +74,6 @@ def interface_context(interface):
header_includes.update(v8_types.includes_for_interface(parent_interface))
extended_attributes = interface.extended_attributes
# [ActiveDOMObject]
is_active_dom_object = 'ActiveDOMObject' in extended_attributes
# [DependentLifetime]
is_dependent_lifetime = 'DependentLifetime' in extended_attributes
......@@ -134,14 +131,12 @@ def interface_context(interface):
'has_visit_dom_wrapper': has_visit_dom_wrapper,
'header_includes': header_includes,
'interface_name': interface.name,
'is_active_dom_object': is_active_dom_object,
'is_dependent_lifetime': is_dependent_lifetime,
'is_exception': interface.is_exception,
'is_script_wrappable': is_script_wrappable,
'iterator_method': iterator_method,
'lifetime': 'Dependent'
if (has_visit_dom_wrapper or
is_active_dom_object or
is_dependent_lifetime)
else 'Independent',
'parent_interface': parent_interface,
......
......@@ -18,7 +18,6 @@
*/
#include "sky/engine/core/css/MediaQueryList.h"
#include "gen/sky/core/EventTargetNames.h"
#include "sky/engine/core/css/MediaList.h"
#include "sky/engine/core/css/MediaQueryEvaluator.h"
#include "sky/engine/core/css/MediaQueryListListener.h"
......
......@@ -70,8 +70,7 @@ public:
}
// If it's scheduled to run the method, cancel it and remember to schedule
// it again when resume() is called. Mainly for implementing
// ActiveDOMObject::suspend().
// it again when resume() is called.
void suspend()
{
if (m_suspended)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册