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

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

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Address comments. Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/NamedFlow.h ('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, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights 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 void textRects(Vector<IntRect>&) const; 676 void textRects(Vector<IntRect>&) const;
677 677
678 unsigned connectedSubframeCount() const; 678 unsigned connectedSubframeCount() const;
679 void incrementConnectedSubframeCount(unsigned amount = 1); 679 void incrementConnectedSubframeCount(unsigned amount = 1);
680 void decrementConnectedSubframeCount(unsigned amount = 1); 680 void decrementConnectedSubframeCount(unsigned amount = 1);
681 void updateAncestorConnectedSubframeCountForRemoval() const; 681 void updateAncestorConnectedSubframeCountForRemoval() const;
682 void updateAncestorConnectedSubframeCountForInsertion() const; 682 void updateAncestorConnectedSubframeCountForInsertion() const;
683 683
684 virtual void trace(Visitor*); 684 virtual void trace(Visitor*);
685 685
686 virtual void visitWith(Visitor* visitor) const OVERRIDE 686 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
687 { 687 {
688 visitor->visit(this); 688 visitor->mark(this);
689 } 689 }
690 690
691 private: 691 private:
692 enum NodeFlags { 692 enum NodeFlags {
693 IsTextFlag = 1, 693 IsTextFlag = 1,
694 IsContainerFlag = 1 << 1, 694 IsContainerFlag = 1 << 1,
695 IsElementFlag = 1 << 2, 695 IsElementFlag = 1 << 2,
696 IsStyledElementFlag = 1 << 3, 696 IsStyledElementFlag = 1 << 3,
697 IsHTMLFlag = 1 << 4, 697 IsHTMLFlag = 1 << 4,
698 IsSVGFlag = 1 << 5, 698 IsSVGFlag = 1 << 5,
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 890
891 } //namespace 891 } //namespace
892 892
893 #ifndef NDEBUG 893 #ifndef NDEBUG
894 // Outside the WebCore namespace for ease of invocation from gdb. 894 // Outside the WebCore namespace for ease of invocation from gdb.
895 void showTree(const WebCore::Node*); 895 void showTree(const WebCore::Node*);
896 void showNodePath(const WebCore::Node*); 896 void showNodePath(const WebCore::Node*);
897 #endif 897 #endif
898 898
899 #endif 899 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/NamedFlow.h ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698