| 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; | |
| 115 | 114 |
| 116 // For Windows, this refers to quick launch bar prior to Win7. In Win7, | 115 // 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 | 116 // 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 | 117 // Mac dock or the gnome/kde application launcher. However, those are not |
| 119 // implemented yet. | 118 // implemented yet. |
| 120 bool in_quick_launch_bar; | 119 bool in_quick_launch_bar; |
| 121 | 120 |
| 122 // For Linux, this refers to a shortcut which the system knows about (for | 121 // For Linux, this refers to a shortcut which the system knows about (for |
| 123 // the purpose of identifying windows and giving them the correct | 122 // the purpose of identifying windows and giving them the correct |
| 124 // title/icon), but which does not show up in menus or search results. | 123 // 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. | 329 // Set Chrome as the default handler for this protocol. |
| 331 virtual bool SetAsDefault(bool interactive_permitted) OVERRIDE; | 330 virtual bool SetAsDefault(bool interactive_permitted) OVERRIDE; |
| 332 | 331 |
| 333 std::string protocol_; | 332 std::string protocol_; |
| 334 | 333 |
| 335 DISALLOW_COPY_AND_ASSIGN(DefaultProtocolClientWorker); | 334 DISALLOW_COPY_AND_ASSIGN(DefaultProtocolClientWorker); |
| 336 }; | 335 }; |
| 337 }; | 336 }; |
| 338 | 337 |
| 339 #endif // CHROME_BROWSER_SHELL_INTEGRATION_H_ | 338 #endif // CHROME_BROWSER_SHELL_INTEGRATION_H_ |
| OLD | NEW |