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

Unified Diff: ui/aura/mus/window_tree_host_mus.h

Issue 2495423005: Enables passing initial properties to top level window creation (Closed)
Patch Set: cleanup 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
Index: ui/aura/mus/window_tree_host_mus.h
diff --git a/ui/aura/mus/window_tree_host_mus.h b/ui/aura/mus/window_tree_host_mus.h
index c638f84762f57a6ad257dcd5d9b877318ba2aa59..9209f60facdc3755aecaa076b0b9a6e19b862d53 100644
--- a/ui/aura/mus/window_tree_host_mus.h
+++ b/ui/aura/mus/window_tree_host_mus.h
@@ -5,7 +5,12 @@
#ifndef UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_
#define UI_AURA_MUS_WINDOW_TREE_HOST_MUS_H_
+#include <stdint.h>
+
+#include <map>
#include <memory>
+#include <string>
+#include <vector>
#include "base/macros.h"
#include "services/service_manager/public/cpp/connector.h"
@@ -25,10 +30,15 @@ class WindowTreeHostMusDelegate;
class AURA_EXPORT WindowTreeHostMus : public aura::WindowTreeHostPlatform {
public:
- WindowTreeHostMus(std::unique_ptr<WindowPortMus> window_port,
- WindowTreeHostMusDelegate* delegate,
- int64_t display_id);
- explicit WindowTreeHostMus(WindowTreeClient* window_tree_client);
+ WindowTreeHostMus(
+ std::unique_ptr<WindowPortMus> window_port,
+ WindowTreeHostMusDelegate* delegate,
+ int64_t display_id,
+ const std::map<std::string, std::vector<uint8_t>>* properties = nullptr);
+ WindowTreeHostMus(
+ WindowTreeClient* window_tree_client,
+ const std::map<std::string, std::vector<uint8_t>>* properties = nullptr);
+
~WindowTreeHostMus() override;
// Sets the bounds in dips.

Powered by Google App Engine
This is Rietveld 408576698