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

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

Issue 1234653004: webapps: utilize manifest theme colors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mounir's comments Created 5 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
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 "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "content/public/common/manifest.h" 9 #include "content/public/common/manifest.h"
10 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationLockType.h" 10 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationLockType.h"
(...skipping 22 matching lines...) Expand all
33 // Updates the info based on the given |manifest|. 33 // Updates the info based on the given |manifest|.
34 void UpdateFromManifest(const content::Manifest& manifest); 34 void UpdateFromManifest(const content::Manifest& manifest);
35 35
36 // Updates the source of the shortcut. 36 // Updates the source of the shortcut.
37 void UpdateSource(const Source source); 37 void UpdateSource(const Source source);
38 38
39 GURL url; 39 GURL url;
40 base::string16 title; 40 base::string16 title;
41 content::Manifest::DisplayMode display; 41 content::Manifest::DisplayMode display;
42 blink::WebScreenOrientationLockType orientation; 42 blink::WebScreenOrientationLockType orientation;
43 int64_t theme_color;
43 Source source; 44 Source source;
44 }; 45 };
45 46
46 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_ 47 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698