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

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

Issue 2064943002: Pass in extra parameters to WebApkBuilder#buildWebApkAsync() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into webapk_manifest000 Created 4 years, 5 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/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 "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 22 matching lines...) Expand all
33 explicit ShortcutInfo(const GURL& shortcut_url); 33 explicit ShortcutInfo(const GURL& shortcut_url);
34 ShortcutInfo(const ShortcutInfo& other); 34 ShortcutInfo(const ShortcutInfo& other);
35 ~ShortcutInfo(); 35 ~ShortcutInfo();
36 36
37 // Updates the info based on the given |manifest|. 37 // Updates the info based on the given |manifest|.
38 void UpdateFromManifest(const content::Manifest& manifest); 38 void UpdateFromManifest(const content::Manifest& manifest);
39 39
40 // Updates the source of the shortcut. 40 // Updates the source of the shortcut.
41 void UpdateSource(const Source source); 41 void UpdateSource(const Source source);
42 42
43 GURL manifest_url;
43 GURL url; 44 GURL url;
44 base::string16 user_title; 45 base::string16 user_title;
45 base::string16 name; 46 base::string16 name;
46 base::string16 short_name; 47 base::string16 short_name;
47 blink::WebDisplayMode display; 48 blink::WebDisplayMode display;
48 blink::WebScreenOrientationLockType orientation; 49 blink::WebScreenOrientationLockType orientation;
49 Source source; 50 Source source;
50 int64_t theme_color; 51 int64_t theme_color;
51 int64_t background_color; 52 int64_t background_color;
52 bool is_icon_generated; 53 GURL icon_url;
53 }; 54 };
54 55
55 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_ 56 #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