OLD | NEW |
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 22 matching lines...) Expand all Loading... |
33 } | 33 } |
34 | 34 |
35 void MockPluginDelegate::PluginRequestedCancelComposition( | 35 void MockPluginDelegate::PluginRequestedCancelComposition( |
36 PluginInstance* instance) { | 36 PluginInstance* instance) { |
37 } | 37 } |
38 | 38 |
39 void MockPluginDelegate::PluginSelectionChanged(PluginInstance* instance) { | 39 void MockPluginDelegate::PluginSelectionChanged(PluginInstance* instance) { |
40 } | 40 } |
41 | 41 |
42 void MockPluginDelegate::SimulateImeSetComposition( | 42 void MockPluginDelegate::SimulateImeSetComposition( |
43 const string16& text, | 43 const base::string16& text, |
44 const std::vector<WebKit::WebCompositionUnderline>& underlines, | 44 const std::vector<WebKit::WebCompositionUnderline>& underlines, |
45 int selection_start, | 45 int selection_start, |
46 int selection_end) { | 46 int selection_end) { |
47 } | 47 } |
48 | 48 |
49 void MockPluginDelegate::SimulateImeConfirmComposition(const string16& text) { | 49 void MockPluginDelegate::SimulateImeConfirmComposition( |
| 50 const base::string16& text) { |
50 } | 51 } |
51 | 52 |
52 void MockPluginDelegate::PluginCrashed(PluginInstance* instance) { | 53 void MockPluginDelegate::PluginCrashed(PluginInstance* instance) { |
53 } | 54 } |
54 | 55 |
55 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) { | 56 void MockPluginDelegate::InstanceCreated(PluginInstance* instance) { |
56 } | 57 } |
57 | 58 |
58 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) { | 59 void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) { |
59 } | 60 } |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 | 385 |
385 IPC::PlatformFileForTransit MockPluginDelegate::ShareHandleWithRemote( | 386 IPC::PlatformFileForTransit MockPluginDelegate::ShareHandleWithRemote( |
386 base::PlatformFile handle, | 387 base::PlatformFile handle, |
387 base::ProcessId target_process_id, | 388 base::ProcessId target_process_id, |
388 bool should_close_source) const { | 389 bool should_close_source) const { |
389 return IPC::InvalidPlatformFileForTransit(); | 390 return IPC::InvalidPlatformFileForTransit(); |
390 } | 391 } |
391 | 392 |
392 } // namespace ppapi | 393 } // namespace ppapi |
393 } // namespace webkit | 394 } // namespace webkit |
OLD | NEW |