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

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

Issue 10546102: TabContentsWrapper -> TabContents, part 49. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/ui/web_applications/web_app_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_WEB_APPLICATIONS_WEB_APP_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_
6 #define CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_ 6 #define CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "chrome/browser/shell_integration.h" 11 #include "chrome/browser/shell_integration.h"
12 12
13 class TabContents; 13 class TabContents;
14 typedef TabContents TabContentsWrapper;
15 14
16 namespace web_app { 15 namespace web_app {
17 16
18 // Extracts shortcut info of given TabContentsWrapper. 17 // Extracts shortcut info of given TabContents.
19 void GetShortcutInfoForTab(TabContentsWrapper* tab_contents, 18 void GetShortcutInfoForTab(TabContents* tab_contents,
20 ShellIntegration::ShortcutInfo* info); 19 ShellIntegration::ShortcutInfo* info);
21 20
22 // Updates web app shortcut of the TabContentsWrapper. This function checks and 21 // Updates web app shortcut of the TabContents. This function checks and
23 // updates web app icon and shortcuts if needed. For icon, the check is based 22 // updates web app icon and shortcuts if needed. For icon, the check is based
24 // on MD5 hash of icon image. For shortcuts, it checks the desktop, start menu 23 // on MD5 hash of icon image. For shortcuts, it checks the desktop, start menu
25 // and quick launch (as well as pinned shortcut) for shortcut and only 24 // and quick launch (as well as pinned shortcut) for shortcut and only
26 // updates (recreates) them if they exits. 25 // updates (recreates) them if they exits.
27 void UpdateShortcutForTabContents(TabContentsWrapper* tab_contents); 26 void UpdateShortcutForTabContents(TabContents* tab_contents);
28 27
29 } // namespace web_app 28 } // namespace web_app
30 29
31 #endif // CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_ 30 #endif // CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/web_applications/web_app_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698