Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_WIN_H_ | 5 #ifndef CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_WIN_H_ |
| 6 #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_WIN_H_ | 6 #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_WIN_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "chrome/browser/web_applications/web_app.h" | 9 #include "chrome/browser/web_applications/web_app.h" |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 31 | 31 |
| 32 // Update the relaunch details for the given app's window, making the taskbar | 32 // Update the relaunch details for the given app's window, making the taskbar |
| 33 // group's "Pin to the taskbar" button function correctly. | 33 // group's "Pin to the taskbar" button function correctly. |
| 34 void UpdateRelaunchDetailsForApp(Profile* profile, | 34 void UpdateRelaunchDetailsForApp(Profile* profile, |
| 35 const extensions::Extension* extension, | 35 const extensions::Extension* extension, |
| 36 HWND hwnd); | 36 HWND hwnd); |
| 37 | 37 |
| 38 namespace internals { | 38 namespace internals { |
| 39 | 39 |
| 40 bool CheckAndSaveIcon(const base::FilePath& icon_file, | 40 bool CheckAndSaveIcon(const base::FilePath& icon_file, |
| 41 const gfx::ImageFamily& image); | 41 const gfx::ImageFamily& image, |
| 42 bool is_shortcut_creation); | |
|
Matt Giuca
2015/03/25 03:31:19
Call this "do_shchangenotify" (and invert the trut
calamity
2015/03/25 04:37:23
Changed it to refresh_shell_icon_cache.
| |
| 42 | 43 |
| 43 base::FilePath GetIconFilePath(const base::FilePath& web_app_path, | 44 base::FilePath GetIconFilePath(const base::FilePath& web_app_path, |
| 44 const base::string16& title); | 45 const base::string16& title); |
| 45 | 46 |
| 46 } // namespace internals | 47 } // namespace internals |
| 47 | 48 |
| 48 } // namespace web_app | 49 } // namespace web_app |
| 49 | 50 |
| 50 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_WIN_H_ | 51 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_WIN_H_ |
| OLD | NEW |