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

Unified Diff: ash/frame/default_header_painter.h

Issue 934503002: Ash frames: dark frames now use white caption buttons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ash_unittests 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
Index: ash/frame/default_header_painter.h
diff --git a/ash/frame/default_header_painter.h b/ash/frame/default_header_painter.h
index 4c875c04978cc4d65fa992f27a85c4eb318918fd..1a6760ca3082221cbd27d2de0aa61aadb0fbef09 100644
--- a/ash/frame/default_header_painter.h
+++ b/ash/frame/default_header_painter.h
@@ -74,8 +74,15 @@ class ASH_EXPORT DefaultHeaderPainter : public HeaderPainter,
// Layout the left header view.
void LayoutLeftHeaderView();
+ // Whether light caption images should be used. This is the case when the
+ // background of the frame is dark.
pkotwicz 2015/02/17 18:56:42 Nit: "caption images" -> "caption button images"
+ bool ShouldUseLightImages();
+
+ // Update all the images in the caption buttons.
+ void UpdateAllButtonImages();
+
// Updates the size button's images.
- void UpdateSizeButtonImages();
+ void UpdateSizeButtonImages(bool use_light_images);
// Returns the header bounds in the coordinates of |view_|. The header is
// assumed to be positioned at the top left corner of |view_| and to have the

Powered by Google App Engine
This is Rietveld 408576698