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

Unified Diff: chrome/browser/tab_contents/infobar.cc

Issue 7134024: Disable scalling of InfoBar icon (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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 | « chrome/browser/tab_contents/infobar.h ('k') | chrome/browser/ui/gtk/infobars/infobar_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/infobar.cc
diff --git a/chrome/browser/tab_contents/infobar.cc b/chrome/browser/tab_contents/infobar.cc
index 0a55bc5bcca745b3c51f1d5ccb69fc5dbb976d93..322e61adf88c4f93a5345b126ee179f50c0c1f1f 100644
--- a/chrome/browser/tab_contents/infobar.cc
+++ b/chrome/browser/tab_contents/infobar.cc
@@ -34,6 +34,10 @@ SkColor GetInfoBarBottomColor(InfoBarDelegate::Type infobar_type) {
kWarningBackgroundColorBottom : kPageActionBackgroundColorBottom;
}
+int GetInfoBarIconSizePixels() {
Peter Kasting 2011/06/08 20:33:43 Why are you using a function instead of a constant
sail 2011/06/08 20:35:13 does this look ok? extern const int kInfoBarIco
+ return 32;
+}
+
#if defined(TOOLKIT_VIEWS) // TODO(pkasting): Port non-views to use this.
InfoBar::InfoBar(TabContentsWrapper* owner, InfoBarDelegate* delegate)
« no previous file with comments | « chrome/browser/tab_contents/infobar.h ('k') | chrome/browser/ui/gtk/infobars/infobar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698