Home | History | Annotate | Download | only in network
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_TRAY_DELEGATE_H
      6 #define ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_TRAY_DELEGATE_H
      7 
      8 #include "ash/system/chromeos/network/network_observer.h"
      9 
     10 namespace ash {
     11 
     12 class NetworkTrayDelegate {
     13  public:
     14   virtual ~NetworkTrayDelegate() {}
     15 
     16   // Notifies that the |index|-th link on the notification is clicked.
     17   virtual void NotificationLinkClicked(
     18       NetworkObserver::MessageType message_type,
     19       size_t link_index) = 0;
     20 };
     21 
     22 }  // namespace ash
     23 
     24 #endif  // ASH_SYSTEM_CHROMEOS_NETWORK_NETWORK_TRAY_DELEGATE_H
     25