summaryrefslogtreecommitdiff
path: root/chromium/ppapi/api/dev/ppp_scrollbar_dev.idl
blob: 28e9681b08d46d5250cd576f11cfa98e28841c94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* 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);
};