| 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> |
| 9 |
| 8 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 9 #include "content/public/common/manifest.h" | 11 #include "content/public/common/manifest.h" |
| 10 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationLockType.h" | 12 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationLockType.h" |
| 11 #include "url/gurl.h" | 13 #include "url/gurl.h" |
| 12 | 14 |
| 13 // Information needed to create a shortcut via ShortcutHelper. | 15 // Information needed to create a shortcut via ShortcutHelper. |
| 14 struct ShortcutInfo { | 16 struct ShortcutInfo { |
| 15 | 17 |
| 16 // This enum is used to back a UMA histogram, and must be treated as | 18 // This enum is used to back a UMA histogram, and must be treated as |
| 17 // append-only. | 19 // append-only. |
| (...skipping 24 matching lines...) Expand all Loading... |
| 42 base::string16 short_name; | 44 base::string16 short_name; |
| 43 blink::WebDisplayMode display; | 45 blink::WebDisplayMode display; |
| 44 blink::WebScreenOrientationLockType orientation; | 46 blink::WebScreenOrientationLockType orientation; |
| 45 Source source; | 47 Source source; |
| 46 int64_t theme_color; | 48 int64_t theme_color; |
| 47 int64_t background_color; | 49 int64_t background_color; |
| 48 bool is_icon_generated; | 50 bool is_icon_generated; |
| 49 }; | 51 }; |
| 50 | 52 |
| 51 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_ | 53 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_ |
| OLD | NEW |