view_click_listener.h 563 B

1234567891011121314151617181920212223242526
  1. // Copyright 2013 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. #ifndef ASH_SYSTEM_TRAY_VIEW_CLICK_LISTENER_H_
  5. #define ASH_SYSTEM_TRAY_VIEW_CLICK_LISTENER_H_
  6. #include "ash/ash_export.h"
  7. namespace views {
  8. class View;
  9. }
  10. namespace ash {
  11. class ASH_EXPORT ViewClickListener {
  12. public:
  13. virtual void OnViewClicked(views::View* sender) = 0;
  14. protected:
  15. virtual ~ViewClickListener() {}
  16. };
  17. } // namespace ash
  18. #endif // ASH_SYSTEM_TRAY_VIEW_CLICK_LISTENER_H_