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

Side by Side Diff: base/win/metro.h

Issue 10823170: Add the prototype for the function to display metro style notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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
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_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698