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

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

Issue 2064323005: Change IconLabelBubbleView layout to specify padding beside the separator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_constants
Patch Set: Fix test Created 4 years, 6 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 | chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/location_bar/icon_label_bubble_view.h
diff --git a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h
index 6e7ee55c94bae88f9ec7518d397a25c3c7c55028..f1404ecf239443d4726e418a1c6a5458035c9de6 100644
--- a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h
+++ b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.h
@@ -112,9 +112,15 @@ class IconLabelBubbleView : public views::InkDropHostView {
// (or image, if the label is invisible) to the trailing edge of the view.
int GetOuterPadding(bool leading) const;
+ // Horizontal position of the image trailing edge (i.e. just after the image).
+ int GetImageTrailingEdge() const;
+
// Spacing between the image and the label.
int GetInternalSpacing() const;
+ // Padding after the separator.
+ int GetPostSeparatorPadding() const;
+
// views::View:
const char* GetClassName() const override;
void OnPaint(gfx::Canvas* canvas) override;
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698