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 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <wpcapi.h> | 9 #include <wpcapi.h> |
10 | 10 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 BASE_EXPORT bool IsTouchEnabled(); | 63 BASE_EXPORT bool IsTouchEnabled(); |
64 | 64 |
65 // Returns true if Windows Parental control activity logging is enabled. This | 65 // Returns true if Windows Parental control activity logging is enabled. This |
66 // feature is available on Windows Vista and beyond. | 66 // feature is available on Windows Vista and beyond. |
67 // This function should ideally be called on the UI thread. | 67 // This function should ideally be called on the UI thread. |
68 BASE_EXPORT bool IsParentalControlActivityLoggingOn(); | 68 BASE_EXPORT bool IsParentalControlActivityLoggingOn(); |
69 | 69 |
70 // Handler function for the buttons on a metro dialog box | 70 // Handler function for the buttons on a metro dialog box |
71 typedef void (*MetroDialogButtonPressedHandler)(); | 71 typedef void (*MetroDialogButtonPressedHandler)(); |
72 | 72 |
| 73 // Function to display metro style notifications. |
| 74 typedef void (*MetroNotification)(const char* origin_url, |
| 75 const char* icon_url, |
| 76 const wchar_t* title, |
| 77 const wchar_t* body, |
| 78 const wchar_t* display_source, |
| 79 const char* notification_id); |
| 80 |
| 81 |
73 } // namespace win | 82 } // namespace win |
74 } // namespace base | 83 } // namespace base |
75 | 84 |
76 #endif // BASE_WIN_METRO_H_ | 85 #endif // BASE_WIN_METRO_H_ |
OLD | NEW |