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

Unified Diff: ui/views/controls/non_md_slider.h

Issue 2692043009: Remove last MD reference from TrayPopupUtils. (Closed)
Patch Set: rebase Created 3 years, 10 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 | « ui/views/controls/md_slider.cc ('k') | ui/views/controls/non_md_slider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/non_md_slider.h
diff --git a/ui/views/controls/non_md_slider.h b/ui/views/controls/non_md_slider.h
deleted file mode 100644
index fa6bfc9ca0757017ccf8812b2af11acc30f48306..0000000000000000000000000000000000000000
--- a/ui/views/controls/non_md_slider.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2016 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 UI_VIEWS_CONTROLS_NON_MD_SLIDER_H_
-#define UI_VIEWS_CONTROLS_NON_MD_SLIDER_H_
-
-#include "base/macros.h"
-#include "ui/views/controls/slider.h"
-#include "ui/views/view.h"
-#include "ui/views/views_export.h"
-
-namespace views {
-class Slider;
-
-class VIEWS_EXPORT NonMdSlider : public Slider {
- public:
- explicit NonMdSlider(SliderListener* listener);
- ~NonMdSlider() override;
-
- // ui::Slider:
- void UpdateState(bool control_on) override;
-
- // views::View:
- void OnPaint(gfx::Canvas* canvas) override;
- const char* GetClassName() const override;
-
- protected:
- // ui::Slider:
- int GetThumbWidth() override;
-
- private:
- void UpdateSliderAppearance(bool control_on);
-
- // Array used to hold active slider states and disabled slider states images.
- const int* bar_active_images_;
- const int* bar_disabled_images_;
- const gfx::ImageSkia* thumb_;
-
- // Array used to hold current state of slider images.
- const gfx::ImageSkia* images_[4];
- int bar_height_;
-
- DISALLOW_COPY_AND_ASSIGN(NonMdSlider);
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_CONTROLS_NON_MD_SLIDER_H_
« no previous file with comments | « ui/views/controls/md_slider.cc ('k') | ui/views/controls/non_md_slider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698