#endif
class Node : NODE_BASE_CLASSES {
+ DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(TreeShared<Node>);
+ DEFINE_WRAPPERTYPEINFO();
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Node);
friend class Document;
friend class TreeScope;
friend class TreeScopeAdopter;
-
- DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(TreeShared<Node>);
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Node);
public:
enum NodeType {
ELEMENT_NODE = 1,
// Whether or not a selection can be started in this object
virtual bool canStartSelection() const;
- // Getting points into and out of screen space
- FloatPoint convertToPage(const FloatPoint&) const;
- FloatPoint convertFromPage(const FloatPoint&) const;
-
// -----------------------------------------------------------------------------
// Integration with rendering tree
unsigned lengthOfContents() const;
+ virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext, v8::Isolate*) OVERRIDE;
+ virtual v8::Handle<v8::Object> associateWithWrapper(const WrapperTypeInfo*, v8::Handle<v8::Object> wrapper, v8::Isolate*) OVERRIDE;
+
private:
enum NodeFlags {
HasRareDataFlag = 1,
void showNodePath(const blink::Node*);
#endif
-#endif
+#endif // Node_h