OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "cc/layer_impl.h" | 7 #include "cc/layer_impl.h" |
8 | 8 |
9 #include "CCDebugBorderDrawQuad.h" | |
10 #include "base/debug/trace_event.h" | 9 #include "base/debug/trace_event.h" |
11 #include "base/stringprintf.h" | 10 #include "base/stringprintf.h" |
| 11 #include "cc/debug_border_draw_quad.h" |
12 #include "cc/layer_sorter.h" | 12 #include "cc/layer_sorter.h" |
13 #include "cc/math_util.h" | 13 #include "cc/math_util.h" |
14 #include "cc/proxy.h" | 14 #include "cc/proxy.h" |
15 #include "cc/quad_sink.h" | 15 #include "cc/quad_sink.h" |
16 #include "cc/scrollbar_animation_controller.h" | 16 #include "cc/scrollbar_animation_controller.h" |
17 #include "cc/settings.h" | 17 #include "cc/settings.h" |
18 #include "third_party/skia/include/core/SkImageFilter.h" | 18 #include "third_party/skia/include/core/SkImageFilter.h" |
19 | 19 |
20 using WebKit::WebTransformationMatrix; | 20 using WebKit::WebTransformationMatrix; |
21 | 21 |
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 | 685 |
686 void LayerImpl::setVerticalScrollbarLayer(ScrollbarLayerImpl* scrollbarLayer) | 686 void LayerImpl::setVerticalScrollbarLayer(ScrollbarLayerImpl* scrollbarLayer) |
687 { | 687 { |
688 if (!m_scrollbarAnimationController) | 688 if (!m_scrollbarAnimationController) |
689 m_scrollbarAnimationController = ScrollbarAnimationController::create(th
is); | 689 m_scrollbarAnimationController = ScrollbarAnimationController::create(th
is); |
690 m_scrollbarAnimationController->setVerticalScrollbarLayer(scrollbarLayer); | 690 m_scrollbarAnimationController->setVerticalScrollbarLayer(scrollbarLayer); |
691 m_scrollbarAnimationController->updateScrollOffset(this); | 691 m_scrollbarAnimationController->updateScrollOffset(this); |
692 } | 692 } |
693 | 693 |
694 } | 694 } |
OLD | NEW |