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

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

Issue 7863003: Mouse lock implementation, including the renderer side and the Windows version of the browser side. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove two tab chars. 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
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/mock_plugin_delegate.h" 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h"
6 6
7 #include "base/message_loop_proxy.h" 7 #include "base/message_loop_proxy.h"
8 #include "ppapi/c/pp_errors.h" 8 #include "ppapi/c/pp_errors.h"
9 #include "ppapi/shared_impl/ppapi_preferences.h" 9 #include "ppapi/shared_impl/ppapi_preferences.h"
10 10
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 277
278 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory( 278 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory(
279 uint32_t size) { 279 uint32_t size) {
280 return NULL; 280 return NULL;
281 } 281 }
282 282
283 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { 283 ::ppapi::Preferences MockPluginDelegate::GetPreferences() {
284 return ::ppapi::Preferences(); 284 return ::ppapi::Preferences();
285 } 285 }
286 286
287 void MockPluginDelegate::LockMouse(PluginInstance* instance) {
288 instance->OnLockMouseACK(PP_ERROR_FAILED);
289 }
290
291 void MockPluginDelegate::UnlockMouse(PluginInstance* instance) {
292 }
293
287 } // namespace ppapi 294 } // namespace ppapi
288 } // namespace webkit 295 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698