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

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

Issue 271013002: Compute minimum widths for the toolbar components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/ev_bubble_view.h
diff --git a/chrome/browser/ui/views/location_bar/ev_bubble_view.h b/chrome/browser/ui/views/location_bar/ev_bubble_view.h
index 45e5590dd2f9c3eaf804027689ba005d944e08cf..cf5a356117bf0270712e7c7efd96716b033fd462 100644
--- a/chrome/browser/ui/views/location_bar/ev_bubble_view.h
+++ b/chrome/browser/ui/views/location_bar/ev_bubble_view.h
@@ -19,14 +19,14 @@ class EVBubbleView : public IconLabelBubbleView {
LocationBarView* parent);
virtual ~EVBubbleView();
- // Overridden from View.
+ // IconLabelBubbleView:
virtual gfx::Size GetMinimumSize() OVERRIDE;
virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE;
-
- // Overridden from ui::EventHandler.
virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
+ gfx::Size GetMinimumSizeForLabelText(const base::string16& text) const;
+
private:
PageInfoHelper page_info_helper_;

Powered by Google App Engine
This is Rietveld 408576698