Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Side by Side Diff: chrome/common/web_application_info.h

Issue 105873009: Use apple-touch-icons for streamlined hosted apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nit Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/web_application_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "ui/gfx/size.h" 13 #include "ui/gfx/size.h"
14 #include "url/gurl.h" 14 #include "url/gurl.h"
15 15
16 // Structure used when installing a web page as an app. 16 // Structure used when installing a web page as an app.
17 struct WebApplicationInfo { 17 struct WebApplicationInfo {
18 struct IconInfo { 18 struct IconInfo {
19 IconInfo();
20 ~IconInfo();
21
19 GURL url; 22 GURL url;
20 int width; 23 int width;
21 int height; 24 int height;
22 SkBitmap data; 25 SkBitmap data;
23 }; 26 };
24 27
25 WebApplicationInfo(); 28 WebApplicationInfo();
26 ~WebApplicationInfo(); 29 ~WebApplicationInfo();
27 30
28 // URL to a manifest that defines the application. If specified, all other 31 // URL to a manifest that defines the application. If specified, all other
(...skipping 29 matching lines...) Expand all
58 61
59 // The type of launch container to use with the app. Currently supported 62 // The type of launch container to use with the app. Currently supported
60 // values are 'tab' and 'panel'. Only supported with manifest-based apps. 63 // values are 'tab' and 'panel'. Only supported with manifest-based apps.
61 std::string launch_container; 64 std::string launch_container;
62 65
63 // This indicates if the app is functional in offline mode or not. 66 // This indicates if the app is functional in offline mode or not.
64 bool is_offline_enabled; 67 bool is_offline_enabled;
65 }; 68 };
66 69
67 #endif // CHROME_COMMON_WEB_APPLICATION_INFO_H_ 70 #endif // CHROME_COMMON_WEB_APPLICATION_INFO_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/web_application_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698