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 12 matching lines...) Expand all Loading... |
23 #include "platform/heap/Handle.h" | 23 #include "platform/heap/Handle.h" |
24 #include "wtf/text/AtomicString.h" | 24 #include "wtf/text/AtomicString.h" |
25 | 25 |
26 namespace blink { | 26 namespace blink { |
27 | 27 |
28 class Frame; | 28 class Frame; |
29 class TreeScope; | 29 class TreeScope; |
30 | 30 |
31 class FrameTree FINAL { | 31 class FrameTree FINAL { |
32 WTF_MAKE_NONCOPYABLE(FrameTree); | 32 WTF_MAKE_NONCOPYABLE(FrameTree); |
33 ALLOW_ONLY_INLINE_ALLOCATION(); | 33 DISALLOW_ALLOCATION(); |
34 public: | 34 public: |
35 explicit FrameTree(Frame* thisFrame); | 35 explicit FrameTree(Frame* thisFrame); |
36 ~FrameTree(); | 36 ~FrameTree(); |
37 | 37 |
38 const AtomicString& name() const { return m_name; } | 38 const AtomicString& name() const { return m_name; } |
39 const AtomicString& uniqueName() const { return m_uniqueName; } | 39 const AtomicString& uniqueName() const { return m_uniqueName; } |
40 // If |name| is not empty, |fallbackName| is ignored. Otherwise, | 40 // If |name| is not empty, |fallbackName| is ignored. Otherwise, |
41 // |fallbackName| is used as a source of uniqueName. | 41 // |fallbackName| is used as a source of uniqueName. |
42 void setName(const AtomicString& name, const AtomicString& fallbackName = nu
llAtom); | 42 void setName(const AtomicString& name, const AtomicString& fallbackName = nu
llAtom); |
43 | 43 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |