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

Unified Diff: components/mus/ws/connection_manager.cc

Issue 1474543002: Makes NewWindow() take set of properties for window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nuke shadow_style changes Created 5 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 | « components/mus/ws/connection_manager.h ('k') | components/mus/ws/server_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/connection_manager.cc
diff --git a/components/mus/ws/connection_manager.cc b/components/mus/ws/connection_manager.cc
index 49382540755558d9600064dc4344f02128d29f98..3c8bea5c1aa646153857d713339b7c5d663dc5d5 100644
--- a/components/mus/ws/connection_manager.cc
+++ b/components/mus/ws/connection_manager.cc
@@ -58,8 +58,10 @@ void ConnectionManager::AddHost(WindowTreeHostConnection* host_connection) {
delegate_->OnFirstRootConnectionCreated();
}
-ServerWindow* ConnectionManager::CreateServerWindow(const WindowId& id) {
- ServerWindow* window = new ServerWindow(this, id);
+ServerWindow* ConnectionManager::CreateServerWindow(
+ const WindowId& id,
+ const std::map<std::string, std::vector<uint8_t>>& properties) {
+ ServerWindow* window = new ServerWindow(this, id, properties);
window->AddObserver(this);
return window;
}
« no previous file with comments | « components/mus/ws/connection_manager.h ('k') | components/mus/ws/server_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698