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

Unified Diff: ui/views/window/dialog_delegate.h

Issue 2932243002: Refactor ChooserDialogView to use borders instead of content margins. (Closed)
Patch Set: nits Created 3 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | ui/views/window/dialog_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/dialog_delegate.h
diff --git a/ui/views/window/dialog_delegate.h b/ui/views/window/dialog_delegate.h
index becd06928bf5016689dffffd5dd68ac9c8cb6dcb..054edfe6b212fc81e4850d9fd0bd381489a4cc4e 100644
--- a/ui/views/window/dialog_delegate.h
+++ b/ui/views/window/dialog_delegate.h
@@ -104,12 +104,7 @@ class VIEWS_EXPORT DialogDelegate : public ui::DialogModel,
ClientView* CreateClientView(Widget* widget) override;
NonClientFrameView* CreateNonClientFrameView(Widget* widget) override;
- // Create a frame view using the new dialog style.
- // |content_margins|: margins between the content and the inside of the
- // border, in pixels.
- static NonClientFrameView* CreateDialogFrameView(
- Widget* widget,
- const gfx::Insets& content_margins);
+ static NonClientFrameView* CreateDialogFrameView(Widget* widget);
// Returns true if this particular dialog should use a Chrome-styled frame
// like the one used for bubbles. The alternative is a more platform-native
« no previous file with comments | « chrome/test/BUILD.gn ('k') | ui/views/window/dialog_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698