summaryrefslogtreecommitdiff
path: root/chromium/win8/metro_driver/secondary_tile.h
blob: 9740864bbdf8032943825b04d07442a1a9ccd159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_METRO_DRIVER_SECONDARY_TILE_H_
#define CHROME_BROWSER_UI_METRO_DRIVER_SECONDARY_TILE_H_

#include "base/files/file_path.h"
#include "base/strings/string16.h"
#include "base/win/metro.h"

extern "C" __declspec(dllexport)
BOOL MetroIsPinnedToStartScreen(const string16& tile_id);

extern "C" __declspec(dllexport)
void MetroUnPinFromStartScreen(
    const string16& tile_id,
    const base::win::MetroPinUmaResultCallback& callback);

extern "C" __declspec(dllexport)
void MetroPinToStartScreen(
    const string16& tile_id,
    const string16& title,
    const string16& url,
    const base::FilePath& logo_path,
    const base::win::MetroPinUmaResultCallback& callback);

#endif  // CHROME_BROWSER_UI_METRO_DRIVER_SECONDARY_TILE_H_