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

Side by Side Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_win.cc

Issue 126513004: Rename RootWindowHost to WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 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 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 "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h" 5 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
6 6
7 #include "apps/shell_window.h" 7 #include "apps/shell_window.h"
8 #include "apps/shell_window_registry.h" 8 #include "apps/shell_window_registry.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 26 matching lines...) Expand all
37 return false; 37 return false;
38 } 38 }
39 39
40 // Construct parameters for ShellExecuteEx that mimic a desktop shortcut 40 // Construct parameters for ShellExecuteEx that mimic a desktop shortcut
41 // for the app in the current Profile. 41 // for the app in the current Profile.
42 std::string spec = base::StringPrintf("\"--%s=%s\" \"--%s=%s\"", 42 std::string spec = base::StringPrintf("\"--%s=%s\" \"--%s=%s\"",
43 switches::kProfileDirectory, 43 switches::kProfileDirectory,
44 profile_->GetPath().BaseName().AsUTF8Unsafe().c_str(), 44 profile_->GetPath().BaseName().AsUTF8Unsafe().c_str(),
45 switches::kAppId, 45 switches::kAppId,
46 app_id.c_str()); 46 app_id.c_str());
47 aura::RemoteRootWindowHostWin::Instance()->HandleOpenURLOnDesktop( 47 aura::RemoteWindowTreeHostWin::Instance()->HandleOpenURLOnDesktop(
48 exe_path, base::UTF8ToUTF16(spec)); 48 exe_path, base::UTF8ToUTF16(spec));
49 return true; 49 return true;
50 } 50 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate.cc ('k') | chrome/browser/ui/aura/active_desktop_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698