/* Copyright (c) 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.
 */

/**
 * This file defines the <code>PPP_Scrollbar_Dev</code> interface.
 */

label Chrome {
  M13 = 0.2,
  M16 = 0.3
};

interface PPP_Scrollbar_Dev {
  /**
   *  Informs the instance that the scrollbar's value has changed.
   */
  void ValueChanged([in] PP_Instance instance,
                    [in] PP_Resource scrollbar,
                    [in] uint32_t value);

  /**
   * Informs the instance that the user has changed the system
   * scrollbar style.
   */
  [version=0.3]
  void OverlayChanged([in] PP_Instance instance,
                      [in] PP_Resource scrollbar,
                      [in] PP_Bool overlay);
};