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