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

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

Issue 2682803003: Gtk3: Add themable location bar border color (Closed)
Patch Set: add location_bar_border_color local Created 3 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: chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
index c3d7f7ce95b43fcef47a6da42be9eb00ac12f932..a9692e2119cfb976d2cea5a1a40d3a214d806fc1 100644
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
@@ -644,10 +644,12 @@ void OpaqueBrowserFrameView::PaintClientEdge(gfx::Canvas* canvas) const {
FillClientEdgeRects(x, y, w, height, true, toolbar_color, canvas);
// For popup windows, draw location bar sides.
+ SkColor location_bar_border_color =
+ browser_view()->toolbar()->location_bar()->GetOpaqueBorderColor(
+ incognito);
if (!tabstrip_visible && IsToolbarVisible()) {
FillClientEdgeRects(x, y, w, toolbar_bounds.height(), false,
- LocationBarView::GetOpaqueBorderColor(incognito),
- canvas);
+ location_bar_border_color, canvas);
}
}

Powered by Google App Engine
This is Rietveld 408576698