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

Unified Diff: chrome/browser/ui/views/autofill/info_bubble.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
Index: chrome/browser/ui/views/autofill/info_bubble.cc
diff --git a/chrome/browser/ui/views/autofill/info_bubble.cc b/chrome/browser/ui/views/autofill/info_bubble.cc
index 6879fef836cdac05cf21f529b3b1a93b8aade274..5337093e9db8fab1f3624f27d956c52cb30cf383 100644
--- a/chrome/browser/ui/views/autofill/info_bubble.cc
+++ b/chrome/browser/ui/views/autofill/info_bubble.cc
@@ -127,7 +127,7 @@ views::NonClientFrameView* InfoBubble::CreateNonClientFrameView(
return frame_;
}
-gfx::Size InfoBubble::GetPreferredSize() {
+gfx::Size InfoBubble::GetPreferredSize() const {
int pref_width = preferred_width_;
pref_width -= frame_->GetInsets().width();
pref_width -= 2 * kBubbleBorderVisibleWidth;
« no previous file with comments | « chrome/browser/ui/views/autofill/info_bubble.h ('k') | chrome/browser/ui/views/autofill/new_credit_card_bubble_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698