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

Unified Diff: ui/views/mus/mus_client.h

Issue 2514243002: Propagates window type properties during aura-mus window creation (Closed)
Patch Set: merge Created 4 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/mus/desktop_window_tree_host_mus.cc ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/mus_client.h
diff --git a/ui/views/mus/mus_client.h b/ui/views/mus/mus_client.h
index 38087cd9e7815e036d03f56023832850e54a30e0..f238c81c8373ec8b6577d1196162c46ab06d562e 100644
--- a/ui/views/mus/mus_client.h
+++ b/ui/views/mus/mus_client.h
@@ -5,7 +5,11 @@
#ifndef UI_VIEWS_MUS_MUS_CLIENT_H_
#define UI_VIEWS_MUS_MUS_CLIENT_H_
+#include <stdint.h>
+
+#include <map>
#include <string>
+#include <vector>
#include "base/macros.h"
#include "ui/aura/mus/window_tree_client_delegate.h"
@@ -70,6 +74,10 @@ class VIEWS_MUS_EXPORT MusClient
static bool ShouldCreateDesktopNativeWidgetAura(
const Widget::InitParams& init_params);
+ // Returns the properties to supply to mus when creating a window.
+ static std::map<std::string, std::vector<uint8_t>>
+ ConfigurePropertiesFromParams(const Widget::InitParams& init_params);
+
service_manager::Connector* connector() { return connector_; }
aura::WindowTreeClient* window_tree_client() {
« no previous file with comments | « ui/views/mus/desktop_window_tree_host_mus.cc ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698