| 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 std::string profile_name; | 106 std::string profile_name; |
| 107 }; | 107 }; |
| 108 | 108 |
| 109 // Info about which locations to create app shortcuts in. | 109 // Info about which locations to create app shortcuts in. |
| 110 struct ShortcutLocations { | 110 struct ShortcutLocations { |
| 111 ShortcutLocations(); | 111 ShortcutLocations(); |
| 112 | 112 |
| 113 bool on_desktop; | 113 bool on_desktop; |
| 114 bool in_applications_menu; | 114 |
| 115 string16 applications_menu_subdir; | 115 // For Windows, these refer to "Start Menu", "Start Menu/Google Chrome", |
| 116 // and "Start Menu/Chrome Apps" respectively. |
| 117 bool in_applications_menu_root; |
| 118 bool in_applications_menu_chrome_subdir; |
| 119 bool in_applications_menu_chrome_apps_subdir; |
| 116 | 120 |
| 117 // For Windows, this refers to quick launch bar prior to Win7. In Win7, | 121 // For Windows, this refers to quick launch bar prior to Win7. In Win7, |
| 118 // this means "pin to taskbar". For Mac/Linux, this could be used for | 122 // this means "pin to taskbar". For Mac/Linux, this could be used for |
| 119 // Mac dock or the gnome/kde application launcher. However, those are not | 123 // Mac dock or the gnome/kde application launcher. However, those are not |
| 120 // implemented yet. | 124 // implemented yet. |
| 121 bool in_quick_launch_bar; | 125 bool in_quick_launch_bar; |
| 122 | 126 |
| 123 // For Linux, this refers to a shortcut which the system knows about (for | 127 // For Linux, this refers to a shortcut which the system knows about (for |
| 124 // the purpose of identifying windows and giving them the correct | 128 // the purpose of identifying windows and giving them the correct |
| 125 // title/icon), but which does not show up in menus or search results. | 129 // title/icon), but which does not show up in menus or search results. |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 // Set Chrome as the default handler for this protocol. | 330 // Set Chrome as the default handler for this protocol. |
| 327 virtual bool SetAsDefault(bool interactive_permitted) OVERRIDE; | 331 virtual bool SetAsDefault(bool interactive_permitted) OVERRIDE; |
| 328 | 332 |
| 329 std::string protocol_; | 333 std::string protocol_; |
| 330 | 334 |
| 331 DISALLOW_COPY_AND_ASSIGN(DefaultProtocolClientWorker); | 335 DISALLOW_COPY_AND_ASSIGN(DefaultProtocolClientWorker); |
| 332 }; | 336 }; |
| 333 }; | 337 }; |
| 334 | 338 |
| 335 #endif // CHROME_BROWSER_SHELL_INTEGRATION_H_ | 339 #endif // CHROME_BROWSER_SHELL_INTEGRATION_H_ |
| OLD | NEW |