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

Unified Diff: ui/views/widget/widget.h

Issue 63343004: Remove DialogDelegate::UseNewStyle and unused code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restore [D]CHECKs and loop scoping. Created 7 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
« no previous file with comments | « ui/views/layout/grid_layout.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 894ec23eb887f1cb6bb68bf1c129322a5491f0f2..06b02f0b3ab09f0e0558874fad1e5c3da8af8950 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -254,22 +254,16 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
gfx::NativeWindow parent,
const gfx::Rect& bounds);
- // Creates a decorated window Widget in the same desktop context as
- // |context|.
+ // Creates a decorated window Widget in the same desktop context as |context|.
static Widget* CreateWindowWithContext(WidgetDelegate* delegate,
gfx::NativeView context);
static Widget* CreateWindowWithContextAndBounds(WidgetDelegate* delegate,
gfx::NativeView context,
const gfx::Rect& bounds);
- // Creates an undecorated child window Widget. |new_style_parent| is the
- // parent to use for new style dialogs, |parent| for currently-styled dialogs.
- //
- // TODO(wittman): use a single parent parameter once we move fully to
- // new-style dialogs.
+ // Creates an undecorated child window Widget parented to |parent|.
static Widget* CreateWindowAsFramelessChild(WidgetDelegate* widget_delegate,
- gfx::NativeView parent,
- gfx::NativeView new_style_parent);
+ gfx::NativeView parent);
// Enumerates all windows pertaining to us and notifies their
// view hierarchies that the locale has changed.
« no previous file with comments | « ui/views/layout/grid_layout.cc ('k') | ui/views/widget/widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698