Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: native_client_sdk/src/libraries/ppapi_main/ppapi_event.h

Issue 15011003: ppapi_simple (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/ppapi_main/ppapi_event.h
diff --git a/native_client_sdk/src/libraries/ppapi_main/ppapi_event.h b/native_client_sdk/src/libraries/ppapi_main/ppapi_event.h
deleted file mode 100644
index d991192fe65f0bc55c95a24f56e873c8357cd346..0000000000000000000000000000000000000000
--- a/native_client_sdk/src/libraries/ppapi_main/ppapi_event.h
+++ /dev/null
@@ -1,81 +0,0 @@
-// Copyright (c) 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 PPAPI_MAIN_PPAPI_EVENT_H_
-#define PPAPI_MAIN_PPAPI_EVENT_H_
-
-#include "ppapi/c/pp_input_event.h"
-#include "ppapi/c/pp_point.h"
-#include "ppapi/c/pp_touch_point.h"
-#include "ppapi/c/ppb_input_event.h"
-
-#include "utils/macros.h"
-
-EXTERN_C_BEGIN
-
-/*
- * Event Structures
- *
- * The following event structures are based on the equivalent structs
- * defined in ppapi/c/ppb_input_event.h.
- *
- */
-
-// Generic Event
-typedef struct {
- PP_InputEvent_Type event_type;
- PP_TimeTicks time_ticks;
- uint32_t modifiers;
-} PPAPIEvent;
-
-
-// Key Code Up/Down
-typedef struct {
- PPAPIEvent event;
-
- uint32_t key_code;
-} PPAPIKeyEvent;
-
-
-// Cooked Character Event
-typedef struct {
- PPAPIEvent event;
-
- char text[5];
-} PPAPICharEvent;
-
-
-// Mouse Event
-typedef struct {
- PPAPIEvent event;
-
- PP_InputEvent_MouseButton button;
- struct PP_Point location;
- struct PP_Point delta;
-} PPAPIMouseEvent;
-
-
-// Wheel Event
-typedef struct {
- PPAPIEvent event;
-
- PP_InputEvent_MouseButton button;
- struct PP_FloatPoint delta;
- uint32_t by_page;
-} PPAPIWheelEvent;
-
-
-// Touch Event
-#define MAX_TOUCH_POINTS 4
-typedef struct {
- PPAPIEvent event;
-
- uint32_t point_count;
- struct PP_TouchPoint points[MAX_TOUCH_POINTS];
-} PPAPITouchEvent;
-
-EXTERN_C_END
-
-#endif // PPAPI_MAIN_PPAPI_EVENT_H_
« no previous file with comments | « native_client_sdk/src/libraries/ppapi_main/library.dsc ('k') | native_client_sdk/src/libraries/ppapi_main/ppapi_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698