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

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: fix nits 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') | no next file with comments »
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..ec3b1225555fc6891a53311cfc05bcc451ccaa78 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"
#include "ui/views/view.h"
+#include "ui/views/views_export.h"
namespace gfx{
class Canvas;
@@ -49,9 +51,11 @@ class VIEWS_EXPORT Border {
// Creates a border of the specified color, and specified thickness on each
// side.
- static Border* CreateSolidSidedBorder(int top, int left,
- int bottom, int right,
- SkColor color);
+ static Border* CreateSolidSidedBorder(int top,
+ int left,
+ 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698