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

Unified Diff: ui/aura/test/mus/window_tree_client_private.h

Issue 2535983004: Makes sure bounds and visibilty are updated correctly for new displays (Closed)
Patch Set: merge Created 4 years 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/aura/test/aura_test_base.cc ('k') | ui/aura/test/mus/window_tree_client_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/mus/window_tree_client_private.h
diff --git a/ui/aura/test/mus/window_tree_client_private.h b/ui/aura/test/mus/window_tree_client_private.h
index 40f548a5fb4c9fc40f0d0eb1d3ad3d61c271f274..4a737d97bdf3d8d858e2d94e478ba8c35d643b43 100644
--- a/ui/aura/test/mus/window_tree_client_private.h
+++ b/ui/aura/test/mus/window_tree_client_private.h
@@ -10,6 +10,7 @@
#include <memory>
#include "base/macros.h"
+#include "services/ui/public/interfaces/window_tree_constants.mojom.h"
#include "ui/aura/mus/mus_types.h"
namespace display {
@@ -28,7 +29,7 @@ namespace aura {
class Window;
class WindowTreeClient;
-class WindowTreeHost;
+class WindowTreeHostMus;
// Use to access implementation details of WindowTreeClient.
class WindowTreeClientPrivate {
@@ -40,7 +41,10 @@ class WindowTreeClientPrivate {
// Calls OnEmbed() on the WindowTreeClient.
void OnEmbed(ui::mojom::WindowTree* window_tree);
- WindowTreeHost* CallWmNewDisplayAdded(const display::Display& display);
+ WindowTreeHostMus* CallWmNewDisplayAdded(const display::Display& display);
+ WindowTreeHostMus* CallWmNewDisplayAdded(const display::Display& display,
+ ui::mojom::WindowDataPtr root_data,
+ bool parent_drawn);
// Pretends that |event| has been received from the window server.
void CallOnWindowInputEvent(Window* window, std::unique_ptr<ui::Event> event);
« no previous file with comments | « ui/aura/test/aura_test_base.cc ('k') | ui/aura/test/mus/window_tree_client_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698