Chromium Code Reviews| Index: cc/pinch_zoom_scrollbar_layer.h |
| diff --git a/cc/pinch_zoom_scrollbar_layer.h b/cc/pinch_zoom_scrollbar_layer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c2c9c10c0ed6ab9334959b7b3965c2c6aa56d976 |
| --- /dev/null |
| +++ b/cc/pinch_zoom_scrollbar_layer.h |
| @@ -0,0 +1,27 @@ |
| +// 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. |
| + |
| +#ifndef CC_PINCH_ZOOM_SCROLLBAR_LAYER_H_ |
| +#define CC_PINCH_ZOOM_SCROLLBAR_LAYER_H_ |
| + |
| +#include "base/memory/scoped_ptr.h" |
| +#include "cc/layer.h" |
| + |
| +namespace cc { |
| + |
| +class PinchZoomScrollbarLayer : public Layer { |
|
enne (OOO)
2012/12/13 17:43:38
I'm really not seeing what this is for. Can you j
wjmaclean
2012/12/13 18:26:50
How do I get a valid layer ID to use when creating
|
| +public: |
| + static scoped_refptr<PinchZoomScrollbarLayer> create(); |
| + |
| + virtual scoped_ptr<LayerImpl> createLayerImpl(LayerTreeImpl* treeImpl) OVERRIDE; |
| + virtual bool drawsContent() const OVERRIDE; |
| + |
| +private: |
| + explicit PinchZoomScrollbarLayer(); |
| + virtual ~PinchZoomScrollbarLayer() { } |
| + |
| +}; // class PinchZoomScrollbarLayer |
| + |
| +} // namespace cc |
| +#endif // CC_PINCH_ZOOM_SCROLLBAR_LAYER_H_ |