Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / android / shortcut_info.h
blob94151031e707b8f66e5c26e3a3b435c03c188a60
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_
6 #define CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_
8 #include "base/strings/string16.h"
9 #include "content/public/common/manifest.h"
10 #include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h"
11 #include "url/gurl.h"
13 // Information needed to create a shortcut via ShortcutHelper.
14 struct ShortcutInfo {
15 ShortcutInfo();
16 explicit ShortcutInfo(const GURL& shortcut_url);
18 // Updates the info based on the given |manifest|.
19 void UpdateFromManifest(const content::Manifest& manifest);
21 GURL url;
22 base::string16 title;
23 content::Manifest::DisplayMode display;
24 blink::WebScreenOrientationLockType orientation;
27 #endif // CHROME_BROWSER_ANDROID_SHORTCUT_INFO_H_