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

Unified Diff: components/mus/public/cpp/tests/window_tree_client_private.h

Issue 2072343002: Changes how window manager obtains WindowTree from mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: components/mus/public/cpp/tests/window_tree_client_private.h
diff --git a/components/mus/public/cpp/tests/window_tree_client_private.h b/components/mus/public/cpp/tests/window_tree_client_private.h
index 7cec901b36071e80286c757c64ebedd12f2393cb..0612bbf721af6120967abc12679c838c4f68c570 100644
--- a/components/mus/public/cpp/tests/window_tree_client_private.h
+++ b/components/mus/public/cpp/tests/window_tree_client_private.h
@@ -10,6 +10,11 @@
#include <memory>
#include "base/macros.h"
+#include "components/mus/common/types.h"
+
+namespace display {
+class Display;
+}
namespace ui {
class Event;
@@ -35,9 +40,15 @@ class WindowTreeClientPrivate {
// Calls OnEmbed() on the WindowTreeClient.
void OnEmbed(mojom::WindowTree* window_tree);
+ void CallWmNewDisplayAdded(const display::Display& display);
+
// Pretends that |event| has been received from the window server.
void CallOnWindowInputEvent(Window* window, std::unique_ptr<ui::Event> event);
+ // Sets the WindowTree and client id.
+ void SetTreeAndClientId(mojom::WindowTree* window_tree,
+ ClientSpecificId client_id);
+
private:
WindowTreeClient* tree_client_impl_;

Powered by Google App Engine
This is Rietveld 408576698