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

Unified Diff: chrome/browser/web_applications/web_app.h

Issue 213113005: Remove web_app_ui.[cc|h]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes for Win Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/web_applications/web_app.h
diff --git a/chrome/browser/web_applications/web_app.h b/chrome/browser/web_applications/web_app.h
index 986dcf1a294e37b16d79f4fdb2691427b8ab3bb7..e66c2755e8200697f62e8519dea3088ce7859006 100644
--- a/chrome/browser/web_applications/web_app.h
+++ b/chrome/browser/web_applications/web_app.h
@@ -17,6 +17,10 @@
class Profile;
+namespace content {
+class WebContents;
+}
+
namespace extensions {
class Extension;
}
@@ -37,6 +41,10 @@ enum ShortcutCreationReason {
typedef base::Callback<void(const ShellIntegration::ShortcutInfo&)>
ShortcutInfoCallback;
+// Extracts shortcut info of the given WebContents.
+void GetShortcutInfoForTab(content::WebContents* web_contents,
+ ShellIntegration::ShortcutInfo* info);
+
ShellIntegration::ShortcutInfo ShortcutInfoForExtensionAndProfile(
const extensions::Extension* app,
Profile* profile);

Powered by Google App Engine
This is Rietveld 408576698