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

Unified Diff: ash/ime/mode_indicator_view.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/mode_indicator_view.h ('k') | ash/popup_message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/ime/mode_indicator_view.cc
diff --git a/ash/ime/mode_indicator_view.cc b/ash/ime/mode_indicator_view.cc
index ccc1eaec0433c7cb198bd47d02ab404c2f2d5e97..117d6c4a3213cb9bc74ebdb7fa812f702aa18308 100644
--- a/ash/ime/mode_indicator_view.cc
+++ b/ash/ime/mode_indicator_view.cc
@@ -68,7 +68,7 @@ void ModeIndicatorView::ShowAndFadeOut() {
&views::Widget::Close);
}
-gfx::Size ModeIndicatorView::GetPreferredSize() {
+gfx::Size ModeIndicatorView::GetPreferredSize() const {
gfx::Size size = label_view_->GetPreferredSize();
size.SetToMax(gfx::Size(kMinSize, kMinSize));
return size;
« no previous file with comments | « ash/ime/mode_indicator_view.h ('k') | ash/popup_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698