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

Side by Side Diff: content/child/npapi/npobject_stub.cc

Issue 1282363003: Convert remaining StringToLowerASCII to ToLowerASCII (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « content/child/browser_font_resource_trusted.cc ('k') | content/child/npapi/plugin_host.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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/child/npapi/npobject_stub.h" 5 #include "content/child/npapi/npobject_stub.h"
6 6
7 #include "content/child/npapi/np_channel_base.h" 7 #include "content/child/npapi/np_channel_base.h"
8 #include "content/child/npapi/npobject_util.h" 8 #include "content/child/npapi/npobject_util.h"
9 #include "content/child/plugin_messages.h" 9 #include "content/child/plugin_messages.h"
10 #include "content/public/common/content_client.h" 10 #include "content/public/common/content_client.h"
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 channel_->Send(reply_msg); 252 channel_->Send(reply_msg);
253 return; 253 return;
254 } 254 }
255 255
256 if (IsPluginProcess()) { 256 if (IsPluginProcess()) {
257 if (npobject_->_class->setProperty) { 257 if (npobject_->_class->setProperty) {
258 #if defined(OS_WIN) 258 #if defined(OS_WIN)
259 static base::FilePath plugin_path = 259 static base::FilePath plugin_path =
260 base::CommandLine::ForCurrentProcess()->GetSwitchValuePath( 260 base::CommandLine::ForCurrentProcess()->GetSwitchValuePath(
261 switches::kPluginPath); 261 switches::kPluginPath);
262 static std::wstring filename = base::StringToLowerASCII( 262 static std::wstring filename = base::ToLowerASCII(
263 plugin_path.BaseName().value()); 263 plugin_path.BaseName().value());
264 static NPIdentifier fullscreen = 264 static NPIdentifier fullscreen =
265 WebBindings::getStringIdentifier("fullScreen"); 265 WebBindings::getStringIdentifier("fullScreen");
266 if (filename == kNewWMPPlugin && id == fullscreen) { 266 if (filename == kNewWMPPlugin && id == fullscreen) {
267 // Workaround for bug 15985, which is if Flash causes WMP to go 267 // Workaround for bug 15985, which is if Flash causes WMP to go
268 // full screen a deadlock can occur when WMP calls SetFocus. 268 // full screen a deadlock can occur when WMP calls SetFocus.
269 NPObjectMsg_SetProperty::WriteReplyParams(reply_msg, true); 269 NPObjectMsg_SetProperty::WriteReplyParams(reply_msg, true);
270 Send(reply_msg); 270 Send(reply_msg);
271 reply_msg = NULL; 271 reply_msg = NULL;
272 } 272 }
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 channel_.get(), 414 channel_.get(),
415 &result_param, 415 &result_param,
416 true, 416 true,
417 render_view_id_, 417 render_view_id_,
418 page_url_); 418 page_url_);
419 NPObjectMsg_Evaluate::WriteReplyParams(reply_msg, result_param, return_value); 419 NPObjectMsg_Evaluate::WriteReplyParams(reply_msg, result_param, return_value);
420 channel_->Send(reply_msg); 420 channel_->Send(reply_msg);
421 } 421 }
422 422
423 } // namespace content 423 } // namespace content
OLDNEW
« no previous file with comments | « content/child/browser_font_resource_trusted.cc ('k') | content/child/npapi/plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698