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

Unified Diff: components/mus/ws/window_tree_impl.h

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/window_tree_host_impl.cc ('k') | components/mus/ws/window_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_tree_impl.h
diff --git a/components/mus/ws/window_tree_impl.h b/components/mus/ws/window_tree_impl.h
index 865ae8e519bd108bd0e6e305f60e77ecc56e964f..babe1d7c3eea264a31b66df216c249db0f0ecb95 100644
--- a/components/mus/ws/window_tree_impl.h
+++ b/components/mus/ws/window_tree_impl.h
@@ -74,7 +74,8 @@ class WindowTreeImpl : public mojom::WindowTree, public AccessPolicyDelegate {
// These functions are synchronous variants of those defined in the mojom. The
// WindowTree implementations all call into these. See the mojom for details.
- bool NewWindow(const WindowId& window_id);
+ bool NewWindow(const WindowId& window_id,
+ const std::map<std::string, std::vector<uint8_t>>& properties);
bool AddWindow(const WindowId& parent_id, const WindowId& child_id);
bool AddTransientWindow(const WindowId& window_id,
const WindowId& transient_window_id);
@@ -190,7 +191,10 @@ class WindowTreeImpl : public mojom::WindowTree, public AccessPolicyDelegate {
mojom::WindowManagerErrorCode error_code);
// WindowTree:
- void NewWindow(uint32_t change_id, Id transport_window_id) override;
+ void NewWindow(uint32_t change_id,
+ Id transport_window_id,
+ mojo::Map<mojo::String, mojo::Array<uint8_t>>
+ transport_properties) override;
void DeleteWindow(Id transport_window_id,
const mojo::Callback<void(bool)>& callback) override;
void AddWindow(Id parent_id,
« no previous file with comments | « components/mus/ws/window_tree_host_impl.cc ('k') | components/mus/ws/window_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698