Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: ash/system/tray/actionable_view.h

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/system/toast/toast_overlay.cc ('k') | ash/system/tray/actionable_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_ACTIONABLE_VIEW_H_ 5 #ifndef ASH_SYSTEM_TRAY_ACTIONABLE_VIEW_H_
6 #define ASH_COMMON_SYSTEM_TRAY_ACTIONABLE_VIEW_H_ 6 #define ASH_SYSTEM_TRAY_ACTIONABLE_VIEW_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/system/tray/tray_popup_ink_drop_style.h" 9 #include "ash/system/tray/tray_popup_ink_drop_style.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "ui/gfx/geometry/rect.h" 11 #include "ui/gfx/geometry/rect.h"
12 #include "ui/views/controls/button/custom_button.h" 12 #include "ui/views/controls/button/custom_button.h"
13 13
14 namespace ash { 14 namespace ash {
15 class SystemTrayItem; 15 class SystemTrayItem;
16 16
17 // A focusable view that performs an action when user clicks on it, or presses 17 // A focusable view that performs an action when user clicks on it, or presses
18 // enter or space when focused. Note that the action is triggered on mouse-up, 18 // enter or space when focused. Note that the action is triggered on mouse-up,
19 // instead of on mouse-down. So if user presses the mouse on the view, then 19 // instead of on mouse-down. So if user presses the mouse on the view, then
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 bool PerformAction(const ui::Event& event) override; 105 bool PerformAction(const ui::Event& event) override;
106 106
107 private: 107 private:
108 views::ButtonListener* listener_; 108 views::ButtonListener* listener_;
109 109
110 DISALLOW_COPY_AND_ASSIGN(ButtonListenerActionableView); 110 DISALLOW_COPY_AND_ASSIGN(ButtonListenerActionableView);
111 }; 111 };
112 112
113 } // namespace ash 113 } // namespace ash
114 114
115 #endif // ASH_COMMON_SYSTEM_TRAY_ACTIONABLE_VIEW_H_ 115 #endif // ASH_SYSTEM_TRAY_ACTIONABLE_VIEW_H_
OLDNEW
« no previous file with comments | « ash/system/toast/toast_overlay.cc ('k') | ash/system/tray/actionable_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698