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

Unified Diff: chrome/browser/ui/views/infobars/translate_message_infobar.h

Issue 273223002: views: Make view::Views::GetPreferredSize() const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More compile fix for ToT 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/infobars/translate_message_infobar.h
diff --git a/chrome/browser/ui/views/infobars/translate_message_infobar.h b/chrome/browser/ui/views/infobars/translate_message_infobar.h
index 69809f3f5654bbc6b323468eb4f9b90f7f5aec8a..ffc36bcd29bb27ab3218899c9bebbf479233efee 100644
--- a/chrome/browser/ui/views/infobars/translate_message_infobar.h
+++ b/chrome/browser/ui/views/infobars/translate_message_infobar.h
@@ -21,7 +21,7 @@ class TranslateMessageInfoBar : public TranslateInfoBarBase {
const ViewHierarchyChangedDetails& details) OVERRIDE;
virtual void ButtonPressed(views::Button* sender,
const ui::Event& event) OVERRIDE;
- virtual int ContentMinimumWidth() OVERRIDE;
+ virtual int ContentMinimumWidth() const OVERRIDE;
// Returns the width of all content other than the label. Layout() uses this
// to determine how much space the label can take.
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_view.cc ('k') | chrome/browser/ui/views/infobars/translate_message_infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698