| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |