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_COMMON_WEB_APPLICATION_INFO_H_ | 5 #ifndef CHROME_COMMON_WEB_APPLICATION_INFO_H_ |
6 #define CHROME_COMMON_WEB_APPLICATION_INFO_H_ | 6 #define CHROME_COMMON_WEB_APPLICATION_INFO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 // Set of available icons. | 47 // Set of available icons. |
48 std::vector<IconInfo> icons; | 48 std::vector<IconInfo> icons; |
49 | 49 |
50 // Whether the page is marked as mobile-capable, including apple specific meta | 50 // Whether the page is marked as mobile-capable, including apple specific meta |
51 // tag. | 51 // tag. |
52 MobileCapable mobile_capable; | 52 MobileCapable mobile_capable; |
53 | 53 |
54 // The color to use if an icon needs to be generated for the web app. | 54 // The color to use if an icon needs to be generated for the web app. |
55 SkColor generated_icon_color; | 55 SkColor generated_icon_color; |
| 56 |
| 57 // Whether the app should be opened in a window. If false, the app will be |
| 58 // opened in a tab. |
| 59 bool open_as_window; |
56 }; | 60 }; |
57 | 61 |
58 #endif // CHROME_COMMON_WEB_APPLICATION_INFO_H_ | 62 #endif // CHROME_COMMON_WEB_APPLICATION_INFO_H_ |
OLD | NEW |