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

Side by Side Diff: services/ui/ws/window_server_delegate.h

Issue 2829733002: mus: Changes SetDisplayRoot() to create actual display (Closed)
Patch Set: unnecessary get Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_
6 #define SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_ 6 #define SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // Creates a WindowTreeBinding. Default implementation returns null, which 47 // Creates a WindowTreeBinding. Default implementation returns null, which
48 // creates DefaultBinding. 48 // creates DefaultBinding.
49 virtual std::unique_ptr<WindowTreeBinding> CreateWindowTreeBinding( 49 virtual std::unique_ptr<WindowTreeBinding> CreateWindowTreeBinding(
50 BindingType type, 50 BindingType type,
51 ws::WindowServer* window_server, 51 ws::WindowServer* window_server,
52 ws::WindowTree* tree, 52 ws::WindowTree* tree,
53 mojom::WindowTreeRequest* tree_request, 53 mojom::WindowTreeRequest* tree_request,
54 mojom::WindowTreeClientPtr* client); 54 mojom::WindowTreeClientPtr* client);
55 55
56 // Called prior to a new WindowTree being created for a
57 // WindowManagerWindowTreeFactory. |automatically_create_display_roots|
58 // mirrors that of CreateWindowTree(). See it for details.
59 virtual void OnWillCreateTreeForWindowManager(
60 bool automatically_create_display_roots);
61
56 protected: 62 protected:
57 virtual ~WindowServerDelegate() {} 63 virtual ~WindowServerDelegate() {}
58 }; 64 };
59 65
60 } // namespace ws 66 } // namespace ws
61 } // namespace ui 67 } // namespace ui
62 68
63 #endif // SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_ 69 #endif // SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_
OLDNEW
« no previous file with comments | « services/ui/ws/window_manager_window_tree_factory.cc ('k') | services/ui/ws/window_server_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698