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

Side by Side Diff: cc/layers/scrollbar_layer_interface.h

Issue 18341009: Refactor cc scrollbar layers to separate solid-color vs desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to account for re-naming to PaintedScrollbarLayer. Created 7 years, 3 months 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 2013 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_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_
6 #define CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_
7
8 #include "cc/input/scrollbar.h"
9
10 namespace cc {
11
12 class ScrollbarLayerInterface {
13 public:
14 virtual int ScrollLayerId() const = 0;
15 virtual void SetScrollLayerId(int id) = 0;
16
17 virtual ScrollbarOrientation orientation() const = 0;
18
19 protected:
20 ScrollbarLayerInterface() {}
21 virtual ~ScrollbarLayerInterface() {}
22
23 private:
24 DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerInterface);
25 };
26
27 } // namespace cc
28
29 #endif // CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698