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

Unified Diff: chrome/browser/ui/views/infobars/infobar_background.h

Issue 6609047: [linux_views][Win] spoof proof redesign infobar extension with tab. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cast stroke width. Created 9 years, 9 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: chrome/browser/ui/views/infobars/infobar_background.h
diff --git a/chrome/browser/ui/views/infobars/infobar_background.h b/chrome/browser/ui/views/infobars/infobar_background.h
index 1849588b751e88a8e52114727c6f8bb7a4d3770c..e23fed2c38d0f64c23136fc3527e9a52edff137a 100644
--- a/chrome/browser/ui/views/infobars/infobar_background.h
+++ b/chrome/browser/ui/views/infobars/infobar_background.h
@@ -6,7 +6,6 @@
#define CHROME_BROWSER_UI_VIEWS_INFOBARS_INFOBAR_BACKGROUND_H_
#pragma once
-#include "base/scoped_ptr.h"
#include "chrome/browser/tab_contents/infobar_delegate.h"
#include "views/background.h"
@@ -24,7 +23,8 @@ class InfoBarBackground : public views::Background {
// views::Background:
virtual void Paint(gfx::Canvas* canvas, views::View* view) const;
- scoped_ptr<views::Background> gradient_background_;
+ SkColor top_color_;
+ SkColor bottom_color_;
DISALLOW_COPY_AND_ASSIGN(InfoBarBackground);
};

Powered by Google App Engine
This is Rietveld 408576698