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 #ifndef CHROME_BROWSER_SHELL_INTEGRATION_H_ | 5 #ifndef CHROME_BROWSER_SHELL_INTEGRATION_H_ |
6 #define CHROME_BROWSER_SHELL_INTEGRATION_H_ | 6 #define CHROME_BROWSER_SHELL_INTEGRATION_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 gfx::ImageFamily favicon; | 104 gfx::ImageFamily favicon; |
105 base::FilePath profile_path; | 105 base::FilePath profile_path; |
106 }; | 106 }; |
107 | 107 |
108 // Info about which locations to create app shortcuts in. | 108 // Info about which locations to create app shortcuts in. |
109 struct ShortcutLocations { | 109 struct ShortcutLocations { |
110 ShortcutLocations(); | 110 ShortcutLocations(); |
111 | 111 |
112 bool on_desktop; | 112 bool on_desktop; |
113 bool in_applications_menu; | 113 bool in_applications_menu; |
| 114 string16 applications_menu_subdir; |
114 | 115 |
115 // For Windows, this refers to quick launch bar prior to Win7. In Win7, | 116 // For Windows, this refers to quick launch bar prior to Win7. In Win7, |
116 // this means "pin to taskbar". For Mac/Linux, this could be used for | 117 // this means "pin to taskbar". For Mac/Linux, this could be used for |
117 // Mac dock or the gnome/kde application launcher. However, those are not | 118 // Mac dock or the gnome/kde application launcher. However, those are not |
118 // implemented yet. | 119 // implemented yet. |
119 bool in_quick_launch_bar; | 120 bool in_quick_launch_bar; |
120 | 121 |
121 // For Linux, this refers to a shortcut which the system knows about (for | 122 // For Linux, this refers to a shortcut which the system knows about (for |
122 // the purpose of identifying windows and giving them the correct | 123 // the purpose of identifying windows and giving them the correct |
123 // title/icon), but which does not show up in menus or search results. | 124 // title/icon), but which does not show up in menus or search results. |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 // Set Chrome as the default handler for this protocol. | 330 // Set Chrome as the default handler for this protocol. |
330 virtual bool SetAsDefault(bool interactive_permitted) OVERRIDE; | 331 virtual bool SetAsDefault(bool interactive_permitted) OVERRIDE; |
331 | 332 |
332 std::string protocol_; | 333 std::string protocol_; |
333 | 334 |
334 DISALLOW_COPY_AND_ASSIGN(DefaultProtocolClientWorker); | 335 DISALLOW_COPY_AND_ASSIGN(DefaultProtocolClientWorker); |
335 }; | 336 }; |
336 }; | 337 }; |
337 | 338 |
338 #endif // CHROME_BROWSER_SHELL_INTEGRATION_H_ | 339 #endif // CHROME_BROWSER_SHELL_INTEGRATION_H_ |
OLD | NEW |