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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

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/location_bar/location_bar_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
index b8aae5109f803fcd29b3015b729a859c100c0aa1..54f184dee8ee9070f24879a5ca1ec7f707a12e1e 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -126,10 +126,6 @@ class LocationBarView : public LocationBar,
~LocationBarView() override;
- // Returns the location bar border color blended with the toolbar color.
- // It's guaranteed to be opaque.
- static SkColor GetOpaqueBorderColor(bool incognito);
-
// Initializes the LocationBarView.
void Init();
@@ -141,6 +137,10 @@ class LocationBarView : public LocationBar,
// system theme.
SkColor GetColor(ColorKind kind) const;
+ // Returns the location bar border color blended with the toolbar color.
+ // It's guaranteed to be opaque.
+ SkColor GetOpaqueBorderColor(bool incognito);
+
// Returns the color to be used for security text in the context of
// |security_level|.
SkColor GetSecureTextColor(
@@ -255,6 +255,9 @@ class LocationBarView : public LocationBar,
// |view| should add to the trailing width after the omnibox.
int IncrementalMinimumWidth(views::View* view) const;
+ // The border color, drawn on top of the toolbar.
+ SkColor GetBorderColor();
+
// Returns the thickness of any visible edge, in pixels.
int GetHorizontalEdgeThickness() const;
int GetVerticalEdgeThickness() const;

Powered by Google App Engine
This is Rietveld 408576698