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

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

Issue 2478863003: Fix the Web Bluetooth chooser when it is used on Chrome apps on non-Mac (Closed)
Patch Set: removed unnecessary include files Created 4 years, 1 month 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 84e5136343e9a1a58f52005573bc7adabe0376ce..27b63a6e19a3c4b6fb7d440e00e31c066266e618 100644
--- a/ui/views/window/dialog_delegate.h
+++ b/ui/views/window/dialog_delegate.h
@@ -102,7 +102,9 @@ class VIEWS_EXPORT DialogDelegate : public ui::DialogModel,
NonClientFrameView* CreateNonClientFrameView(Widget* widget) override;
// Create a frame view using the new dialog style.
- static NonClientFrameView* CreateDialogFrameView(Widget* widget);
+ static NonClientFrameView* CreateDialogFrameView(
+ Widget* widget,
+ const gfx::Insets& content_margins);
sky 2016/11/07 16:13:06 Document what content_margins are.
juncai 2016/11/07 21:05:45 Done.
// 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