| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
| 6 * rights reserved. | 6 * rights reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 8 * (http://www.torchmobile.com/) | 8 * (http://www.torchmobile.com/) |
| 9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #ifndef LayoutTreeBuilder_h | 28 #ifndef LayoutTreeBuilder_h |
| 29 #define LayoutTreeBuilder_h | 29 #define LayoutTreeBuilder_h |
| 30 | 30 |
| 31 #include "core/dom/Document.h" | 31 #include "core/dom/Document.h" |
| 32 #include "core/dom/LayoutTreeBuilderTraversal.h" | 32 #include "core/dom/LayoutTreeBuilderTraversal.h" |
| 33 #include "core/dom/Node.h" | 33 #include "core/dom/Node.h" |
| 34 #include "core/dom/Text.h" | 34 #include "core/dom/Text.h" |
| 35 #include "core/layout/LayoutObject.h" | 35 #include "core/layout/LayoutObject.h" |
| 36 #include "wtf/RefPtr.h" | 36 #include "platform/wtf/RefPtr.h" |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 class ComputedStyle; | 40 class ComputedStyle; |
| 41 | 41 |
| 42 template <typename NodeType> | 42 template <typename NodeType> |
| 43 class LayoutTreeBuilder { | 43 class LayoutTreeBuilder { |
| 44 STACK_ALLOCATED(); | 44 STACK_ALLOCATED(); |
| 45 | 45 |
| 46 protected: | 46 protected: |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 ComputedStyle* style_from_parent) | 96 ComputedStyle* style_from_parent) |
| 97 : LayoutTreeBuilder(text, layout_parent), style_(style_from_parent) {} | 97 : LayoutTreeBuilder(text, layout_parent), style_(style_from_parent) {} |
| 98 | 98 |
| 99 RefPtr<ComputedStyle> style_; | 99 RefPtr<ComputedStyle> style_; |
| 100 void CreateLayoutObject(); | 100 void CreateLayoutObject(); |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace blink | 103 } // namespace blink |
| 104 | 104 |
| 105 #endif | 105 #endif |
| OLD | NEW |