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

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

Issue 2503623002: Support creation of toplevel mus::Windows on separate displays (Closed)
Patch Set: Rebase and change constant kInvalidDisplayId namespace. 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: ash/mus/test/wm_test_base.h
diff --git a/ash/mus/test/wm_test_base.h b/ash/mus/test/wm_test_base.h
index 8c17d39f29eff12eae1f9b1ad7ff7056c9f8e89e..1658d6a87c101aa256cae3e561abfda3568d885d 100644
--- a/ash/mus/test/wm_test_base.h
+++ b/ash/mus/test/wm_test_base.h
@@ -10,6 +10,7 @@
#include "base/macros.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "ui/display/display.h"
#include "ui/wm/public/window_types.h"
namespace display {
@@ -58,7 +59,11 @@ class WmTestBase : public testing::Test {
ui::Window* CreateTestWindow(const gfx::Rect& bounds);
ui::Window* CreateTestWindow(const gfx::Rect& bounds,
ui::wm::WindowType window_type);
- ui::Window* CreateFullscreenTestWindow();
+
+ // Creates a visibile fullscreen top level window. The window should be
+ // shown on the display with that id.
mfomitchev 2016/11/23 17:58:00 Nit: Creates a visibile fullscreen top level windo
thanhph 2016/11/23 18:42:19 Done, thanks!
+ ui::Window* CreateFullscreenTestWindow(
+ int64_t display_id = display::kInvalidDisplayId);
// Creates a window parented to |parent|. The returned window is visible.
ui::Window* CreateChildTestWindow(ui::Window* parent,

Powered by Google App Engine
This is Rietveld 408576698