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

Side by Side Diff: chrome/installer/util/shell_util.h

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, 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
« no previous file with comments | « no previous file | chrome/installer/util/shell_util.cc » ('j') | chrome/installer/util/shell_util.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file declares methods that are useful for integrating Chrome in 5 // This file declares methods that are useful for integrating Chrome in
6 // Windows shell. These methods are all static and currently part of 6 // Windows shell. These methods are all static and currently part of
7 // ShellUtil class. 7 // ShellUtil class.
8 8
9 #ifndef CHROME_INSTALLER_UTIL_SHELL_UTIL_H_ 9 #ifndef CHROME_INSTALLER_UTIL_SHELL_UTIL_H_
10 #define CHROME_INSTALLER_UTIL_SHELL_UTIL_H_ 10 #define CHROME_INSTALLER_UTIL_SHELL_UTIL_H_
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 // Relative path of ".exe" registry key. 110 // Relative path of ".exe" registry key.
111 static const wchar_t* kRegExePath; 111 static const wchar_t* kRegExePath;
112 112
113 // Registry value name of the open verb. 113 // Registry value name of the open verb.
114 static const wchar_t* kRegVerbOpen; 114 static const wchar_t* kRegVerbOpen;
115 115
116 // Registry value name of the run verb. 116 // Registry value name of the run verb.
117 static const wchar_t* kRegVerbRun; 117 static const wchar_t* kRegVerbRun;
118 118
119 // Registry value name of the opennewwindow verb.
120 static const wchar_t* kRegVerbOpenNewWindow;
gab 2012/07/03 21:03:41 nit: Can you order verbs in alphabetical order?
ananta 2012/07/03 21:06:46 Done.
121
119 // Registry value name for command entries. 122 // Registry value name for command entries.
120 static const wchar_t* kRegCommand; 123 static const wchar_t* kRegCommand;
121 124
122 // Registry value name for the DelegateExecute verb handler. 125 // Registry value name for the DelegateExecute verb handler.
123 static const wchar_t* kRegDelegateExecute; 126 static const wchar_t* kRegDelegateExecute;
124 127
125 // Returns true if |chrome_exe| is registered in HKLM with |suffix|. 128 // Returns true if |chrome_exe| is registered in HKLM with |suffix|.
126 // Note: This only checks one deterministic key in HKLM for |chrome_exe| and 129 // Note: This only checks one deterministic key in HKLM for |chrome_exe| and
127 // doesn't otherwise validate a full Chrome install in HKLM. 130 // doesn't otherwise validate a full Chrome install in HKLM.
128 static bool QuickIsChromeRegisteredInHKLM(BrowserDistribution* dist, 131 static bool QuickIsChromeRegisteredInHKLM(BrowserDistribution* dist,
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 const string16& icon_path, 407 const string16& icon_path,
405 int icon_index, 408 int icon_index,
406 uint32 options); 409 uint32 options);
407 410
408 private: 411 private:
409 DISALLOW_COPY_AND_ASSIGN(ShellUtil); 412 DISALLOW_COPY_AND_ASSIGN(ShellUtil);
410 }; 413 };
411 414
412 415
413 #endif // CHROME_INSTALLER_UTIL_SHELL_UTIL_H_ 416 #endif // CHROME_INSTALLER_UTIL_SHELL_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/installer/util/shell_util.cc » ('j') | chrome/installer/util/shell_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698