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) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. |
4 * All rights reserved. | 4 * All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "core/paint/ViewPaintInvalidator.h" | 42 #include "core/paint/ViewPaintInvalidator.h" |
43 #include "core/paint/ViewPainter.h" | 43 #include "core/paint/ViewPainter.h" |
44 #include "core/svg/SVGDocumentExtensions.h" | 44 #include "core/svg/SVGDocumentExtensions.h" |
45 #include "platform/Histogram.h" | 45 #include "platform/Histogram.h" |
46 #include "platform/RuntimeEnabledFeatures.h" | 46 #include "platform/RuntimeEnabledFeatures.h" |
47 #include "platform/geometry/FloatQuad.h" | 47 #include "platform/geometry/FloatQuad.h" |
48 #include "platform/geometry/TransformState.h" | 48 #include "platform/geometry/TransformState.h" |
49 #include "platform/graphics/paint/PaintController.h" | 49 #include "platform/graphics/paint/PaintController.h" |
50 #include "platform/instrumentation/tracing/TraceEvent.h" | 50 #include "platform/instrumentation/tracing/TraceEvent.h" |
51 #include "platform/instrumentation/tracing/TracedValue.h" | 51 #include "platform/instrumentation/tracing/TracedValue.h" |
| 52 #include "platform/wtf/PtrUtil.h" |
52 #include "public/platform/Platform.h" | 53 #include "public/platform/Platform.h" |
53 #include "wtf/PtrUtil.h" | |
54 | 54 |
55 namespace blink { | 55 namespace blink { |
56 | 56 |
57 namespace { | 57 namespace { |
58 | 58 |
59 class HitTestLatencyRecorder { | 59 class HitTestLatencyRecorder { |
60 public: | 60 public: |
61 HitTestLatencyRecorder(bool allows_child_frame_content) | 61 HitTestLatencyRecorder(bool allows_child_frame_content) |
62 : start_(WTF::MonotonicallyIncreasingTime()), | 62 : start_(WTF::MonotonicallyIncreasingTime()), |
63 allows_child_frame_content_(allows_child_frame_content) {} | 63 allows_child_frame_content_(allows_child_frame_content) {} |
(...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1101 // Frame scroll corner is painted using LayoutView as the display item client. | 1101 // Frame scroll corner is painted using LayoutView as the display item client. |
1102 if (!RuntimeEnabledFeatures::rootLayerScrollingEnabled() && | 1102 if (!RuntimeEnabledFeatures::rootLayerScrollingEnabled() && |
1103 (GetFrameView()->HorizontalScrollbar() || | 1103 (GetFrameView()->HorizontalScrollbar() || |
1104 GetFrameView()->VerticalScrollbar())) | 1104 GetFrameView()->VerticalScrollbar())) |
1105 return false; | 1105 return false; |
1106 | 1106 |
1107 return LayoutBlockFlow::PaintedOutputOfObjectHasNoEffectRegardlessOfSize(); | 1107 return LayoutBlockFlow::PaintedOutputOfObjectHasNoEffectRegardlessOfSize(); |
1108 } | 1108 } |
1109 | 1109 |
1110 } // namespace blink | 1110 } // namespace blink |
OLD | NEW |