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

Side by Side Diff: chrome/browser/ui/web_applications/web_app_ui.h

Issue 213113005: Remove web_app_ui.[cc|h]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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.
4
5 #ifndef CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_
6 #define CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_
7
8 #include <vector>
9
10 #include "chrome/browser/shell_integration.h"
11
12 namespace content {
13 class WebContents;
14 }
15
16 namespace extensions {
17 class Extension;
18 }
19
20 class Profile;
21
22 namespace web_app {
23
24 // Extracts shortcut info of the given WebContents.
25 void GetShortcutInfoForTab(content::WebContents* web_contents,
26 ShellIntegration::ShortcutInfo* info);
27
28 // Updates web app shortcut of the WebContents. This function checks and
29 // updates web app icon and shortcuts if needed. For icon, the check is based
30 // on MD5 hash of icon image. For shortcuts, it checks the desktop, start menu
31 // and quick launch (as well as pinned shortcut) for shortcut and only
32 // updates (recreates) them if they exits.
33 void UpdateShortcutForTabContents(content::WebContents* web_contents);
34
35 } // namespace web_app
36
37 #endif // CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/create_application_shortcut_view.cc ('k') | chrome/browser/ui/web_applications/web_app_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698