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

Unified Diff: ash/common/test/ash_test.h

Issue 2377853002: Test coverage for bug in WmWindowAura::OnWindowVisibilityChanged() (Closed)
Patch Set: parent and merge 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/BUILD.gn ('k') | ash/common/test/ash_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/test/ash_test.h
diff --git a/ash/common/test/ash_test.h b/ash/common/test/ash_test.h
index 4e616c8f57fa7abf39c46365934f221e2cd2bee4..161732a552dce5320cf291be8a6c168df4a8d5cf 100644
--- a/ash/common/test/ash_test.h
+++ b/ash/common/test/ash_test.h
@@ -69,7 +69,14 @@ class AshTest : public testing::Test {
ui::wm::WindowType type = ui::wm::WINDOW_TYPE_NORMAL,
int shell_window_id = kShellWindowId_Invalid);
- // Returns the Display for the secondary display. It's assumed there is two
+ // Creates a visible window parented to |parent| with the specified bounds and
+ // id.
+ std::unique_ptr<WindowOwner> CreateChildWindow(
+ WmWindow* parent,
+ const gfx::Rect& bounds = gfx::Rect(),
+ int shell_window_id = kShellWindowId_Invalid);
+
+ // Returns the Display for the secondary display. It's assumed there are two
// displays.
display::Display GetSecondaryDisplay();
« no previous file with comments | « ash/BUILD.gn ('k') | ash/common/test/ash_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698