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
3 // found in the LICENSE file.
5 #ifndef CHROME_COMMON_WEB_APPLICATION_INFO_H_
6 #define CHROME_COMMON_WEB_APPLICATION_INFO_H_
11 #include "base/strings/string16.h"
12 #include "third_party/skia/include/core/SkBitmap.h"
13 #include "third_party/skia/include/core/SkColor.h"
14 #include "ui/gfx/geometry/size.h"
17 // Structure used when installing a web page as an app.
18 struct WebApplicationInfo
{
30 MOBILE_CAPABLE_UNSPECIFIED
,
36 ~WebApplicationInfo();
38 // Title of the application.
41 // Description of the application.
42 base::string16 description
;
44 // The launch URL for the app.
47 // Set of available icons.
48 std::vector
<IconInfo
> icons
;
50 // Whether the page is marked as mobile-capable, including apple specific meta
52 MobileCapable mobile_capable
;
54 // The color to use if an icon needs to be generated for the web app.
55 SkColor generated_icon_color
;
57 // Whether the app should be opened in a window. If false, the app will be
62 #endif // CHROME_COMMON_WEB_APPLICATION_INFO_H_