Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(713)

Side by Side Diff: cc/pinch_zoom_scrollbar_layer.h

Issue 11550035: Implement pinch-zoom scaling for main-frame scrollbars and pinch-zoom overlay scrollbars. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing files. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698