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

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

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (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
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 TabContentsWrapper; 13 class TabContents;
14 typedef TabContents TabContentsWrapper;
14 15
15 namespace web_app { 16 namespace web_app {
16 17
17 // Extracts shortcut info of given TabContentsWrapper. 18 // Extracts shortcut info of given TabContentsWrapper.
18 void GetShortcutInfoForTab(TabContentsWrapper* tab_contents, 19 void GetShortcutInfoForTab(TabContentsWrapper* tab_contents,
19 ShellIntegration::ShortcutInfo* info); 20 ShellIntegration::ShortcutInfo* info);
20 21
21 // Updates web app shortcut of the TabContentsWrapper. This function checks and 22 // Updates web app shortcut of the TabContentsWrapper. This function checks and
22 // updates web app icon and shortcuts if needed. For icon, the check is based 23 // updates web app icon and shortcuts if needed. For icon, the check is based
23 // on MD5 hash of icon image. For shortcuts, it checks the desktop, start menu 24 // on MD5 hash of icon image. For shortcuts, it checks the desktop, start menu
24 // and quick launch (as well as pinned shortcut) for shortcut and only 25 // and quick launch (as well as pinned shortcut) for shortcut and only
25 // updates (recreates) them if they exits. 26 // updates (recreates) them if they exits.
26 void UpdateShortcutForTabContents(TabContentsWrapper* tab_contents); 27 void UpdateShortcutForTabContents(TabContentsWrapper* tab_contents);
27 28
28 } // namespace web_app 29 } // namespace web_app
29 30
30 #endif // CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_ 31 #endif // CHROME_BROWSER_UI_WEB_APPLICATIONS_WEB_APP_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tab_modal_confirm_dialog_views.h ('k') | chrome/browser/ui/website_settings_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698