OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 "cc/scrollbar_layer.h" | 5 #include "cc/scrollbar_layer.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
9 #include "cc/caching_bitmap_content_layer_updater.h" | 9 #include "cc/resources/caching_bitmap_content_layer_updater.h" |
10 #include "cc/layer_painter.h" | 10 #include "cc/resources/layer_painter.h" |
11 #include "cc/prioritized_resource.h" | 11 #include "cc/resources/prioritized_resource.h" |
12 #include "cc/resource_update_queue.h" | 12 #include "cc/resources/resource_update_queue.h" |
13 #include "cc/scrollbar_layer_impl.h" | 13 #include "cc/scrollbar_layer_impl.h" |
14 #include "cc/trees/layer_tree_host.h" | 14 #include "cc/trees/layer_tree_host.h" |
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" | 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" |
16 #include "ui/gfx/rect_conversions.h" | 16 #include "ui/gfx/rect_conversions.h" |
17 | 17 |
18 namespace cc { | 18 namespace cc { |
19 | 19 |
20 scoped_ptr<LayerImpl> ScrollbarLayer::CreateLayerImpl( | 20 scoped_ptr<LayerImpl> ScrollbarLayer::CreateLayerImpl( |
21 LayerTreeImpl* tree_impl) { | 21 LayerTreeImpl* tree_impl) { |
22 return ScrollbarLayerImpl::Create( | 22 return ScrollbarLayerImpl::Create( |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 thumb_.get(), | 432 thumb_.get(), |
433 origin_thumb_rect, | 433 origin_thumb_rect, |
434 queue, | 434 queue, |
435 stats); | 435 stats); |
436 } | 436 } |
437 | 437 |
438 dirty_rect_ = gfx::RectF(); | 438 dirty_rect_ = gfx::RectF(); |
439 } | 439 } |
440 | 440 |
441 } // namespace cc | 441 } // namespace cc |
OLD | NEW |