OLD | NEW |
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 // Registry value name for an application's company. | 107 // Registry value name for an application's company. |
108 static const wchar_t* kRegApplicationCompany; | 108 static const wchar_t* kRegApplicationCompany; |
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 opennewwindow verb. |
| 117 static const wchar_t* kRegVerbOpenNewWindow; |
| 118 |
116 // Registry value name of the run verb. | 119 // Registry value name of the run verb. |
117 static const wchar_t* kRegVerbRun; | 120 static const wchar_t* kRegVerbRun; |
118 | 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|. |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_ |
OLD | NEW |