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

Side by Side Diff: ash/common/system/tiles/tray_tiles.h

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs 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/common/system/tiles/tiles_default_view.cc ('k') | ash/common/system/tiles/tray_tiles.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 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
5 #ifndef ASH_COMMON_SYSTEM_TILES_TRAY_TILES_H_
6 #define ASH_COMMON_SYSTEM_TILES_TRAY_TILES_H_
7
8 #include "ash/ash_export.h"
9 #include "ash/common/system/tray/system_tray_item.h"
10 #include "base/macros.h"
11
12 namespace ash {
13 class SystemTray;
14 class TilesDefaultView;
15
16 // The tray item for the 'tiles' at the bottom of the system menu. Each tile is
17 // an image button which does not reqire explanatory text, and thus does not
18 // require its own dedicated row in the system menu.
19 class ASH_EXPORT TrayTiles : public SystemTrayItem {
20 public:
21 explicit TrayTiles(SystemTray* system_tray);
22 ~TrayTiles() override;
23
24 // Accessor needed to obtain the help button view for the first-run flow.
25 views::View* GetHelpButtonView() const;
26
27 TilesDefaultView* GetDefaultViewForTesting() const;
28 views::View* CreateDefaultViewForTesting(LoginStatus status);
29
30 private:
31 friend class TrayTilesTest;
32
33 // SystemTrayItem:
34 views::View* CreateDefaultView(LoginStatus status) override;
35 void DestroyDefaultView() override;
36
37 TilesDefaultView* default_view_;
38
39 DISALLOW_COPY_AND_ASSIGN(TrayTiles);
40 };
41
42 } // namespace ash
43
44 #endif // ASH_COMMON_SYSTEM_TILES_TRAY_TILES_H_
OLDNEW
« no previous file with comments | « ash/common/system/tiles/tiles_default_view.cc ('k') | ash/common/system/tiles/tray_tiles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698