OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 #include "ash/system/tray/actionable_view.h" | 5 #include "ash/system/tray/actionable_view.h" |
6 | 6 |
7 #include "ash/common/ash_constants.h" | 7 #include "ash/ash_constants.h" |
8 #include "ash/system/tray/system_tray.h" | 8 #include "ash/system/tray/system_tray.h" |
9 #include "ash/system/tray/system_tray_item.h" | 9 #include "ash/system/tray/system_tray_item.h" |
10 #include "ash/system/tray/tray_constants.h" | 10 #include "ash/system/tray/tray_constants.h" |
11 #include "ash/system/tray/tray_popup_utils.h" | 11 #include "ash/system/tray/tray_popup_utils.h" |
12 #include "ui/accessibility/ax_node_data.h" | 12 #include "ui/accessibility/ax_node_data.h" |
13 #include "ui/events/keycodes/keyboard_codes.h" | 13 #include "ui/events/keycodes/keyboard_codes.h" |
14 #include "ui/gfx/canvas.h" | 14 #include "ui/gfx/canvas.h" |
15 #include "ui/gfx/geometry/rect_f.h" | 15 #include "ui/gfx/geometry/rect_f.h" |
16 #include "ui/views/animation/flood_fill_ink_drop_ripple.h" | 16 #include "ui/views/animation/flood_fill_ink_drop_ripple.h" |
17 #include "ui/views/animation/ink_drop_highlight.h" | 17 #include "ui/views/animation/ink_drop_highlight.h" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 TrayPopupInkDropStyle ink_drop_style, | 132 TrayPopupInkDropStyle ink_drop_style, |
133 views::ButtonListener* listener) | 133 views::ButtonListener* listener) |
134 : ActionableView(owner, ink_drop_style), listener_(listener) {} | 134 : ActionableView(owner, ink_drop_style), listener_(listener) {} |
135 | 135 |
136 bool ButtonListenerActionableView::PerformAction(const ui::Event& event) { | 136 bool ButtonListenerActionableView::PerformAction(const ui::Event& event) { |
137 listener_->ButtonPressed(this, event); | 137 listener_->ButtonPressed(this, event); |
138 return true; | 138 return true; |
139 } | 139 } |
140 | 140 |
141 } // namespace ash | 141 } // namespace ash |
OLD | NEW |