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

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, 3 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
« no previous file with comments | « webkit/plugins/ppapi/event_conversion.cc ('k') | webkit/plugins/ppapi/resource_creation_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 return ::ppapi::thunk::GetPPB_Instance_1_0_Thunk(); 291 return ::ppapi::thunk::GetPPB_Instance_1_0_Thunk();
292 if (strcmp(name, PPB_INSTANCE_PRIVATE_INTERFACE) == 0) 292 if (strcmp(name, PPB_INSTANCE_PRIVATE_INTERFACE) == 0)
293 return ::ppapi::thunk::GetPPB_Instance_Private_Thunk(); 293 return ::ppapi::thunk::GetPPB_Instance_Private_Thunk();
294 if (strcmp(name, PPB_KEYBOARD_INPUT_EVENT_INTERFACE_1_0) == 0) 294 if (strcmp(name, PPB_KEYBOARD_INPUT_EVENT_INTERFACE_1_0) == 0)
295 return ::ppapi::thunk::GetPPB_KeyboardInputEvent_Thunk(); 295 return ::ppapi::thunk::GetPPB_KeyboardInputEvent_Thunk();
296 if (strcmp(name, PPB_MEMORY_DEV_INTERFACE) == 0) 296 if (strcmp(name, PPB_MEMORY_DEV_INTERFACE) == 0)
297 return PPB_Memory_Impl::GetInterface(); 297 return PPB_Memory_Impl::GetInterface();
298 if (strcmp(name, PPB_MESSAGING_INTERFACE_1_0) == 0) 298 if (strcmp(name, PPB_MESSAGING_INTERFACE_1_0) == 0)
299 return ::ppapi::thunk::GetPPB_Messaging_Thunk(); 299 return ::ppapi::thunk::GetPPB_Messaging_Thunk();
300 if (strcmp(name, PPB_MOUSE_INPUT_EVENT_INTERFACE_1_0) == 0) 300 if (strcmp(name, PPB_MOUSE_INPUT_EVENT_INTERFACE_1_0) == 0)
301 return ::ppapi::thunk::GetPPB_MouseInputEvent_Thunk(); 301 return ::ppapi::thunk::GetPPB_MouseInputEvent_1_0_Thunk();
302 if (strcmp(name, PPB_MOUSE_INPUT_EVENT_INTERFACE_1_1) == 0)
303 return ::ppapi::thunk::GetPPB_MouseInputEvent_1_1_Thunk();
302 if (strcmp(name, PPB_PROXY_PRIVATE_INTERFACE) == 0) 304 if (strcmp(name, PPB_PROXY_PRIVATE_INTERFACE) == 0)
303 return PPB_Proxy_Impl::GetInterface(); 305 return PPB_Proxy_Impl::GetInterface();
304 if (strcmp(name, PPB_QUERY_POLICY_DEV_INTERFACE_0_1) == 0) 306 if (strcmp(name, PPB_QUERY_POLICY_DEV_INTERFACE_0_1) == 0)
305 return ::ppapi::thunk::GetPPB_QueryPolicy_Thunk(); 307 return ::ppapi::thunk::GetPPB_QueryPolicy_Thunk();
306 if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE_0_4) == 0) 308 if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE_0_4) == 0)
307 return PPB_Scrollbar_Impl::Get0_4Interface(); 309 return PPB_Scrollbar_Impl::Get0_4Interface();
308 if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE_0_3) == 0) 310 if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE_0_3) == 0)
309 return PPB_Scrollbar_Impl::Get0_3Interface(); 311 return PPB_Scrollbar_Impl::Get0_3Interface();
310 if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE_0_5) == 0) 312 if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE_0_5) == 0)
311 return ::ppapi::thunk::GetPPB_Scrollbar_Thunk(); 313 return ::ppapi::thunk::GetPPB_Scrollbar_Thunk();
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 int retval = entry_points.initialize_module(pp_module(), &GetInterface); 598 int retval = entry_points.initialize_module(pp_module(), &GetInterface);
597 if (retval != 0) { 599 if (retval != 0) {
598 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; 600 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval;
599 return false; 601 return false;
600 } 602 }
601 return true; 603 return true;
602 } 604 }
603 605
604 } // namespace ppapi 606 } // namespace ppapi
605 } // namespace webkit 607 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/event_conversion.cc ('k') | webkit/plugins/ppapi/resource_creation_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698