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

Side by Side Diff: ash/system/fractional_view/scale_detailed_view.h

Issue 2849953004: SV Test
Patch Set: Created 3 years, 7 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/shelf/shelf_button.cc ('k') | ash/system/fractional_view/scale_detailed_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
(Empty)
1 // Copyright 2017 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_SYSTEM_FRACTIONAL_VIEW_SCALE_DETAILED_VIEW_H_
6 #define ASH_SYSTEM_FRACTIONAL_VIEW_SCALE_DETAILED_VIEW_H_
7
8 #include "ash/system/tray/tray_details_view.h"
9 #include "base/macros.h"
10
11 namespace views {
12 class View;
13 }
14
15 namespace ash {
16 class HoverHighlightView;
17
18 namespace tray {
19
20 class ScaleDetailedView : public TrayDetailsView {
21 public:
22 explicit ScaleDetailedView(SystemTrayItem* owner);
23
24 ~ScaleDetailedView() override;
25
26 private:
27 HoverHighlightView* AddScrollListItem(const base::string16& text,
28 bool highlight,
29 bool checked);
30
31 void UpdateScrollableList();
32
33 // TrayDetailsView:
34 void HandleViewClicked(views::View* view) override;
35
36 std::map<views::View*, double> view_to_scale_;
37
38 DISALLOW_COPY_AND_ASSIGN(ScaleDetailedView);
39 };
40
41 } // namespace tray
42 } // namespace ash
43
44 #endif // ASH_SYSTEM_FRACTIONAL_VIEW_SCALE_DETAILED_VIEW_H_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_button.cc ('k') | ash/system/fractional_view/scale_detailed_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698