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

Unified Diff: ash/frame/default_header_painter.h

Issue 916293002: Remove ash default frame highlighting for custom colored frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | ash/frame/default_header_painter.cc » ('j') | ash/frame/default_header_painter.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..82c9073c573b0f3cc0606681ade5e62e5fa62574 100644
--- a/ash/frame/default_header_painter.h
+++ b/ash/frame/default_header_painter.h
@@ -85,6 +85,9 @@ class ASH_EXPORT DefaultHeaderPainter : public HeaderPainter,
// Returns the bounds for the title.
gfx::Rect GetTitleBounds() const;
+ // Returns whether the frame has any custom frame coloring.
pkotwicz 2015/02/12 02:04:52 Nit: I think that UsesCustomFrameColors() is a sli
benwells 2015/02/12 02:36:10 Done.
+ bool HasCustomFrameColors() const;
+
// Returns the frame color to use when |frame_| is inactive.
SkColor GetInactiveFrameColor() const;
« no previous file with comments | « no previous file | ash/frame/default_header_painter.cc » ('j') | ash/frame/default_header_painter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698