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

Unified Diff: ui/message_center/message_center_types.h

Issue 23636010: Notifications: Add cross-platform UMA: ShowMessageCenter, ShowSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added the hash to chromeactions.txt Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/message_center/message_center_tray.cc ('k') | ui/message_center/views/message_center_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/message_center_types.h
diff --git a/ui/message_center/message_center_types.h b/ui/message_center/message_center_types.h
new file mode 100644
index 0000000000000000000000000000000000000000..280926f96d8ea975b9653f6a2d8a5f040cb36c56
--- /dev/null
+++ b/ui/message_center/message_center_types.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_TYPES_H_
+#define UI_MESSAGE_CENTER_MESSAGE_CENTER_TYPES_H_
+
+namespace message_center {
+
+enum Visibility {
+ // When nothing or just toast popups are being displayed.
+ VISIBILITY_TRANSIENT = 0,
+ // When the message center view is being displayed.
+ VISIBILITY_MESSAGE_CENTER,
+ // When the settings view is being displayed.
+ VISIBILITY_SETTINGS
+};
+
+} // namespace message_center
+
+#endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_TYPES_H_
« no previous file with comments | « ui/message_center/message_center_tray.cc ('k') | ui/message_center/views/message_center_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698