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

Side by Side Diff: content/renderer/pepper/fake_pepper_plugin_instance.cc

Issue 268793002: Pepper: Move DoPostMessage out of trusted plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix threading behavior Created 6 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "content/renderer/pepper/fake_pepper_plugin_instance.h" 5 #include "content/renderer/pepper/fake_pepper_plugin_instance.h"
6 6
7 #include "ppapi/c/pp_errors.h" 7 #include "ppapi/c/pp_errors.h"
8 #include "ppapi/shared_impl/ppapi_permissions.h" 8 #include "ppapi/shared_impl/ppapi_permissions.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 return 0; 66 return 0;
67 } 67 }
68 68
69 void FakePepperPluginInstance::SetEmbedProperty(PP_Var key, PP_Var value) {} 69 void FakePepperPluginInstance::SetEmbedProperty(PP_Var key, PP_Var value) {}
70 70
71 void FakePepperPluginInstance::SetSelectedText( 71 void FakePepperPluginInstance::SetSelectedText(
72 const base::string16& selected_text) {} 72 const base::string16& selected_text) {}
73 73
74 void FakePepperPluginInstance::SetLinkUnderCursor(const std::string& url) {} 74 void FakePepperPluginInstance::SetLinkUnderCursor(const std::string& url) {}
75 void FakePepperPluginInstance::SetTextInputType(ui::TextInputType type) {} 75 void FakePepperPluginInstance::SetTextInputType(ui::TextInputType type) {}
76 void FakePepperPluginInstance::PostMessageToJavaScript(PP_Var message) {}
76 77
77 78
78 } // namespace content 79 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/fake_pepper_plugin_instance.h ('k') | content/renderer/pepper/pepper_plugin_instance_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698