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

Unified Diff: ash/system/fractional_view/scale_detailed_view.h

Issue 2849953004: SV Test
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/fractional_view/scale_detailed_view.h
diff --git a/ash/system/fractional_view/scale_detailed_view.h b/ash/system/fractional_view/scale_detailed_view.h
new file mode 100644
index 0000000000000000000000000000000000000000..b9854bc19107b4c1f5cd3a57871ad72240e5b701
--- /dev/null
+++ b/ash/system/fractional_view/scale_detailed_view.h
@@ -0,0 +1,44 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_SYSTEM_FRACTIONAL_VIEW_SCALE_DETAILED_VIEW_H_
+#define ASH_SYSTEM_FRACTIONAL_VIEW_SCALE_DETAILED_VIEW_H_
+
+#include "ash/system/tray/tray_details_view.h"
+#include "base/macros.h"
+
+namespace views {
+class View;
+}
+
+namespace ash {
+class HoverHighlightView;
+
+namespace tray {
+
+class ScaleDetailedView : public TrayDetailsView {
+ public:
+ explicit ScaleDetailedView(SystemTrayItem* owner);
+
+ ~ScaleDetailedView() override;
+
+ private:
+ HoverHighlightView* AddScrollListItem(const base::string16& text,
+ bool highlight,
+ bool checked);
+
+ void UpdateScrollableList();
+
+ // TrayDetailsView:
+ void HandleViewClicked(views::View* view) override;
+
+ std::map<views::View*, double> view_to_scale_;
+
+ DISALLOW_COPY_AND_ASSIGN(ScaleDetailedView);
+};
+
+} // namespace tray
+} // namespace ash
+
+#endif // ASH_SYSTEM_FRACTIONAL_VIEW_SCALE_DETAILED_VIEW_H_
« 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