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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h

Issue 1300843003: Change width of rows in material design omnibox dropdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change left/right to start/end Created 5 years, 4 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/omnibox/omnibox_popup_contents_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h
diff --git a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h
index e1d7f322517b2b018492bfb0e4cd996b29b19a4e..376f2f57a91570126cd9ef4f66684c5d2ff98510 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h
@@ -68,9 +68,9 @@ class OmniboxPopupContentsView : public views::View,
gfx::Image GetIconIfExtensionMatch(size_t index) const;
bool IsStarredMatch(const AutocompleteMatch& match) const;
- int max_match_contents_width() const {
- return max_match_contents_width_;
- }
+ int max_match_contents_width() const { return max_match_contents_width_; }
+ int start_margin() const { return start_margin_; }
+ int end_margin() const { return end_margin_; }
protected:
OmniboxPopupContentsView(const gfx::FontList& font_list,
@@ -153,8 +153,8 @@ class OmniboxPopupContentsView : public views::View,
gfx::Rect start_bounds_;
gfx::Rect target_bounds_;
- int left_margin_;
- int right_margin_;
+ int start_margin_;
+ int end_margin_;
const gfx::ImageSkia* bottom_shadow_; // Ptr owned by resource bundle.
« no previous file with comments | « no previous file | chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698