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

Side by Side Diff: third_party/WebKit/Source/core/dom/Node.h

Issue 1876383003: Introduce infrastructure for tracing ScriptWrappables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix var used only in assert Created 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 HTMLSlotElement* assignedSlot() const; 676 HTMLSlotElement* assignedSlot() const;
677 HTMLSlotElement* assignedSlotForBinding(); 677 HTMLSlotElement* assignedSlotForBinding();
678 678
679 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl ag); } 679 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl ag); }
680 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } 680 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); }
681 681
682 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi ldrenFlag); } 682 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi ldrenFlag); }
683 683
684 DECLARE_VIRTUAL_TRACE(); 684 DECLARE_VIRTUAL_TRACE();
685 685
686 DECLARE_VIRTUAL_TRACE_WRAPPERS();
687
686 unsigned lengthOfContents() const; 688 unsigned lengthOfContents() const;
687 689
688 v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creationConte xt) override; 690 v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creationConte xt) override;
689 v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeIn fo*, v8::Local<v8::Object> wrapper) override WARN_UNUSED_RETURN; 691 v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeIn fo*, v8::Local<v8::Object> wrapper) override WARN_UNUSED_RETURN;
690 692
691 private: 693 private:
692 enum NodeFlags { 694 enum NodeFlags {
693 HasRareDataFlag = 1, 695 HasRareDataFlag = 1,
694 696
695 // Node type flags. These never change once created. 697 // Node type flags. These never change once created.
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 } // namespace blink 932 } // namespace blink
931 933
932 #ifndef NDEBUG 934 #ifndef NDEBUG
933 // Outside the WebCore namespace for ease of invocation from gdb. 935 // Outside the WebCore namespace for ease of invocation from gdb.
934 void showNode(const blink::Node*); 936 void showNode(const blink::Node*);
935 void showTree(const blink::Node*); 937 void showTree(const blink::Node*);
936 void showNodePath(const blink::Node*); 938 void showNodePath(const blink::Node*);
937 #endif 939 #endif
938 940
939 #endif // Node_h 941 #endif // Node_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698