| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) |
| 3 (C) 1998 Waldo Bastian (bastian@kde.org) | 3 (C) 1998 Waldo Bastian (bastian@kde.org) |
| 4 (C) 1998, 1999 Torben Weis (weis@kde.org) | 4 (C) 1998, 1999 Torben Weis (weis@kde.org) |
| 5 (C) 1999 Lars Knoll (knoll@kde.org) | 5 (C) 1999 Lars Knoll (knoll@kde.org) |
| 6 (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights |
| 8 reserved. | 8 reserved. |
| 9 | 9 |
| 10 This library is free software; you can redistribute it and/or | 10 This library is free software; you can redistribute it and/or |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 namespace blink { | 62 namespace blink { |
| 63 | 63 |
| 64 class AXObjectCache; | 64 class AXObjectCache; |
| 65 class ComputedStyle; | 65 class ComputedStyle; |
| 66 class DocumentLifecycle; | 66 class DocumentLifecycle; |
| 67 class Cursor; | 67 class Cursor; |
| 68 class Element; | 68 class Element; |
| 69 class ElementVisibilityObserver; | 69 class ElementVisibilityObserver; |
| 70 class Frame; | 70 class Frame; |
| 71 class FloatSize; | 71 class FloatSize; |
| 72 class GeometryMapper; |
| 72 class JSONArray; | 73 class JSONArray; |
| 73 class JSONObject; | 74 class JSONObject; |
| 74 class LayoutItem; | 75 class LayoutItem; |
| 75 class LayoutViewItem; | 76 class LayoutViewItem; |
| 76 class LayoutPart; | 77 class LayoutPart; |
| 77 class LocalFrame; | 78 class LocalFrame; |
| 78 class KURL; | 79 class KURL; |
| 79 class Node; | 80 class Node; |
| 80 class LayoutAnalyzer; | 81 class LayoutAnalyzer; |
| 81 class LayoutBox; | 82 class LayoutBox; |
| (...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1198 MainThreadScrollingReasons m_mainThreadScrollingReasons; | 1199 MainThreadScrollingReasons m_mainThreadScrollingReasons; |
| 1199 // For recording main thread scrolling reasons | 1200 // For recording main thread scrolling reasons |
| 1200 // due to layout object properties. e.g. opacity, transform. | 1201 // due to layout object properties. e.g. opacity, transform. |
| 1201 // The size of the vector depends on the number of | 1202 // The size of the vector depends on the number of |
| 1202 // main thread scrolling reasons. | 1203 // main thread scrolling reasons. |
| 1203 Vector<int> m_mainThreadScrollingReasonsCounter; | 1204 Vector<int> m_mainThreadScrollingReasonsCounter; |
| 1204 | 1205 |
| 1205 // TODO(kenrb): Remove these when https://crbug.com/680606 is resolved. | 1206 // TODO(kenrb): Remove these when https://crbug.com/680606 is resolved. |
| 1206 std::unique_ptr<CompositorAnimationTimeline> m_animationTimeline; | 1207 std::unique_ptr<CompositorAnimationTimeline> m_animationTimeline; |
| 1207 std::unique_ptr<CompositorAnimationHost> m_animationHost; | 1208 std::unique_ptr<CompositorAnimationHost> m_animationHost; |
| 1209 |
| 1210 std::unique_ptr<GeometryMapper> m_geometryMapper; |
| 1208 }; | 1211 }; |
| 1209 | 1212 |
| 1210 inline void FrameView::incrementVisuallyNonEmptyCharacterCount(unsigned count) { | 1213 inline void FrameView::incrementVisuallyNonEmptyCharacterCount(unsigned count) { |
| 1211 if (m_isVisuallyNonEmpty) | 1214 if (m_isVisuallyNonEmpty) |
| 1212 return; | 1215 return; |
| 1213 m_visuallyNonEmptyCharacterCount += count; | 1216 m_visuallyNonEmptyCharacterCount += count; |
| 1214 // Use a threshold value to prevent very small amounts of visible content from | 1217 // Use a threshold value to prevent very small amounts of visible content from |
| 1215 // triggering didMeaningfulLayout. The first few hundred characters rarely | 1218 // triggering didMeaningfulLayout. The first few hundred characters rarely |
| 1216 // contain the interesting content of the page. | 1219 // contain the interesting content of the page. |
| 1217 static const unsigned visualCharacterThreshold = 200; | 1220 static const unsigned visualCharacterThreshold = 200; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 1238 widget.isFrameView()); | 1241 widget.isFrameView()); |
| 1239 DEFINE_TYPE_CASTS(FrameView, | 1242 DEFINE_TYPE_CASTS(FrameView, |
| 1240 ScrollableArea, | 1243 ScrollableArea, |
| 1241 scrollableArea, | 1244 scrollableArea, |
| 1242 scrollableArea->isFrameView(), | 1245 scrollableArea->isFrameView(), |
| 1243 scrollableArea.isFrameView()); | 1246 scrollableArea.isFrameView()); |
| 1244 | 1247 |
| 1245 } // namespace blink | 1248 } // namespace blink |
| 1246 | 1249 |
| 1247 #endif // FrameView_h | 1250 #endif // FrameView_h |
| OLD | NEW |