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

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

Issue 8073021: Implement Pepper IME API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build dependency. Created 9 years, 2 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 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" 10 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
11 11
12 namespace webkit { 12 namespace webkit {
13 namespace ppapi { 13 namespace ppapi {
14 14
15 MockPluginDelegate::MockPluginDelegate() { 15 MockPluginDelegate::MockPluginDelegate() {
16 } 16 }
17 17
18 MockPluginDelegate::~MockPluginDelegate() { 18 MockPluginDelegate::~MockPluginDelegate() {
19 } 19 }
20 20
21 void MockPluginDelegate::PluginFocusChanged(bool focused) { 21 void MockPluginDelegate::PluginFocusChanged(PluginInstance* instance,
22 bool focused) {
23 }
24
25 void MockPluginDelegate::PluginTextInputTypeChanged(PluginInstance* instance) {
26 }
27
28 void MockPluginDelegate::PluginRequestedCancelComposition(
29 PluginInstance* instance) {
22 } 30 }
23 31
24 void MockPluginDelegate::PluginCrashed(PluginInstance* instance) { 32 void MockPluginDelegate::PluginCrashed(PluginInstance* instance) {
25 } 33 }
26 34
27 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) { 35 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) {
28 } 36 }
29 37
30 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) { 38 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) {
31 } 39 }
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 291
284 void MockPluginDelegate::LockMouse(PluginInstance* instance) { 292 void MockPluginDelegate::LockMouse(PluginInstance* instance) {
285 instance->OnLockMouseACK(PP_ERROR_FAILED); 293 instance->OnLockMouseACK(PP_ERROR_FAILED);
286 } 294 }
287 295
288 void MockPluginDelegate::UnlockMouse(PluginInstance* instance) { 296 void MockPluginDelegate::UnlockMouse(PluginInstance* instance) {
289 } 297 }
290 298
291 } // namespace ppapi 299 } // namespace ppapi
292 } // namespace webkit 300 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698