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

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

Issue 2932523003: Fix Harmony popover buttons being flush with their content. (Closed)
Patch Set: too much padding for bubbles 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
Index: ui/views/window/dialog_delegate.h
diff --git a/ui/views/window/dialog_delegate.h b/ui/views/window/dialog_delegate.h
index 9f19c73a7eb0d7de39469e8338d50f968e503c91..59f8d6fee6c12d221187362f9962dab5d650ac28 100644
--- a/ui/views/window/dialog_delegate.h
+++ b/ui/views/window/dialog_delegate.h
@@ -105,12 +105,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

Powered by Google App Engine
This is Rietveld 408576698