| 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 13 matching lines...) Expand all Loading... |
| 24 #include "platform/heap/Handle.h" | 24 #include "platform/heap/Handle.h" |
| 25 #include "wtf/text/AtomicString.h" | 25 #include "wtf/text/AtomicString.h" |
| 26 | 26 |
| 27 namespace blink { | 27 namespace blink { |
| 28 | 28 |
| 29 class Frame; | 29 class Frame; |
| 30 class TreeScope; | 30 class TreeScope; |
| 31 | 31 |
| 32 class CORE_EXPORT FrameTree final { | 32 class CORE_EXPORT FrameTree final { |
| 33 WTF_MAKE_NONCOPYABLE(FrameTree); | 33 WTF_MAKE_NONCOPYABLE(FrameTree); |
| 34 DISALLOW_ALLOCATION(); | 34 DISALLOW_NEW(); |
| 35 public: | 35 public: |
| 36 explicit FrameTree(Frame* thisFrame); | 36 explicit FrameTree(Frame* thisFrame); |
| 37 ~FrameTree(); | 37 ~FrameTree(); |
| 38 | 38 |
| 39 const AtomicString& name() const { return m_name; } | 39 const AtomicString& name() const { return m_name; } |
| 40 const AtomicString& uniqueName() const { return m_uniqueName; } | 40 const AtomicString& uniqueName() const { return m_uniqueName; } |
| 41 // If |name| is not empty, |fallbackName| is ignored. Otherwise, | 41 // If |name| is not empty, |fallbackName| is ignored. Otherwise, |
| 42 // |fallbackName| is used as a source of uniqueName. | 42 // |fallbackName| is used as a source of uniqueName. |
| 43 void setName(const AtomicString& name, const AtomicString& fallbackName = nu
llAtom); | 43 void setName(const AtomicString& name, const AtomicString& fallbackName = nu
llAtom); |
| 44 | 44 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 } // namespace blink | 82 } // namespace blink |
| 83 | 83 |
| 84 #ifndef NDEBUG | 84 #ifndef NDEBUG |
| 85 // Outside the WebCore namespace for ease of invocation from gdb. | 85 // Outside the WebCore namespace for ease of invocation from gdb. |
| 86 void showFrameTree(const blink::Frame*); | 86 void showFrameTree(const blink::Frame*); |
| 87 #endif | 87 #endif |
| 88 | 88 |
| 89 #endif // FrameTree_h | 89 #endif // FrameTree_h |
| OLD | NEW |