OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 #include "platform/graphics/paint/CullRect.h" | 122 #include "platform/graphics/paint/CullRect.h" |
123 #include "platform/graphics/paint/PaintController.h" | 123 #include "platform/graphics/paint/PaintController.h" |
124 #include "platform/graphics/paint/ScopedPaintChunkProperties.h" | 124 #include "platform/graphics/paint/ScopedPaintChunkProperties.h" |
125 #include "platform/instrumentation/tracing/TraceEvent.h" | 125 #include "platform/instrumentation/tracing/TraceEvent.h" |
126 #include "platform/instrumentation/tracing/TracedValue.h" | 126 #include "platform/instrumentation/tracing/TracedValue.h" |
127 #include "platform/json/JSONValues.h" | 127 #include "platform/json/JSONValues.h" |
128 #include "platform/loader/fetch/ResourceFetcher.h" | 128 #include "platform/loader/fetch/ResourceFetcher.h" |
129 #include "platform/scroll/ScrollAnimatorBase.h" | 129 #include "platform/scroll/ScrollAnimatorBase.h" |
130 #include "platform/scroll/ScrollbarTheme.h" | 130 #include "platform/scroll/ScrollbarTheme.h" |
131 #include "platform/text/TextStream.h" | 131 #include "platform/text/TextStream.h" |
| 132 #include "platform/wtf/CurrentTime.h" |
| 133 #include "platform/wtf/PtrUtil.h" |
| 134 #include "platform/wtf/StdLibExtras.h" |
132 #include "public/platform/WebDisplayItemList.h" | 135 #include "public/platform/WebDisplayItemList.h" |
133 #include "wtf/CurrentTime.h" | |
134 #include "wtf/PtrUtil.h" | |
135 #include "wtf/StdLibExtras.h" | |
136 | 136 |
137 // Used to check for dirty layouts violating document lifecycle rules. | 137 // Used to check for dirty layouts violating document lifecycle rules. |
138 // If arg evaluates to true, the program will continue. If arg evaluates to | 138 // If arg evaluates to true, the program will continue. If arg evaluates to |
139 // false, program will crash if DCHECK_IS_ON() or return false from the current | 139 // false, program will crash if DCHECK_IS_ON() or return false from the current |
140 // function. | 140 // function. |
141 #define CHECK_FOR_DIRTY_LAYOUT(arg) \ | 141 #define CHECK_FOR_DIRTY_LAYOUT(arg) \ |
142 do { \ | 142 do { \ |
143 if (!(arg)) { \ | 143 if (!(arg)) { \ |
144 NOTREACHED(); \ | 144 NOTREACHED(); \ |
145 return false; \ | 145 return false; \ |
(...skipping 5188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5334 void FrameView::SetAnimationHost( | 5334 void FrameView::SetAnimationHost( |
5335 std::unique_ptr<CompositorAnimationHost> host) { | 5335 std::unique_ptr<CompositorAnimationHost> host) { |
5336 animation_host_ = std::move(host); | 5336 animation_host_ = std::move(host); |
5337 } | 5337 } |
5338 | 5338 |
5339 LayoutUnit FrameView::CaretWidth() const { | 5339 LayoutUnit FrameView::CaretWidth() const { |
5340 return LayoutUnit(GetHostWindow()->WindowToViewportScalar(1)); | 5340 return LayoutUnit(GetHostWindow()->WindowToViewportScalar(1)); |
5341 } | 5341 } |
5342 | 5342 |
5343 } // namespace blink | 5343 } // namespace blink |
OLD | NEW |