OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "pinch_zoom_scrollbar_layer.h" |
| 6 |
| 7 #include "scrollbar_layer_impl.h" |
| 8 |
| 9 namespace cc { |
| 10 |
| 11 scoped_refptr<PinchZoomScrollbarLayer> PinchZoomScrollbarLayer::create() |
| 12 { |
| 13 return make_scoped_refptr(new PinchZoomScrollbarLayer()); |
| 14 } |
| 15 |
| 16 PinchZoomScrollbarLayer::PinchZoomScrollbarLayer() |
| 17 { |
| 18 } |
| 19 |
| 20 scoped_ptr<LayerImpl> PinchZoomScrollbarLayer::createLayerImpl(LayerTreeImpl* tr
eeImpl) |
| 21 { |
| 22 return ScrollbarLayerImpl::create(treeImpl, id()).PassAs<LayerImpl>(); |
| 23 } |
| 24 |
| 25 bool PinchZoomScrollbarLayer::drawsContent() const |
| 26 { |
| 27 return true; |
| 28 } |
| 29 |
| 30 } // namespace cc |
OLD | NEW |