1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27

ash / system / tray / view_click_listener.h [blame]

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ASH_SYSTEM_TRAY_VIEW_CLICK_LISTENER_H_
#define ASH_SYSTEM_TRAY_VIEW_CLICK_LISTENER_H_

#include "ash/ash_export.h"

namespace views {
class View;
}

namespace ash {

class ASH_EXPORT ViewClickListener {
 public:
  // Called when `sender` is clicked. `sender` is non-null.
  virtual void OnViewClicked(views::View* sender) = 0;

 protected:
  virtual ~ViewClickListener() {}
};

}  // namespace ash

#endif  // ASH_SYSTEM_TRAY_VIEW_CLICK_LISTENER_H_