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

Side by Side Diff: Source/core/page/FrameTree.h

Issue 955583002: InlinedVisitor: Migrate page to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/page/FocusController.cpp ('k') | Source/core/page/FrameTree.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) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 Frame* child(const AtomicString& name) const; 56 Frame* child(const AtomicString& name) const;
57 Frame* find(const AtomicString& name) const; 57 Frame* find(const AtomicString& name) const;
58 unsigned childCount() const; 58 unsigned childCount() const;
59 59
60 Frame* scopedChild(unsigned index) const; 60 Frame* scopedChild(unsigned index) const;
61 Frame* scopedChild(const AtomicString& name) const; 61 Frame* scopedChild(const AtomicString& name) const;
62 unsigned scopedChildCount() const; 62 unsigned scopedChildCount() const;
63 void invalidateScopedChildCount(); 63 void invalidateScopedChildCount();
64 64
65 void trace(Visitor*); 65 DECLARE_TRACE();
66 66
67 private: 67 private:
68 Frame* deepLastChild() const; 68 Frame* deepLastChild() const;
69 AtomicString uniqueChildName(const AtomicString& requestedName) const; 69 AtomicString uniqueChildName(const AtomicString& requestedName) const;
70 bool uniqueNameExists(const AtomicString& name) const; 70 bool uniqueNameExists(const AtomicString& name) const;
71 unsigned scopedChildCount(TreeScope*) const; 71 unsigned scopedChildCount(TreeScope*) const;
72 72
73 RawPtrWillBeMember<Frame> m_thisFrame; 73 RawPtrWillBeMember<Frame> m_thisFrame;
74 74
75 AtomicString m_name; // The actual frame name (may be empty). 75 AtomicString m_name; // The actual frame name (may be empty).
76 AtomicString m_uniqueName; 76 AtomicString m_uniqueName;
77 77
78 mutable unsigned m_scopedChildCount; 78 mutable unsigned m_scopedChildCount;
79 }; 79 };
80 80
81 } // namespace blink 81 } // namespace blink
82 82
83 #ifndef NDEBUG 83 #ifndef NDEBUG
84 // Outside the WebCore namespace for ease of invocation from gdb. 84 // Outside the WebCore namespace for ease of invocation from gdb.
85 void showFrameTree(const blink::Frame*); 85 void showFrameTree(const blink::Frame*);
86 #endif 86 #endif
87 87
88 #endif // FrameTree_h 88 #endif // FrameTree_h
OLDNEW
« no previous file with comments | « Source/core/page/FocusController.cpp ('k') | Source/core/page/FrameTree.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698