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

Side by Side Diff: cc/pinch_zoom_scrollbar_layer.cc

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 #include "pinch_zoom_scrollbar_layer.h"
6
7 #include "scrollbar_layer_impl.h"
8
9 namespace cc {
10
11 scoped_refptr<PinchZoomScrollbarLayer> PinchZoomScrollbarLayer::create()
12 {
13 return make_scoped_refptr(new PinchZoomScrollbarLayer());
14 }
15
16 PinchZoomScrollbarLayer::PinchZoomScrollbarLayer()
17 {
18 }
19
20 scoped_ptr<LayerImpl> PinchZoomScrollbarLayer::createLayerImpl(LayerTreeImpl* tr eeImpl)
21 {
22 return ScrollbarLayerImpl::create(treeImpl, id()).PassAs<LayerImpl>();
23 }
24
25 bool PinchZoomScrollbarLayer::drawsContent() const
26 {
27 return true;
28 }
29
30 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698