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

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

Issue 1126013003: v8::Isolate* should be the first parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Wrap function Change for v8::Isolate* , as it is no more optional argument Created 5 years, 7 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
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 683
684 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl ag); } 684 void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFl ag); }
685 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } 685 bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); }
686 686
687 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi ldrenFlag); } 687 bool isFinishedParsingChildren() const { return getFlag(IsFinishedParsingChi ldrenFlag); }
688 688
689 DECLARE_VIRTUAL_TRACE(); 689 DECLARE_VIRTUAL_TRACE();
690 690
691 unsigned lengthOfContents() const; 691 unsigned lengthOfContents() const;
692 692
693 virtual v8::Local<v8::Object> wrap(v8::Local<v8::Object> creationContext, v8 ::Isolate*) override; 693 virtual v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creat ionContext) override;
694 virtual v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const Wrapp erTypeInfo*, v8::Local<v8::Object> wrapper) override; 694 virtual v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const Wrapp erTypeInfo*, v8::Local<v8::Object> wrapper) override;
695 695
696 private: 696 private:
697 enum NodeFlags { 697 enum NodeFlags {
698 HasRareDataFlag = 1, 698 HasRareDataFlag = 1,
699 699
700 // Node type flags. These never change once created. 700 // Node type flags. These never change once created.
701 IsTextFlag = 1 << 1, 701 IsTextFlag = 1 << 1,
702 IsContainerFlag = 1 << 2, 702 IsContainerFlag = 1 << 2,
703 IsElementFlag = 1 << 3, 703 IsElementFlag = 1 << 3,
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 } // namespace blink 917 } // namespace blink
918 918
919 #ifndef NDEBUG 919 #ifndef NDEBUG
920 // Outside the WebCore namespace for ease of invocation from gdb. 920 // Outside the WebCore namespace for ease of invocation from gdb.
921 void showNode(const blink::Node*); 921 void showNode(const blink::Node*);
922 void showTree(const blink::Node*); 922 void showTree(const blink::Node*);
923 void showNodePath(const blink::Node*); 923 void showNodePath(const blink::Node*);
924 #endif 924 #endif
925 925
926 #endif // Node_h 926 #endif // Node_h
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698