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

Unified Diff: chrome/browser/ui/views/validation_message_bubble_view.cc

Issue 2785683003: views: implement width snapping for DialogDelegateViews (Closed)
Patch Set: Created 3 years, 9 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/validation_message_bubble_view.cc
diff --git a/chrome/browser/ui/views/validation_message_bubble_view.cc b/chrome/browser/ui/views/validation_message_bubble_view.cc
index 2c57d120188a01cbe139514263c98687d8333cb7..850fa7d2f3dfa5b915b501089416112be474810d 100644
--- a/chrome/browser/ui/views/validation_message_bubble_view.cc
+++ b/chrome/browser/ui/views/validation_message_bubble_view.cc
@@ -92,7 +92,7 @@ gfx::Rect ValidationMessageBubbleView::RootViewToScreenRect(
render_widget_host_view->GetViewBounds().origin().OffsetFromOrigin();
}
-gfx::Size ValidationMessageBubbleView::GetPreferredSize() const {
+gfx::Size ValidationMessageBubbleView::GetUnsnappedPreferredSize() const {
return size_;
}

Powered by Google App Engine
This is Rietveld 408576698