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

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

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.h
diff --git a/chrome/browser/ui/views/validation_message_bubble_view.h b/chrome/browser/ui/views/validation_message_bubble_view.h
index cdc6857138bfc990d57084a3ac2a8174096431ae..3d2d19aa18ca212b77efa226a8349f9932e1f1c3 100644
--- a/chrome/browser/ui/views/validation_message_bubble_view.h
+++ b/chrome/browser/ui/views/validation_message_bubble_view.h
@@ -28,8 +28,10 @@ class ValidationMessageBubbleView
const base::string16& sub_text);
~ValidationMessageBubbleView() override;
+ // DialogDelegateView overrides:
+ gfx::Size GetUnsnappedPreferredSize() const override;
Peter Kasting 2017/03/30 00:35:36 Nit: Leave in below list
+
// BubbleDialogDelegateView overrides:
- gfx::Size GetPreferredSize() const override;
int GetDialogButtons() const override;
// ValidationMessageBubble overrides:

Powered by Google App Engine
This is Rietveld 408576698