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

Unified Diff: ui/views/round_rect_painter.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
« no previous file with comments | « ui/views/repeat_controller.cc ('k') | ui/views/round_rect_painter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/round_rect_painter.h
diff --git a/ui/views/round_rect_painter.h b/ui/views/round_rect_painter.h
deleted file mode 100644
index e498e8cbd46ed064f21bdd4932d08ba8917016e8..0000000000000000000000000000000000000000
--- a/ui/views/round_rect_painter.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2012 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_ROUNDED_RECT_PAINTER_H_
-#define UI_VIEWS_ROUNDED_RECT_PAINTER_H_
-
-#include "ui/gfx/rect.h"
-#include "ui/views/painter.h"
-#include "ui/views/views_export.h"
-
-namespace gfx {
-class Canvas;
-class Path;
-class Size;
-}
-
-namespace views {
-
-// Painter to draw a border with rounded corners.
-class VIEWS_EXPORT RoundRectPainter : public Painter {
- public:
- RoundRectPainter(SkColor border_color, int corner_radius);
- virtual ~RoundRectPainter();
-
- // Painter:
- virtual gfx::Size GetMinimumSize() const override;
- virtual void Paint(gfx::Canvas* canvas, const gfx::Size& size) override;
-
- private:
- const SkColor border_color_;
- const int corner_radius_;
-
- DISALLOW_COPY_AND_ASSIGN(RoundRectPainter);
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_ROUNDED_RECT_PAINTER_H_
« no previous file with comments | « ui/views/repeat_controller.cc ('k') | ui/views/round_rect_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698