summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
Diffstat (limited to 'remoting')
-rw-r--r--remoting/client/plugin/chromoting_plugin.cc12
-rw-r--r--remoting/client/plugin/pepper_entrypoints.cc2
2 files changed, 7 insertions, 7 deletions
diff --git a/remoting/client/plugin/chromoting_plugin.cc b/remoting/client/plugin/chromoting_plugin.cc
index c5b5b03..a312426 100644
--- a/remoting/client/plugin/chromoting_plugin.cc
+++ b/remoting/client/plugin/chromoting_plugin.cc
@@ -148,15 +148,15 @@ void ChromotingPlugin::ViewChanged(const PP_Rect& position,
bool ChromotingPlugin::HandleEvent(const PP_Event& event) {
switch (event.type) {
- case PP_Event_Type_MouseDown:
- case PP_Event_Type_MouseUp:
- case PP_Event_Type_MouseMove:
- case PP_Event_Type_MouseEnter:
- case PP_Event_Type_MouseLeave:
+ case PP_EVENT_TYPE_MOUSEDOWN:
+ case PP_EVENT_TYPE_MOUSEUP:
+ case PP_EVENT_TYPE_MOUSEMOVE:
+ case PP_EVENT_TYPE_MOUSEENTER:
+ case PP_EVENT_TYPE_MOUSELEAVE:
//client_->handle_mouse_event(npevent);
break;
- case PP_Event_Type_Char:
+ case PP_EVENT_TYPE_CHAR:
//client_->handle_char_event(npevent);
break;
diff --git a/remoting/client/plugin/pepper_entrypoints.cc b/remoting/client/plugin/pepper_entrypoints.cc
index c8a0895..ad21956 100644
--- a/remoting/client/plugin/pepper_entrypoints.cc
+++ b/remoting/client/plugin/pepper_entrypoints.cc
@@ -174,7 +174,7 @@ class ChromotingModule {
static PP_Var Instance_GetInstanceObject(PP_Instance pp_instance) {
PP_Var var;
- var.type = PP_VarType_Void;
+ var.type = PP_VARTYPE_VOID;
return var;
}