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

Side by Side Diff: chrome/browser/android/shortcut_info.h

Issue 2453423002: Send all of the icon URLs listed in Web Manifest to WebAPK Server. (Closed)
Patch Set: Nits. Created 4 years, 1 month 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/browser/android/shortcut_helper.cc ('k') | chrome/browser/android/shortcut_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_BROWSER_ANDROID_SHORTCUT_INFO_H_ 5 #ifndef CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_
6 #define CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_ 6 #define CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector>
11
10 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
11 #include "content/public/common/manifest.h" 13 #include "content/public/common/manifest.h"
12 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationLockType.h" 14 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationLockType.h"
13 #include "url/gurl.h" 15 #include "url/gurl.h"
14 16
15 // Information needed to create a shortcut via ShortcutHelper. 17 // Information needed to create a shortcut via ShortcutHelper.
16 struct ShortcutInfo { 18 struct ShortcutInfo {
17 19
18 // This enum is used to back a UMA histogram, and must be treated as 20 // This enum is used to back a UMA histogram, and must be treated as
19 // append-only. 21 // append-only.
(...skipping 24 matching lines...) Expand all
44 GURL url; 46 GURL url;
45 GURL scope; 47 GURL scope;
46 base::string16 user_title; 48 base::string16 user_title;
47 base::string16 name; 49 base::string16 name;
48 base::string16 short_name; 50 base::string16 short_name;
49 blink::WebDisplayMode display; 51 blink::WebDisplayMode display;
50 blink::WebScreenOrientationLockType orientation; 52 blink::WebScreenOrientationLockType orientation;
51 Source source; 53 Source source;
52 int64_t theme_color; 54 int64_t theme_color;
53 int64_t background_color; 55 int64_t background_color;
54 GURL icon_url; 56 GURL best_icon_url;
57 std::vector<std::string> icon_urls;
55 }; 58 };
56 59
57 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_ 60 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/shortcut_helper.cc ('k') | chrome/browser/android/shortcut_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698