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

Unified Diff: ash/system/chromeos/network/network_tray_delegate.h

Issue 12779022: Add Ash notification UI for OutOfCredits network property (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add support for R26 Created 7 years, 9 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 | « ash/system/chromeos/network/network_state_notifier.cc ('k') | ash/system/chromeos/network/tray_network.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/network/network_tray_delegate.h
diff --git a/ash/system/chromeos/network/network_tray_delegate.h b/ash/system/chromeos/network/network_tray_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..0ce54023bfa9d6100c8052ca04d866eb38f90fab
--- /dev/null
+++ b/ash/system/chromeos/network/network_tray_delegate.h
@@ -0,0 +1,24 @@
+// 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 ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_TRAY_DELEGATE_H
+#define ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_TRAY_DELEGATE_H
+
+#include "ash/system/chromeos/network/network_observer.h"
+
+namespace ash {
+
+class NetworkTrayDelegate {
+ public:
+ virtual ~NetworkTrayDelegate() {}
+
+ // Notifies that the |index|-th link on the notification is clicked.
+ virtual void NotificationLinkClicked(
+ NetworkObserver::MessageType message_type,
+ size_t link_index) = 0;
+};
+
+} // namespace ash
+
+#endif // ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_TRAY_DELEGATE_H
« no previous file with comments | « ash/system/chromeos/network/network_state_notifier.cc ('k') | ash/system/chromeos/network/tray_network.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698