Chromium Code Reviews| 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 #ifndef CC_PINCH_ZOOM_SCROLLBAR_LAYER_H_ | |
| 6 #define CC_PINCH_ZOOM_SCROLLBAR_LAYER_H_ | |
| 7 | |
| 8 #include "base/memory/scoped_ptr.h" | |
| 9 #include "cc/layer.h" | |
| 10 | |
| 11 namespace cc { | |
| 12 | |
| 13 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
| |
| 14 public: | |
| 15 static scoped_refptr<PinchZoomScrollbarLayer> create(); | |
| 16 | |
| 17 virtual scoped_ptr<LayerImpl> createLayerImpl(LayerTreeImpl* treeImpl) OVERR IDE; | |
| 18 virtual bool drawsContent() const OVERRIDE; | |
| 19 | |
| 20 private: | |
| 21 explicit PinchZoomScrollbarLayer(); | |
| 22 virtual ~PinchZoomScrollbarLayer() { } | |
| 23 | |
| 24 }; // class PinchZoomScrollbarLayer | |
| 25 | |
| 26 } // namespace cc | |
| 27 #endif // CC_PINCH_ZOOM_SCROLLBAR_LAYER_H_ | |
| OLD | NEW |