OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_COMMON_SYSTEM_TRAY_VIEW_CLICK_LISTENER_H_ | 5 #ifndef ASH_SYSTEM_TRAY_VIEW_CLICK_LISTENER_H_ |
6 #define ASH_COMMON_SYSTEM_TRAY_VIEW_CLICK_LISTENER_H_ | 6 #define ASH_SYSTEM_TRAY_VIEW_CLICK_LISTENER_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 | 9 |
10 namespace views { | 10 namespace views { |
11 class View; | 11 class View; |
12 } | 12 } |
13 | 13 |
14 namespace ash { | 14 namespace ash { |
15 | 15 |
16 class ASH_EXPORT ViewClickListener { | 16 class ASH_EXPORT ViewClickListener { |
17 public: | 17 public: |
18 virtual void OnViewClicked(views::View* sender) = 0; | 18 virtual void OnViewClicked(views::View* sender) = 0; |
19 | 19 |
20 protected: | 20 protected: |
21 virtual ~ViewClickListener() {} | 21 virtual ~ViewClickListener() {} |
22 }; | 22 }; |
23 | 23 |
24 } // namespace ash | 24 } // namespace ash |
25 | 25 |
26 #endif // ASH_COMMON_SYSTEM_TRAY_VIEW_CLICK_LISTENER_H_ | 26 #endif // ASH_SYSTEM_TRAY_VIEW_CLICK_LISTENER_H_ |
OLD | NEW |