| 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_
|
|
|