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

Unified Diff: ppapi/cpp/input_event.h

Issue 9381010: Convert resources to take an instance key instead of an Instance*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: USELESS PATCH TITLE Created 8 years, 10 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
« no previous file with comments | « ppapi/cpp/image_data.cc ('k') | ppapi/cpp/input_event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/input_event.h
diff --git a/ppapi/cpp/input_event.h b/ppapi/cpp/input_event.h
index 39e8cf3c05ab58fe5f7b29286f9ee0eb8a5a32b2..653aae5879794f9d3313ac4ea3c678db2ebde7fd 100644
--- a/ppapi/cpp/input_event.h
+++ b/ppapi/cpp/input_event.h
@@ -16,7 +16,7 @@
namespace pp {
class FloatPoint;
-class Instance;
+class InstanceHandle;
class Point;
class Var;
@@ -124,7 +124,7 @@ class MouseInputEvent : public InputEvent {
// TODO(brettw) figure out exactly what this means.
///
/// @param[in] mouse_movement The change in position of the mouse.
- MouseInputEvent(Instance* instance,
+ MouseInputEvent(const InstanceHandle& instance,
PP_InputEvent_Type type,
PP_TimeTicks time_stamp,
uint32_t modifiers,
@@ -193,7 +193,7 @@ class WheelInputEvent : public InputEvent {
///
/// @param[in] scroll_by_page When true, the user is requesting to scroll
/// by pages. When false, the user is requesting to scroll by lines.
- WheelInputEvent(Instance* instance,
+ WheelInputEvent(const InstanceHandle& instance,
PP_TimeTicks time_stamp,
uint32_t modifiers,
const FloatPoint& wheel_delta,
@@ -279,7 +279,7 @@ class KeyboardInputEvent : public InputEvent {
///
/// @param[in] character_text This value represents the typed character as a
/// UTF-8 string.
- KeyboardInputEvent(Instance* instance,
+ KeyboardInputEvent(const InstanceHandle& instance,
PP_InputEvent_Type type,
PP_TimeTicks time_stamp,
uint32_t modifiers,
« no previous file with comments | « ppapi/cpp/image_data.cc ('k') | ppapi/cpp/input_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698