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

Unified 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698