Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1260)

Side by Side Diff: win8/metro_driver/secondary_tile.h

Issue 11280112: UMA for Windows 8 Secondary Tile pinning/unpinning user actions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: **fails presubmit** make secondary_tile_types.h, +review comments Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
10 #include "secondary_tile_types.h"
9 11
10 extern "C" __declspec(dllexport) 12 extern "C" __declspec(dllexport)
11 BOOL MetroIsPinnedToStartScreen(const string16& tile_id); 13 BOOL MetroIsPinnedToStartScreen(const string16& tile_id);
12 14
13 extern "C" __declspec(dllexport) 15 extern "C" __declspec(dllexport)
14 void MetroUnPinFromStartScreen(const string16& tile_id); 16 void MetroUnPinFromStartScreen(const string16& tile_id,
17 win8::MetroPinResultCallback callback);
15 18
16 extern "C" __declspec(dllexport) 19 extern "C" __declspec(dllexport)
17 void MetroPinToStartScreen(const string16& tile_id, 20 void MetroPinToStartScreen(const string16& tile_id,
18 const string16& title, 21 const string16& title,
19 const string16& url, 22 const string16& url,
20 const FilePath& logo_path); 23 const FilePath& logo_path,
24 win8::MetroPinResultCallback callback);
21 25
22 #endif // CHROME_BROWSER_UI_METRO_DRIVER_SECONDARY_TILE_H_ 26 #endif // CHROME_BROWSER_UI_METRO_DRIVER_SECONDARY_TILE_H_
23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698