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 | 4 |
5 #ifndef BASE_WIN_METRO_H_ | 5 #ifndef BASE_WIN_METRO_H_ |
6 #define BASE_WIN_METRO_H_ | 6 #define BASE_WIN_METRO_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <windows.h> | 9 #include <windows.h> |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 // we crashed, terminated, etc. | 27 // we crashed, terminated, etc. |
28 enum MetroPreviousExecutionState { | 28 enum MetroPreviousExecutionState { |
29 NOTRUNNING, | 29 NOTRUNNING, |
30 RUNNING, | 30 RUNNING, |
31 SUSPENDED, | 31 SUSPENDED, |
32 TERMINATED, | 32 TERMINATED, |
33 CLOSEDBYUSER, | 33 CLOSEDBYUSER, |
34 LASTEXECUTIONSTATE, | 34 LASTEXECUTIONSTATE, |
35 }; | 35 }; |
36 | 36 |
| 37 // Contains information about the currently displayed tab in metro mode. |
| 38 struct CurrentTabInfo { |
| 39 wchar_t* title; |
| 40 wchar_t* url; |
| 41 }; |
| 42 |
37 // Returns the handle to the metro dll loaded in the process. A NULL return | 43 // Returns the handle to the metro dll loaded in the process. A NULL return |
38 // indicates that the metro dll was not loaded in the process. | 44 // indicates that the metro dll was not loaded in the process. |
39 BASE_EXPORT HMODULE GetMetroModule(); | 45 BASE_EXPORT HMODULE GetMetroModule(); |
40 | 46 |
41 } // namespace win | 47 } // namespace win |
42 } // namespace base | 48 } // namespace base |
43 | 49 |
44 #endif // BASE_WIN_METRO_H_ | 50 #endif // BASE_WIN_METRO_H_ |
OLD | NEW |