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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 10837240: Search state transitions not working (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OVERRIDE Created 8 years, 4 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/ui/search/search_types.h ('k') | chrome/browser/ui/views/search_view_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 042f8ecd7b396a1d42cf33e7fb272ead27fe7442..f2cfa1b43a487b5164707c2fe370d241badca319 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -867,7 +867,8 @@ SkColor BrowserView::GetToolbarBackgroundColor(
return theme_provider->GetColor(
ThemeService::COLOR_SEARCH_NTP_BACKGROUND);
- case chrome::search::Mode::MODE_SEARCH:
+ case chrome::search::Mode::MODE_SEARCH_SUGGESTIONS:
+ case chrome::search::Mode::MODE_SEARCH_RESULTS:
return theme_provider->GetColor(
ThemeService::COLOR_SEARCH_SEARCH_BACKGROUND);
@@ -889,7 +890,8 @@ gfx::ImageSkia* BrowserView::GetToolbarBackgroundImage(
case chrome::search::Mode::MODE_NTP:
return theme_provider->GetImageSkiaNamed(IDR_THEME_NTP_BACKGROUND);
- case chrome::search::Mode::MODE_SEARCH:
+ case chrome::search::Mode::MODE_SEARCH_SUGGESTIONS:
+ case chrome::search::Mode::MODE_SEARCH_RESULTS:
case chrome::search::Mode::MODE_DEFAULT:
default:
return theme_provider->GetImageSkiaNamed(IDR_THEME_TOOLBAR_SEARCH);
« no previous file with comments | « chrome/browser/ui/search/search_types.h ('k') | chrome/browser/ui/views/search_view_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698