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

Unified Diff: ui/views/border.cc

Issue 2589163003: Add shadow/corner radius to notifications (toasts and in-center). (Closed)
Patch Set: sky reviews Created 3 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/message_center/views/toast_contents_view.h ('k') | ui/wm/core/shadow.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/border.cc
diff --git a/ui/views/border.cc b/ui/views/border.cc
index 6baf545b809e2361d4c07ddfb17a6c523c8bd55e..d483a9c140d9291f18140f354547cb091631ed3f 100644
--- a/ui/views/border.cc
+++ b/ui/views/border.cc
@@ -245,13 +245,11 @@ std::unique_ptr<Border> CreateSolidSidedBorder(int top,
gfx::Insets(top, left, bottom, right), color);
}
-// static
std::unique_ptr<Border> CreatePaddedBorder(std::unique_ptr<Border> border,
const gfx::Insets& insets) {
return base::MakeUnique<ExtraInsetsBorder>(std::move(border), insets);
}
-// static
std::unique_ptr<Border> CreateBorderPainter(std::unique_ptr<Painter> painter,
const gfx::Insets& insets) {
return base::WrapUnique(new BorderPainter(std::move(painter), insets));
« no previous file with comments | « ui/message_center/views/toast_contents_view.h ('k') | ui/wm/core/shadow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698