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

Side by Side Diff: win8/delegate_execute/chrome_util.h

Issue 10928172: Implement the persistent metro mode setting (win8) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 months 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 | Annotate | Revision Log
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 4
5 #ifndef WIN8_DELEGATE_EXECUTE_CHROME_UTIL_H_ 5 #ifndef WIN8_DELEGATE_EXECUTE_CHROME_UTIL_H_
6 #define WIN8_DELEGATE_EXECUTE_CHROME_UTIL_H_ 6 #define WIN8_DELEGATE_EXECUTE_CHROME_UTIL_H_
7 7
8 #include "base/string16.h" 8 #include "base/string16.h"
9 9
10 class FilePath; 10 class FilePath;
11 11
12 namespace delegate_execute { 12 namespace delegate_execute {
13 13
14 // Finalizes a previously updated installation. 14 // Finalizes a previously updated installation.
15 void UpdateChromeIfNeeded(const FilePath& chrome_exe); 15 void UpdateChromeIfNeeded(const FilePath& chrome_exe);
16 16
17 // Returns the appid of the Chrome pointed to by |chrome_exe|. 17 // Returns the appid of the Chrome pointed to by |chrome_exe|.
18 string16 GetAppId(const FilePath& chrome_exe); 18 string16 GetAppId(const FilePath& chrome_exe);
19 19
20 // Heuristic estimate if this machine is a tablet.
21 bool IsMachineATablet();
22
20 } // namespace delegate_execute 23 } // namespace delegate_execute
21 24
22 #endif // WIN8_DELEGATE_EXECUTE_CHROME_UTIL_H_ 25 #endif // WIN8_DELEGATE_EXECUTE_CHROME_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698