OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 * | 19 * |
20 */ | 20 */ |
21 | 21 |
22 #ifndef LayoutView_h | 22 #ifndef LayoutView_h |
23 #define LayoutView_h | 23 #define LayoutView_h |
24 | 24 |
| 25 #include <memory> |
25 #include "core/CoreExport.h" | 26 #include "core/CoreExport.h" |
26 #include "core/layout/HitTestCache.h" | 27 #include "core/layout/HitTestCache.h" |
27 #include "core/layout/HitTestResult.h" | 28 #include "core/layout/HitTestResult.h" |
28 #include "core/layout/LayoutBlockFlow.h" | 29 #include "core/layout/LayoutBlockFlow.h" |
29 #include "core/layout/LayoutState.h" | 30 #include "core/layout/LayoutState.h" |
30 #include "core/layout/PaintInvalidationState.h" | 31 #include "core/layout/PaintInvalidationState.h" |
31 #include "platform/PODFreeListArena.h" | 32 #include "platform/PODFreeListArena.h" |
32 #include "platform/RuntimeEnabledFeatures.h" | 33 #include "platform/RuntimeEnabledFeatures.h" |
33 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
34 #include "platform/scroll/ScrollableArea.h" | 35 #include "platform/scroll/ScrollableArea.h" |
35 #include <memory> | |
36 | 36 |
37 namespace blink { | 37 namespace blink { |
38 | 38 |
39 class FrameView; | 39 class FrameView; |
40 class PaintLayerCompositor; | 40 class PaintLayerCompositor; |
41 class LayoutQuote; | 41 class LayoutQuote; |
42 class ViewFragmentationContext; | 42 class ViewFragmentationContext; |
43 | 43 |
44 // LayoutView is the root of the layout tree and the Document's LayoutObject. | 44 // LayoutView is the root of the layout tree and the Document's LayoutObject. |
45 // | 45 // |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 unsigned m_hitTestCount; | 318 unsigned m_hitTestCount; |
319 unsigned m_hitTestCacheHits; | 319 unsigned m_hitTestCacheHits; |
320 Persistent<HitTestCache> m_hitTestCache; | 320 Persistent<HitTestCache> m_hitTestCache; |
321 }; | 321 }; |
322 | 322 |
323 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); | 323 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); |
324 | 324 |
325 } // namespace blink | 325 } // namespace blink |
326 | 326 |
327 #endif // LayoutView_h | 327 #endif // LayoutView_h |
OLD | NEW |