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