Chromium Code Reviews| Index: chrome/browser/android/shortcut_info.cc |
| diff --git a/chrome/browser/android/shortcut_info.cc b/chrome/browser/android/shortcut_info.cc |
| index 67e0c5549c344667fdc39db4fc854bd8da65ea7d..ca8fb29ed38f30d93720df27dad8ae02637b5f3d 100644 |
| --- a/chrome/browser/android/shortcut_info.cc |
| +++ b/chrome/browser/android/shortcut_info.cc |
| @@ -31,6 +31,10 @@ void ShortcutInfo::UpdateFromManifest(const content::Manifest& manifest) { |
| if (manifest.display != content::Manifest::DISPLAY_MODE_UNSPECIFIED) |
| display = manifest.display; |
| + // Set the theme color based on the manifest value, if any |
| + if (manifest.theme_color != content::Manifest::kInvalidOrMissingThemeColor) |
| + theme_color = manifest.theme_color; |
|
mlamouri (slow - plz ping)
2015/07/20 13:03:30
Move that to the end of the method.
Lalit Maganti
2015/07/20 13:15:19
Done.
|
| + |
| // 'fullscreen' and 'minimal-ui' are not yet supported, fallback to the right |
| // mode in those cases. |
| if (manifest.display == content::Manifest::DISPLAY_MODE_FULLSCREEN) |