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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
103 base::FilePath extension_path; | 103 base::FilePath extension_path; |
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 | |
114 // For Windows, these refer to Start Menu/, Start Menu/Google Chrome, and | |
115 // Start Menu/Chrome Apps respectively. | |
Matt Giuca
2013/05/15 05:19:45
Put quotes around these for readability like "Star
calamity
2013/08/27 07:59:35
Done.
| |
113 bool in_applications_menu; | 116 bool in_applications_menu; |
huangs
2013/05/15 02:33:46
in_application_menu_root
calamity
2013/08/27 07:59:35
Done.
| |
114 string16 applications_menu_subdir; | 117 bool in_applications_menu_chrome_subdir; |
118 bool in_applications_menu_chrome_apps_subdir; | |
115 | 119 |
116 // For Windows, this refers to quick launch bar prior to Win7. In Win7, | 120 // For Windows, this refers to quick launch bar prior to Win7. In Win7, |
117 // this means "pin to taskbar". For Mac/Linux, this could be used for | 121 // this means "pin to taskbar". For Mac/Linux, this could be used for |
118 // Mac dock or the gnome/kde application launcher. However, those are not | 122 // Mac dock or the gnome/kde application launcher. However, those are not |
119 // implemented yet. | 123 // implemented yet. |
120 bool in_quick_launch_bar; | 124 bool in_quick_launch_bar; |
121 | 125 |
122 // For Linux, this refers to a shortcut which the system knows about (for | 126 // For Linux, this refers to a shortcut which the system knows about (for |
123 // the purpose of identifying windows and giving them the correct | 127 // the purpose of identifying windows and giving them the correct |
124 // title/icon), but which does not show up in menus or search results. | 128 // 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... | |
330 // Set Chrome as the default handler for this protocol. | 334 // Set Chrome as the default handler for this protocol. |
331 virtual bool SetAsDefault(bool interactive_permitted) OVERRIDE; | 335 virtual bool SetAsDefault(bool interactive_permitted) OVERRIDE; |
332 | 336 |
333 std::string protocol_; | 337 std::string protocol_; |
334 | 338 |
335 DISALLOW_COPY_AND_ASSIGN(DefaultProtocolClientWorker); | 339 DISALLOW_COPY_AND_ASSIGN(DefaultProtocolClientWorker); |
336 }; | 340 }; |
337 }; | 341 }; |
338 | 342 |
339 #endif // CHROME_BROWSER_SHELL_INTEGRATION_H_ | 343 #endif // CHROME_BROWSER_SHELL_INTEGRATION_H_ |
OLD | NEW |