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

Unified Diff: ui/aura/window.h

Issue 2733303004: Removes WmShell::NewWindow() (Closed)
Patch Set: merge and feedback Created 3 years, 9 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 | « ash/root_window_controller.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 313ea8883beab7c5db3daa489a874c1afe82bd3c..f0581827c84f0db542f367ae8a62c391eef703f6 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -80,8 +80,11 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
typedef std::vector<Window*> Windows;
- explicit Window(WindowDelegate* delegate);
- Window(WindowDelegate* delegate, std::unique_ptr<WindowPort> port);
+ explicit Window(WindowDelegate* delegate,
+ ui::wm::WindowType type = ui::wm::WINDOW_TYPE_UNKNOWN);
+ Window(WindowDelegate* delegate,
+ std::unique_ptr<WindowPort> port,
+ ui::wm::WindowType type = ui::wm::WINDOW_TYPE_UNKNOWN);
~Window() override;
// Initializes the window. This creates the window's layer.
« no previous file with comments | « ash/root_window_controller.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698