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

Side by Side Diff: webkit/plugins/ppapi/plugin_module.cc

Issue 7715021: Add movement information to PPB_MouseInputEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/plugins/ppapi/plugin_module.h" 5 #include "webkit/plugins/ppapi/plugin_module.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 return ::ppapi::thunk::GetPPB_Instance_1_0_Thunk(); 287 return ::ppapi::thunk::GetPPB_Instance_1_0_Thunk();
288 if (strcmp(name, PPB_INSTANCE_PRIVATE_INTERFACE) == 0) 288 if (strcmp(name, PPB_INSTANCE_PRIVATE_INTERFACE) == 0)
289 return ::ppapi::thunk::GetPPB_Instance_Private_Thunk(); 289 return ::ppapi::thunk::GetPPB_Instance_Private_Thunk();
290 if (strcmp(name, PPB_KEYBOARD_INPUT_EVENT_INTERFACE_1_0) == 0) 290 if (strcmp(name, PPB_KEYBOARD_INPUT_EVENT_INTERFACE_1_0) == 0)
291 return ::ppapi::thunk::GetPPB_KeyboardInputEvent_Thunk(); 291 return ::ppapi::thunk::GetPPB_KeyboardInputEvent_Thunk();
292 if (strcmp(name, PPB_MEMORY_DEV_INTERFACE) == 0) 292 if (strcmp(name, PPB_MEMORY_DEV_INTERFACE) == 0)
293 return PPB_Memory_Impl::GetInterface(); 293 return PPB_Memory_Impl::GetInterface();
294 if (strcmp(name, PPB_MESSAGING_INTERFACE_1_0) == 0) 294 if (strcmp(name, PPB_MESSAGING_INTERFACE_1_0) == 0)
295 return ::ppapi::thunk::GetPPB_Messaging_Thunk(); 295 return ::ppapi::thunk::GetPPB_Messaging_Thunk();
296 if (strcmp(name, PPB_MOUSE_INPUT_EVENT_INTERFACE_1_0) == 0) 296 if (strcmp(name, PPB_MOUSE_INPUT_EVENT_INTERFACE_1_0) == 0)
297 return ::ppapi::thunk::GetPPB_MouseInputEvent_Thunk(); 297 return ::ppapi::thunk::GetPPB_MouseInputEvent_1_0_Thunk();
298 if (strcmp(name, PPB_MOUSE_INPUT_EVENT_INTERFACE_1_1) == 0)
299 return ::ppapi::thunk::GetPPB_MouseInputEvent_1_1_Thunk();
298 if (strcmp(name, PPB_PROXY_PRIVATE_INTERFACE) == 0) 300 if (strcmp(name, PPB_PROXY_PRIVATE_INTERFACE) == 0)
299 return PPB_Proxy_Impl::GetInterface(); 301 return PPB_Proxy_Impl::GetInterface();
300 if (strcmp(name, PPB_QUERY_POLICY_DEV_INTERFACE_0_1) == 0) 302 if (strcmp(name, PPB_QUERY_POLICY_DEV_INTERFACE_0_1) == 0)
301 return ::ppapi::thunk::GetPPB_QueryPolicy_Thunk(); 303 return ::ppapi::thunk::GetPPB_QueryPolicy_Thunk();
302 if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE_0_4) == 0) 304 if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE_0_4) == 0)
303 return PPB_Scrollbar_Impl::Get0_4Interface(); 305 return PPB_Scrollbar_Impl::Get0_4Interface();
304 if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE_0_3) == 0) 306 if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE_0_3) == 0)
305 return PPB_Scrollbar_Impl::Get0_3Interface(); 307 return PPB_Scrollbar_Impl::Get0_3Interface();
306 if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE_0_5) == 0) 308 if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE_0_5) == 0)
307 return ::ppapi::thunk::GetPPB_Scrollbar_Thunk(); 309 return ::ppapi::thunk::GetPPB_Scrollbar_Thunk();
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 int retval = entry_points.initialize_module(pp_module(), &GetInterface); 593 int retval = entry_points.initialize_module(pp_module(), &GetInterface);
592 if (retval != 0) { 594 if (retval != 0) {
593 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; 595 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval;
594 return false; 596 return false;
595 } 597 }
596 return true; 598 return true;
597 } 599 }
598 600
599 } // namespace ppapi 601 } // namespace ppapi
600 } // namespace webkit 602 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698