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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.h

Issue 319013002: Reland Fix Views web-modal dialog widget creation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert MediaGalleriesScanResultDialogViews::AcceptDialogForTesting. Created 6 years, 6 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/autofill_dialog_views.h
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.h b/chrome/browser/ui/views/autofill/autofill_dialog_views.h
index 3e88bfd096d67b5beda9fe0f8b6a72683a1a9894..a71a395744caaf395bdc838f2bb1acd19334bea1 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.h
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.h
@@ -104,6 +104,7 @@ class AutofillDialogViews : public AutofillDialogView,
virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE;
// views::DialogDelegate implementation:
+ virtual ui::ModalType GetModalType() const OVERRIDE;
virtual base::string16 GetWindowTitle() const OVERRIDE;
virtual void WindowClosing() OVERRIDE;
virtual void DeleteDelegate() OVERRIDE;
@@ -558,7 +559,7 @@ class AutofillDialogViews : public AutofillDialogView,
// Updates the views in the button strip.
void UpdateButtonStripExtraView();
- // Call this when the size of anything in |contents_| might've changed.
+ // Call this when the size of anything in the contents might have changed.
void ContentsPreferredSizeChanged();
void DoContentsPreferredSizeChanged();
@@ -601,8 +602,8 @@ class AutofillDialogViews : public AutofillDialogView,
// due to an unmatched UpdatesStarted.
bool needs_update_;
- // The window that displays |contents_|. Weak pointer; may be NULL when the
- // dialog is closing.
+ // The window that displays the dialog contents. Weak pointer; may be NULL
+ // when the dialog is closing.
views::Widget* window_;
// A DialogSection-keyed map of the DetailGroup structs.

Powered by Google App Engine
This is Rietveld 408576698