summaryrefslogtreecommitdiffstats
path: root/ppapi/c/dev/ppp_cursor_control_dev.h
blob: e0b970ed5b6269d8ca6da720a70b1464a9d92f5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Copyright (c) 2010 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 PPAPI_C_DEV_PPP_CURSOR_CONTROL_DEV_H_
#define PPAPI_C_DEV_PPP_CURSOR_CONTROL_DEV_H_

#include "ppapi/c/pp_instance.h"

#define PPP_CURSOR_CONTROL_DEV_INTERFACE "PPP_CursorControl(Dev);0.2"

struct PPP_CursorControl_Dev {
  // Called when the instance looses the cursor lock, e.g. because the user
  // pressed the ESC key.
  void (*CursorLockLost)(PP_Instance instance);
};

#endif  /* PPAPI_C_DEV_PPP_CURSOR_CONTROL_DEV_H_ */