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

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

Issue 10391101: Test for Pepper IME events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments from kochi & merge master. Created 8 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop_proxy.h" 8 #include "base/message_loop_proxy.h"
9 #include "ppapi/c/pp_errors.h" 9 #include "ppapi/c/pp_errors.h"
10 #include "ppapi/shared_impl/ppapi_preferences.h" 10 #include "ppapi/shared_impl/ppapi_preferences.h"
(...skipping 19 matching lines...) Expand all
30 void MockPluginDelegate::PluginCaretPositionChanged(PluginInstance* instance) { 30 void MockPluginDelegate::PluginCaretPositionChanged(PluginInstance* instance) {
31 } 31 }
32 32
33 void MockPluginDelegate::PluginRequestedCancelComposition( 33 void MockPluginDelegate::PluginRequestedCancelComposition(
34 PluginInstance* instance) { 34 PluginInstance* instance) {
35 } 35 }
36 36
37 void MockPluginDelegate::PluginSelectionChanged(PluginInstance* instance) { 37 void MockPluginDelegate::PluginSelectionChanged(PluginInstance* instance) {
38 } 38 }
39 39
40 void MockPluginDelegate::SimulateImeSetComposition(
41 const string16& text,
42 const std::vector<WebKit::WebCompositionUnderline>& underlines,
43 int selection_start,
44 int selection_end) {
45 }
46
47 void MockPluginDelegate::SimulateImeConfirmComposition(const string16& text) {
48 }
49
40 void MockPluginDelegate::PluginCrashed(PluginInstance* instance) { 50 void MockPluginDelegate::PluginCrashed(PluginInstance* instance) {
41 } 51 }
42 52
43 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) { 53 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) {
44 } 54 }
45 55
46 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) { 56 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) {
47 } 57 }
48 58
49 SkBitmap* MockPluginDelegate::GetSadPluginBitmap() { 59 SkBitmap* MockPluginDelegate::GetSadPluginBitmap() {
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 MockPluginDelegate::CreateClipboardClient() const { 449 MockPluginDelegate::CreateClipboardClient() const {
440 return NULL; 450 return NULL;
441 } 451 }
442 452
443 std::string MockPluginDelegate::GetDeviceID() { 453 std::string MockPluginDelegate::GetDeviceID() {
444 return std::string(); 454 return std::string();
445 } 455 }
446 456
447 } // namespace ppapi 457 } // namespace ppapi
448 } // namespace webkit 458 } // 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