| 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 <vector> | 10 #include <vector> |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 // Updates the info based on the given |manifest|. | 62 // Updates the info based on the given |manifest|. |
| 63 void UpdateFromManifest(const content::Manifest& manifest); | 63 void UpdateFromManifest(const content::Manifest& manifest); |
| 64 | 64 |
| 65 // Updates the source of the shortcut. | 65 // Updates the source of the shortcut. |
| 66 void UpdateSource(const Source source); | 66 void UpdateSource(const Source source); |
| 67 | 67 |
| 68 GURL manifest_url; | 68 GURL manifest_url; |
| 69 GURL url; | 69 GURL url; |
| 70 GURL scope; | 70 GURL scope; |
| 71 base::string16 user_title; | |
| 72 base::string16 name; | 71 base::string16 name; |
| 73 base::string16 short_name; | 72 base::string16 short_name; |
| 74 blink::WebDisplayMode display; | 73 blink::WebDisplayMode display; |
| 75 blink::WebScreenOrientationLockType orientation; | 74 blink::WebScreenOrientationLockType orientation; |
| 76 Source source; | 75 Source source; |
| 77 int64_t theme_color; | 76 int64_t theme_color; |
| 78 int64_t background_color; | 77 int64_t background_color; |
| 79 int ideal_splash_image_size_in_px; | 78 int ideal_splash_image_size_in_px; |
| 80 int minimum_splash_image_size_in_px; | 79 int minimum_splash_image_size_in_px; |
| 81 GURL splash_image_url; | 80 GURL splash_image_url; |
| 82 GURL best_primary_icon_url; | 81 GURL best_primary_icon_url; |
| 83 GURL best_badge_icon_url; | 82 GURL best_badge_icon_url; |
| 84 std::vector<std::string> icon_urls; | 83 std::vector<std::string> icon_urls; |
| 85 }; | 84 }; |
| 86 | 85 |
| 87 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_ | 86 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_ |
| OLD | NEW |