OLD | NEW |
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 #ifndef CHROME_BROWSER_UI_METRO_DRIVER_SECONDARY_TILE_H_ | 4 #ifndef CHROME_BROWSER_UI_METRO_DRIVER_SECONDARY_TILE_H_ |
5 #define CHROME_BROWSER_UI_METRO_DRIVER_SECONDARY_TILE_H_ | 5 #define CHROME_BROWSER_UI_METRO_DRIVER_SECONDARY_TILE_H_ |
6 | 6 |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "base/string16.h" | 8 #include "base/string16.h" |
| 9 #include "base/win/metro.h" |
9 | 10 |
10 extern "C" __declspec(dllexport) | 11 extern "C" __declspec(dllexport) |
11 BOOL MetroIsPinnedToStartScreen(const string16& tile_id); | 12 BOOL MetroIsPinnedToStartScreen(const string16& tile_id); |
12 | 13 |
13 extern "C" __declspec(dllexport) | 14 extern "C" __declspec(dllexport) |
14 void MetroUnPinFromStartScreen(const string16& tile_id); | 15 void MetroUnPinFromStartScreen(const string16& tile_id, |
| 16 base::win::MetroPinResultCallback callback); |
15 | 17 |
16 extern "C" __declspec(dllexport) | 18 extern "C" __declspec(dllexport) |
17 void MetroPinToStartScreen(const string16& tile_id, | 19 void MetroPinToStartScreen(const string16& tile_id, |
18 const string16& title, | 20 const string16& title, |
19 const string16& url, | 21 const string16& url, |
20 const FilePath& logo_path); | 22 const FilePath& logo_path, |
| 23 base::win::MetroPinResultCallback callback); |
21 | 24 |
22 #endif // CHROME_BROWSER_UI_METRO_DRIVER_SECONDARY_TILE_H_ | 25 #endif // CHROME_BROWSER_UI_METRO_DRIVER_SECONDARY_TILE_H_ |
23 | 26 |
OLD | NEW |