| 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 |
| 11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 12 #include "third_party/skia/include/core/SkBitmap.h" | 12 #include "third_party/skia/include/core/SkBitmap.h" |
| 13 #include "third_party/skia/include/core/SkColor.h" | 13 #include "third_party/skia/include/core/SkColor.h" |
| 14 #include "ui/gfx/size.h" | 14 #include "ui/gfx/geometry/size.h" |
| 15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 16 | 16 |
| 17 // Structure used when installing a web page as an app. | 17 // Structure used when installing a web page as an app. |
| 18 struct WebApplicationInfo { | 18 struct WebApplicationInfo { |
| 19 struct IconInfo { | 19 struct IconInfo { |
| 20 IconInfo(); | 20 IconInfo(); |
| 21 ~IconInfo(); | 21 ~IconInfo(); |
| 22 | 22 |
| 23 GURL url; | 23 GURL url; |
| 24 int width; | 24 int width; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 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 }; | 56 }; |
| 57 | 57 |
| 58 #endif // CHROME_COMMON_WEB_APPLICATION_INFO_H_ | 58 #endif // CHROME_COMMON_WEB_APPLICATION_INFO_H_ |
| OLD | NEW |