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

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

Issue 934503002: Ash frames: dark frames now use white caption buttons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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/views/frame/browser_header_painter_ash.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/web_app_left_header_view_ash.cc
diff --git a/chrome/browser/ui/views/frame/web_app_left_header_view_ash.cc b/chrome/browser/ui/views/frame/web_app_left_header_view_ash.cc
index 23e92563550bf172dd0c1bf495b692d0c6cbaf18..4f7e18c6441590445fc65cf0d4bf06b7a0916536 100644
--- a/chrome/browser/ui/views/frame/web_app_left_header_view_ash.cc
+++ b/chrome/browser/ui/views/frame/web_app_left_header_view_ash.cc
@@ -26,8 +26,7 @@ WebAppLeftHeaderView::WebAppLeftHeaderView(BrowserView* browser_view)
new ash::FrameCaptionButton(this, ash::CAPTION_BUTTON_ICON_BACK);
back_button_->SetImages(
ash::CAPTION_BUTTON_ICON_BACK, ash::FrameCaptionButton::ANIMATE_NO,
- IDR_AURA_WINDOW_CONTROL_ICON_BACK, IDR_AURA_WINDOW_CONTROL_ICON_BACK_I,
- IDR_AURA_WINDOW_CONTROL_BACKGROUND_H,
+ IDR_AURA_WINDOW_CONTROL_ICON_BACK, IDR_AURA_WINDOW_CONTROL_BACKGROUND_H,
IDR_AURA_WINDOW_CONTROL_BACKGROUND_P);
AddChildView(back_button_);
@@ -43,10 +42,10 @@ WebAppLeftHeaderView::~WebAppLeftHeaderView() {
void WebAppLeftHeaderView::Update() {
int icon_resource = browser_view_->browser()->toolbar_model()->GetIcon();
- location_icon_->SetImages(
- ash::CAPTION_BUTTON_ICON_LOCATION, ash::FrameCaptionButton::ANIMATE_NO,
- icon_resource, icon_resource, IDR_AURA_WINDOW_CONTROL_BACKGROUND_H,
- IDR_AURA_WINDOW_CONTROL_BACKGROUND_P);
+ location_icon_->SetImages(ash::CAPTION_BUTTON_ICON_LOCATION,
+ ash::FrameCaptionButton::ANIMATE_NO, icon_resource,
+ IDR_AURA_WINDOW_CONTROL_BACKGROUND_H,
+ IDR_AURA_WINDOW_CONTROL_BACKGROUND_P);
back_button_->SetState(
chrome::IsCommandEnabled(browser_view_->browser(), IDC_BACK)
« no previous file with comments | « chrome/browser/ui/views/frame/browser_header_painter_ash.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698