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

Side by Side Diff: chrome/browser/web_applications/web_app.h

Issue 17370003: [Win] App launcher drag/drop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile Created 7 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) 2012 The Chromium Authors. All rights reserved. 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 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_WEB_APPLICATIONS_WEB_APP_H_ 5 #ifndef CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_
6 #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ 6 #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // them as a separate application. 94 // them as a separate application.
95 std::string GetWMClassFromAppName(std::string app_name); 95 std::string GetWMClassFromAppName(std::string app_name);
96 #endif 96 #endif
97 97
98 // Gets the name of the Chrome Apps menu folder in which to place app shortcuts. 98 // Gets the name of the Chrome Apps menu folder in which to place app shortcuts.
99 string16 GetAppShortcutsSubdirName(); 99 string16 GetAppShortcutsSubdirName();
100 100
101 namespace internals { 101 namespace internals {
102 102
103 #if defined(OS_WIN) 103 #if defined(OS_WIN)
104 bool CheckAndSaveIcon(const base::FilePath& icon_file,
105 const gfx::ImageFamily& image);
106
107 std::vector<base::FilePath> GetShortcutPaths( 104 std::vector<base::FilePath> GetShortcutPaths(
108 const ShellIntegration::ShortcutLocations& creation_locations); 105 const ShellIntegration::ShortcutLocations& creation_locations);
109 #endif 106 #endif
110 107
111 // Implemented for each platform, does the platform specific parts of creating 108 // Implemented for each platform, does the platform specific parts of creating
112 // shortcuts. Used internally by CreateShortcutsOnFileThread. 109 // shortcuts. Used internally by CreateShortcutsOnFileThread.
113 // |shortcut_data_path| is where to store any resources created for the 110 // |shortcut_data_path| is where to store any resources created for the
114 // shortcut, and is also used as the UserDataDir for platform app shortcuts. 111 // shortcut, and is also used as the UserDataDir for platform app shortcuts.
115 // |shortcut_info| contains info about the shortcut to create, and 112 // |shortcut_info| contains info about the shortcut to create, and
116 // |creation_locations| contains information about where to create them. 113 // |creation_locations| contains information about where to create them.
(...skipping 19 matching lines...) Expand all
136 133
137 // Sanitizes |name| and returns a version of it that is safe to use as an 134 // Sanitizes |name| and returns a version of it that is safe to use as an
138 // on-disk file name . 135 // on-disk file name .
139 base::FilePath GetSanitizedFileName(const string16& name); 136 base::FilePath GetSanitizedFileName(const string16& name);
140 137
141 } // namespace internals 138 } // namespace internals
142 139
143 } // namespace web_app 140 } // namespace web_app
144 141
145 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ 142 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/web_applications/web_app_ui.cc ('k') | chrome/browser/web_applications/web_app_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698