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

Unified Diff: ui/views/border.h

Issue 10909234: views: Delete painter pointer using scoped_ptr. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clean ups to border.h Created 8 years, 3 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 | « no previous file | ui/views/border.cc » ('j') | ui/views/border.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/border.h
diff --git a/ui/views/border.h b/ui/views/border.h
index 8c6fd1c9f03ba0b709c9f9d19d5af60df0e5be52..015bb38da49cbb8d8a207c4a7f8213f9a855ba94 100644
--- a/ui/views/border.h
+++ b/ui/views/border.h
@@ -5,9 +5,11 @@
#ifndef UI_VIEWS_BORDER_H_
#define UI_VIEWS_BORDER_H_
+#include "base/basictypes.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/insets.h"
tfarina 2012/09/14 14:54:49 We can remove this include and view.h and just for
#include "ui/views/view.h"
+#include "ui/views/views_export.h"
namespace gfx{
class Canvas;
@@ -50,8 +52,8 @@ class VIEWS_EXPORT Border {
// Creates a border of the specified color, and specified thickness on each
// side.
static Border* CreateSolidSidedBorder(int top, int left,
sky 2012/09/17 14:10:27 each param on its own line.
- int bottom, int right,
- SkColor color);
+ int bottom, int right,
+ SkColor color);
// Creates a Border from the specified Painter. The border owns the painter,
// thus the painter is deleted when the Border is deleted.
« no previous file with comments | « no previous file | ui/views/border.cc » ('j') | ui/views/border.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698