diff options
Diffstat (limited to 'chromium/ash/system/chromeos/network/network_tray_delegate.h')
-rw-r--r-- | chromium/ash/system/chromeos/network/network_tray_delegate.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/chromium/ash/system/chromeos/network/network_tray_delegate.h b/chromium/ash/system/chromeos/network/network_tray_delegate.h new file mode 100644 index 00000000000..0ce54023bfa --- /dev/null +++ b/chromium/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 |