diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-30 02:22:35 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-30 02:22:35 +0000 |
commit | 8db2b8493a35e2318bd47a6be52df88079d0a976 (patch) | |
tree | 723ba228d15c286f08ab63b4b719bf6d213e5bc9 /chrome/browser/gtk/infobar_gtk.cc | |
parent | dae22c5cddc8f1ebdfe77e66ebbf834255f94319 (diff) | |
download | chromium_src-8db2b8493a35e2318bd47a6be52df88079d0a976.zip chromium_src-8db2b8493a35e2318bd47a6be52df88079d0a976.tar.gz chromium_src-8db2b8493a35e2318bd47a6be52df88079d0a976.tar.bz2 |
Reland r53603 - Make the OmniboxSearchHint infobar use PAGE_ACTION_TYPE.
This reverts commit 893e3e083fe8d77949860cdb1af7fc14a371651e.
It was reverted due to a LINK failure, but reverting didn't fixed either, so I'm relanding it again.
BUG=39102
TEST=trybots
Review URL: http://codereview.chromium.org/2805096/
TBR=mirandac@chromium.org
Review URL: http://codereview.chromium.org/3057018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54259 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/infobar_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/infobar_gtk.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/gtk/infobar_gtk.cc b/chrome/browser/gtk/infobar_gtk.cc index a389853..e06da07 100644 --- a/chrome/browser/gtk/infobar_gtk.cc +++ b/chrome/browser/gtk/infobar_gtk.cc @@ -214,11 +214,6 @@ void InfoBar::GetTopColor(InfoBarDelegate::Type type, // browser/views/infobars/infobars.cc, and then changed into 0-1 ranged // values for cairo. switch (type) { - case InfoBarDelegate::INFO_TYPE: - *r = 170.0 / 255.0; - *g = 214.0 / 255.0; - *b = 112.0 / 255.0; - break; case InfoBarDelegate::WARNING_TYPE: case InfoBarDelegate::ERROR_TYPE: *r = 255.0 / 255.0; @@ -236,11 +231,6 @@ void InfoBar::GetTopColor(InfoBarDelegate::Type type, void InfoBar::GetBottomColor(InfoBarDelegate::Type type, double* r, double* g, double *b) { switch (type) { - case InfoBarDelegate::INFO_TYPE: - *r = 146.0 / 255.0; - *g = 205.0 / 255.0; - *b = 114.0 / 255.0; - break; case InfoBarDelegate::WARNING_TYPE: case InfoBarDelegate::ERROR_TYPE: *r = 250.0 / 255.0; |