Home | History | Annotate | Download | only in layers
      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/base/cc_export.h"
      9 #include "cc/input/scrollbar.h"
     10 
     11 namespace cc {
     12 
     13 class CC_EXPORT ScrollbarLayerInterface {
     14  public:
     15   virtual int ScrollLayerId() const = 0;
     16   virtual void SetScrollLayerId(int id) = 0;
     17 
     18   virtual ScrollbarOrientation orientation() const = 0;
     19 
     20  protected:
     21   ScrollbarLayerInterface() {}
     22   virtual ~ScrollbarLayerInterface() {}
     23 
     24  private:
     25   DISALLOW_COPY_AND_ASSIGN(ScrollbarLayerInterface);
     26 };
     27 
     28 }  // namespace cc
     29 
     30 #endif  // CC_LAYERS_SCROLLBAR_LAYER_INTERFACE_H_
     31