| Index: cc/pinch_zoom_scrollbar_layer.cc
|
| diff --git a/cc/pinch_zoom_scrollbar_layer.cc b/cc/pinch_zoom_scrollbar_layer.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..54ae37cbb15b0b450c09629ab664e2fd15d4e081
|
| --- /dev/null
|
| +++ b/cc/pinch_zoom_scrollbar_layer.cc
|
| @@ -0,0 +1,30 @@
|
| +// Copyright 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "pinch_zoom_scrollbar_layer.h"
|
| +
|
| +#include "scrollbar_layer_impl.h"
|
| +
|
| +namespace cc {
|
| +
|
| +scoped_refptr<PinchZoomScrollbarLayer> PinchZoomScrollbarLayer::create()
|
| +{
|
| + return make_scoped_refptr(new PinchZoomScrollbarLayer());
|
| +}
|
| +
|
| +PinchZoomScrollbarLayer::PinchZoomScrollbarLayer()
|
| +{
|
| +}
|
| +
|
| +scoped_ptr<LayerImpl> PinchZoomScrollbarLayer::createLayerImpl(LayerTreeImpl* treeImpl)
|
| +{
|
| + return ScrollbarLayerImpl::create(treeImpl, id()).PassAs<LayerImpl>();
|
| +}
|
| +
|
| +bool PinchZoomScrollbarLayer::drawsContent() const
|
| +{
|
| + return true;
|
| +}
|
| +
|
| +} // namespace cc
|
|
|