| Index: cc/layers/scrollbar_layer_interface.h
|
| diff --git a/cc/layers/scrollbar_layer_interface.h b/cc/layers/scrollbar_layer_interface.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..abaf1c7faef125a182db43e4b18cd484af94757b
|
| --- /dev/null
|
| +++ b/cc/layers/scrollbar_layer_interface.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2013 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_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_
|
| +#define CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_
|
| +
|
| +#include "cc/input/scrollbar.h"
|
| +
|
| +namespace cc {
|
| +
|
| +class ScrollbarLayerInterface {
|
| + public:
|
| + virtual int scroll_layer_id() const = 0;
|
| + virtual void SetScrollLayerId(int id) = 0;
|
| +
|
| + virtual ScrollbarOrientation orientation() const = 0;
|
| +
|
| + protected:
|
| + ScrollbarLayerInterface() {}
|
| + virtual ~ScrollbarLayerInterface() {}
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerInterface);
|
| +};
|
| +
|
| +} // namespace cc
|
| +
|
| +#endif // CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_
|
|
|