| 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 |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 * Library General Public License for more details. | 12 * Library General Public License for more details. |
| 13 * | 13 * |
| 14 * You should have received a copy of the GNU Library General Public License | 14 * You should have received a copy of the GNU Library General Public License |
| 15 * along with this library; see the file COPYING.LIB. If not, write to | 15 * along with this library; see the file COPYING.LIB. If not, write to |
| 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 17 * Boston, MA 02110-1301, USA. | 17 * Boston, MA 02110-1301, USA. |
| 18 */ | 18 */ |
| 19 | 19 |
| 20 #ifndef FrameTree_h | 20 #ifndef FrameTree_h |
| 21 #define FrameTree_h | 21 #define FrameTree_h |
| 22 | 22 |
| 23 #include "core/CoreExport.h" | 23 #include "core/CoreExport.h" |
| 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; | |
| 31 | 30 |
| 32 class CORE_EXPORT FrameTree final { | 31 class CORE_EXPORT FrameTree final { |
| 33 WTF_MAKE_NONCOPYABLE(FrameTree); | 32 WTF_MAKE_NONCOPYABLE(FrameTree); |
| 34 DISALLOW_NEW(); | 33 DISALLOW_NEW(); |
| 35 | 34 |
| 36 public: | 35 public: |
| 37 explicit FrameTree(Frame* thisFrame); | 36 explicit FrameTree(Frame* thisFrame); |
| 38 ~FrameTree(); | 37 ~FrameTree(); |
| 39 | 38 |
| 40 const AtomicString& name() const { return m_name; } | 39 const AtomicString& name() const { return m_name; } |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 }; | 124 }; |
| 126 | 125 |
| 127 } // namespace blink | 126 } // namespace blink |
| 128 | 127 |
| 129 #ifndef NDEBUG | 128 #ifndef NDEBUG |
| 130 // Outside the WebCore namespace for ease of invocation from gdb. | 129 // Outside the WebCore namespace for ease of invocation from gdb. |
| 131 void showFrameTree(const blink::Frame*); | 130 void showFrameTree(const blink::Frame*); |
| 132 #endif | 131 #endif |
| 133 | 132 |
| 134 #endif // FrameTree_h | 133 #endif // FrameTree_h |
| OLD | NEW |