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

Side by Side Diff: remoting/client/plugin/pepper_entrypoints.cc

Issue 2900003: Chrome side of converting enums to uppercase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "remoting/client/plugin/pepper_entrypoints.h" 5 #include "remoting/client/plugin/pepper_entrypoints.h"
6 6
7 #include "remoting/client/plugin/chromoting_plugin.h" 7 #include "remoting/client/plugin/chromoting_plugin.h"
8 #include "third_party/ppapi/c/pp_instance.h" 8 #include "third_party/ppapi/c/pp_instance.h"
9 #include "third_party/ppapi/c/pp_module.h" 9 #include "third_party/ppapi/c/pp_module.h"
10 #include "third_party/ppapi/c/ppp_instance.h" 10 #include "third_party/ppapi/c/ppp_instance.h"
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 return false; 167 return false;
168 ChromotingPlugin* instance = 168 ChromotingPlugin* instance =
169 module_singleton_->InstanceForPPInstance(pp_instance); 169 module_singleton_->InstanceForPPInstance(pp_instance);
170 if (!instance) 170 if (!instance)
171 return false; 171 return false;
172 return instance->HandleEvent(*event); 172 return instance->HandleEvent(*event);
173 } 173 }
174 174
175 static PP_Var Instance_GetInstanceObject(PP_Instance pp_instance) { 175 static PP_Var Instance_GetInstanceObject(PP_Instance pp_instance) {
176 PP_Var var; 176 PP_Var var;
177 var.type = PP_VarType_Void; 177 var.type = PP_VARTYPE_VOID;
178 return var; 178 return var;
179 } 179 }
180 180
181 static void Instance_ViewChanged(PP_Instance pp_instance, 181 static void Instance_ViewChanged(PP_Instance pp_instance,
182 const PP_Rect* position, 182 const PP_Rect* position,
183 const PP_Rect* clip) { 183 const PP_Rect* clip) {
184 if (!module_singleton_) 184 if (!module_singleton_)
185 return; 185 return;
186 ChromotingPlugin* instance = 186 ChromotingPlugin* instance =
187 module_singleton_->InstanceForPPInstance(pp_instance); 187 module_singleton_->InstanceForPPInstance(pp_instance);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 230
231 void PPP_ShutdownModule() { 231 void PPP_ShutdownModule() {
232 return ChromotingModule::PPP_ShutdownModule(); 232 return ChromotingModule::PPP_ShutdownModule();
233 } 233 }
234 234
235 const void* PPP_GetInterface(const char* interface_name) { 235 const void* PPP_GetInterface(const char* interface_name) {
236 return ChromotingModule::PPP_GetInterface(interface_name); 236 return ChromotingModule::PPP_GetInterface(interface_name);
237 } 237 }
238 238
239 } // namespace remoting 239 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/plugin/chromoting_plugin.cc ('k') | webkit/glue/plugins/pepper_device_context_2d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698