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

Unified Diff: chrome/browser/ui/views/frame/browser_header_painter_ash.h

Issue 1505223004: Do not use assets for Ash window control button backgrounds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ash layout constants file added Created 5 years 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/frame/browser_header_painter_ash.h
diff --git a/chrome/browser/ui/views/frame/browser_header_painter_ash.h b/chrome/browser/ui/views/frame/browser_header_painter_ash.h
index 3f4e7a979ba580b98a85724876d12fe4136e9214..224b539efdb67923717d0f14a461700201e33f79 100644
--- a/chrome/browser/ui/views/frame/browser_header_painter_ash.h
+++ b/chrome/browser/ui/views/frame/browser_header_painter_ash.h
@@ -81,8 +81,9 @@ class BrowserHeaderPainterAsh : public ash::HeaderPainter,
// browser windows and for hosted app windows which show the toolbar.
gfx::ImageSkia GetFrameImageForNonTabbedBrowser(Mode mode) const;
- // Updates the images used for the minimize, restore and close buttons.
- void UpdateCaptionButtonImages();
+ // Updates the size and icons used for the minimize, restore,
Peter Kasting 2015/12/18 18:59:15 Nit: Wrap as close to 80 columns as possible
tdanderson 2016/01/04 23:11:15 Done.
+ // and close buttons.
+ void UpdateCaptionButtons();
// Returns bounds of the region in |view_| which is painted with the header
// images. The region is assumed to start at the top left corner of |view_|

Powered by Google App Engine
This is Rietveld 408576698