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

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

Issue 142993002: Remove unused members from WebApplicationInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 10 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/common/extensions/extension_messages.h ('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
(...skipping 10 matching lines...) Expand all
21 21
22 GURL url; 22 GURL url;
23 int width; 23 int width;
24 int height; 24 int height;
25 SkBitmap data; 25 SkBitmap data;
26 }; 26 };
27 27
28 WebApplicationInfo(); 28 WebApplicationInfo();
29 ~WebApplicationInfo(); 29 ~WebApplicationInfo();
30 30
31 // URL to a manifest that defines the application. If specified, all other
32 // attributes are derived from this manifest, and the manifest is the unique
33 // ID of the application.
34 GURL manifest_url;
35
36 // Setting indicating this application is artificially constructed. If set,
37 // the application was created from bookmark-style data (title, url, possibly
38 // icon), and not from an official manifest file. In that case, the app_url
39 // can be checked for the later creation of an official manifest instead of
40 // reloading the manifest_url.
41 bool is_bookmark_app;
42
43 // Title of the application. 31 // Title of the application.
44 base::string16 title; 32 base::string16 title;
45 33
46 // Description of the application. 34 // Description of the application.
47 base::string16 description; 35 base::string16 description;
48 36
49 // The launch URL for the app. 37 // The launch URL for the app.
50 GURL app_url; 38 GURL app_url;
51 39
52 // Set of available icons. 40 // Set of available icons.
53 std::vector<IconInfo> icons; 41 std::vector<IconInfo> icons;
54
55 // The permissions the app requests. Only supported with manifest-based apps.
56 std::vector<std::string> permissions;
57
58 // Set of URLs that comprise the app. Only supported with manifest-based apps.
59 // All these must be of the same origin as manifest_url.
60 std::vector<GURL> urls;
61
62 // The type of launch container to use with the app. Currently supported
63 // values are 'tab' and 'panel'. Only supported with manifest-based apps.
64 std::string launch_container;
65
66 // This indicates if the app is functional in offline mode or not.
67 bool is_offline_enabled;
68 }; 42 };
69 43
70 #endif // CHROME_COMMON_WEB_APPLICATION_INFO_H_ 44 #endif // CHROME_COMMON_WEB_APPLICATION_INFO_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_messages.h ('k') | chrome/common/web_application_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698