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

Unified Diff: ui/views/controls/scrollbar/kennedy_scroll_bar.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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
Index: ui/views/controls/scrollbar/kennedy_scroll_bar.h
diff --git a/ui/views/controls/scrollbar/kennedy_scroll_bar.h b/ui/views/controls/scrollbar/kennedy_scroll_bar.h
deleted file mode 100644
index bd67a059751eff6d227e41996f1693021f646690..0000000000000000000000000000000000000000
--- a/ui/views/controls/scrollbar/kennedy_scroll_bar.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2013 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_SCROLLBAR_KENNEDY_SCROLL_BAR_H_
-#define UI_VIEWS_CONTROLS_SCROLLBAR_KENNEDY_SCROLL_BAR_H_
-
-#include "ui/views/controls/scrollbar/base_scroll_bar.h"
-
-namespace views {
-
-// The scrollbar of kennedy style. Transparent track and grey rectangle
-// thumb. Right now it doesn't have the way to share the background,
-// so it will accept the background color instead.
-class VIEWS_EXPORT KennedyScrollBar : public BaseScrollBar {
- public:
- explicit KennedyScrollBar(bool horizontal);
- virtual ~KennedyScrollBar();
-
- protected:
- // BaseScrollBar overrides:
- virtual gfx::Rect GetTrackBounds() const override;
-
- // ScrollBar overrides:
- virtual int GetLayoutSize() const override;
-
- // View overrides:
- virtual gfx::Size GetPreferredSize() const override;
- virtual void Layout() override;
- virtual void OnPaint(gfx::Canvas* canvas) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(KennedyScrollBar);
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_CONTROLS_SCROLLBAR_KENNEDY_SCROLL_BAR_H_
« no previous file with comments | « ui/views/controls/scrollbar/base_scroll_bar_thumb.cc ('k') | ui/views/controls/scrollbar/kennedy_scroll_bar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698