OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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_TRAY_POPUP_ITEM_CONTAINER_H_ | 5 #ifndef ASH_SYSTEM_TRAY_TRAY_POPUP_ITEM_CONTAINER_H_ |
6 #define ASH_COMMON_SYSTEM_TRAY_TRAY_POPUP_ITEM_CONTAINER_H_ | 6 #define ASH_SYSTEM_TRAY_TRAY_POPUP_ITEM_CONTAINER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "ui/views/view.h" | 9 #include "ui/views/view.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 | 12 |
13 // A view which can optionally change the background color when a mouse is | 13 // A view which can optionally change the background color when a mouse is |
14 // hovering or a user is interacting via touch. | 14 // hovering or a user is interacting via touch. |
15 class TrayPopupItemContainer : public views::View { | 15 class TrayPopupItemContainer : public views::View { |
16 public: | 16 public: |
(...skipping 21 matching lines...) Expand all Loading... |
38 | 38 |
39 // True if mouse hover and touch feedback can alter the background color of | 39 // True if mouse hover and touch feedback can alter the background color of |
40 // the container. | 40 // the container. |
41 bool change_background_; | 41 bool change_background_; |
42 | 42 |
43 DISALLOW_COPY_AND_ASSIGN(TrayPopupItemContainer); | 43 DISALLOW_COPY_AND_ASSIGN(TrayPopupItemContainer); |
44 }; | 44 }; |
45 | 45 |
46 } // namespace ash | 46 } // namespace ash |
47 | 47 |
48 #endif // ASH_COMMON_SYSTEM_TRAY_TRAY_POPUP_ITEM_CONTAINER_H_ | 48 #endif // ASH_SYSTEM_TRAY_TRAY_POPUP_ITEM_CONTAINER_H_ |
OLD | NEW |