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

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

Issue 6990072: The first step for enabling off-the-spot IME on Pepper on ChromeOS/Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed a silly mistake lacking an initialization. Created 9 years, 6 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/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.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/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 9
10 namespace webkit { 10 namespace webkit {
11 namespace ppapi { 11 namespace ppapi {
12 12
13 MockPluginDelegate::MockPluginDelegate() { 13 MockPluginDelegate::MockPluginDelegate() {
14 } 14 }
15 15
16 MockPluginDelegate::~MockPluginDelegate() { 16 MockPluginDelegate::~MockPluginDelegate() {
17 } 17 }
18 18
19 void MockPluginDelegate::PluginFocusChanged(bool focused) {
20 }
21
19 void MockPluginDelegate::PluginCrashed(PluginInstance* instance) { 22 void MockPluginDelegate::PluginCrashed(PluginInstance* instance) {
20 } 23 }
21 24
22 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) { 25 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) {
23 } 26 }
24 27
25 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) { 28 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) {
26 } 29 }
27 30
28 SkBitmap* MockPluginDelegate::GetSadPluginBitmap() { 31 SkBitmap* MockPluginDelegate::GetSadPluginBitmap() {
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 return std::string(); 246 return std::string();
244 } 247 }
245 248
246 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory( 249 base::SharedMemory* MockPluginDelegate::CreateAnonymousSharedMemory(
247 uint32_t size) { 250 uint32_t size) {
248 return NULL; 251 return NULL;
249 } 252 }
250 253
251 } // namespace ppapi 254 } // namespace ppapi
252 } // namespace webkit 255 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698