| OLD | NEW |
| 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 24 matching lines...) Expand all Loading... |
| 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 manifest_url; |
| 44 GURL url; | 44 GURL url; |
| 45 GURL scope; |
| 45 base::string16 user_title; | 46 base::string16 user_title; |
| 46 base::string16 name; | 47 base::string16 name; |
| 47 base::string16 short_name; | 48 base::string16 short_name; |
| 48 blink::WebDisplayMode display; | 49 blink::WebDisplayMode display; |
| 49 blink::WebScreenOrientationLockType orientation; | 50 blink::WebScreenOrientationLockType orientation; |
| 50 Source source; | 51 Source source; |
| 51 int64_t theme_color; | 52 int64_t theme_color; |
| 52 int64_t background_color; | 53 int64_t background_color; |
| 53 GURL icon_url; | 54 GURL icon_url; |
| 54 }; | 55 }; |
| 55 | 56 |
| 56 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_ | 57 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_ |
| OLD | NEW |