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

Unified Diff: ash/mus/test/wm_test_helper.h

Issue 2350953009: Centralizes more shared code between ash and mash (Closed)
Patch Set: feedback Created 4 years, 3 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
« no previous file with comments | « ash/mus/root_window_controller.cc ('k') | ash/mus/test/wm_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/test/wm_test_helper.h
diff --git a/ash/mus/test/wm_test_helper.h b/ash/mus/test/wm_test_helper.h
index 88e38d7b1fa07266f4ddf59e04f67a48db868e4c..ac293822f7d352549e34f36dd252862a5d3d20f1 100644
--- a/ash/mus/test/wm_test_helper.h
+++ b/ash/mus/test/wm_test_helper.h
@@ -51,13 +51,18 @@ class WmTestHelper {
private:
// Creates a new RootWindowController given |display_spec|, which is the
- // configuration of the display.
+ // configuration of the display. On entry |next_x| is the x-coordinate to
+ // place the display at, on exit |next_x| is set to the x-coordinate to place
+ // the next display at.
RootWindowController* CreateRootWindowController(
- const std::string& display_spec);
+ const std::string& display_spec,
+ int* next_x);
- // Updates the display of an existing RootWindowController.
+ // Updates the display of an existing RootWindowController. See
+ // CreateRootWindowController() for details on |next_x|.
void UpdateDisplay(RootWindowController* root_window_controller,
- const std::string& display_spec);
+ const std::string& display_spec,
+ int* next_x);
// Destroys a RootWindowController.
void DestroyRootWindowController(
« no previous file with comments | « ash/mus/root_window_controller.cc ('k') | ash/mus/test/wm_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698