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

Unified Diff: chrome/installer/util/shell_util.cc

Issue 10698086: Add the opennewwindow verb to the list of verbs created with a DelegateExecute handler under the Me… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« chrome/installer/util/shell_util.h ('K') | « chrome/installer/util/shell_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/shell_util.cc
===================================================================
--- chrome/installer/util/shell_util.cc (revision 145189)
+++ chrome/installer/util/shell_util.cc (working copy)
@@ -158,7 +158,8 @@
ShellUtil::kRegVerbOpen));
const wchar_t* const verbs[] = { ShellUtil::kRegVerbOpen,
- ShellUtil::kRegVerbRun };
+ ShellUtil::kRegVerbRun,
+ ShellUtil::kRegVerbOpenNewWindow};
gab 2012/07/03 21:03:41 here as well.
gab 2012/07/03 21:06:34 nit: Add space before '}'
ananta 2012/07/03 21:06:46 Done.
for (size_t i = 0; i < arraysize(verbs); ++i) {
string16 sub_path(model_id_shell);
sub_path.push_back(FilePath::kSeparators[0]);
@@ -838,6 +839,7 @@
const wchar_t* ShellUtil::kRegExePath = L"\\.exe";
const wchar_t* ShellUtil::kRegVerbOpen = L"open";
const wchar_t* ShellUtil::kRegVerbRun = L"run";
+const wchar_t* ShellUtil::kRegVerbOpenNewWindow = L"opennewwindow";
gab 2012/07/03 21:03:41 and here too.
ananta 2012/07/03 21:06:46 Done.
const wchar_t* ShellUtil::kRegCommand = L"command";
const wchar_t* ShellUtil::kRegDelegateExecute = L"DelegateExecute";
« chrome/installer/util/shell_util.h ('K') | « chrome/installer/util/shell_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698