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

Unified Diff: ash/ime/infolist_window.cc

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
« no previous file with comments | « ash/ime/candidate_window_view.cc ('k') | ash/ime/mode_indicator_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/ime/infolist_window.cc
diff --git a/ash/ime/infolist_window.cc b/ash/ime/infolist_window.cc
index c29d623b074b6dd109792cc6e8612f2ce64bcabc..429cca59f75ba0772e489515c3bcb4a6d5d98c2e 100644
--- a/ash/ime/infolist_window.cc
+++ b/ash/ime/infolist_window.cc
@@ -94,7 +94,7 @@ class InfolistEntryView : public views::View {
private:
// views::View implementation.
- virtual gfx::Size GetPreferredSize() OVERRIDE;
+ virtual gfx::Size GetPreferredSize() const OVERRIDE;
void UpdateBackground();
@@ -143,7 +143,7 @@ void InfolistEntryView::SetEntry(const ui::InfolistEntry& entry) {
UpdateBackground();
}
-gfx::Size InfolistEntryView::GetPreferredSize() {
+gfx::Size InfolistEntryView::GetPreferredSize() const {
return gfx::Size(kInfolistEntryWidth, GetHeightForWidth(kInfolistEntryWidth));
}
« no previous file with comments | « ash/ime/candidate_window_view.cc ('k') | ash/ime/mode_indicator_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698