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

Unified Diff: ash/test/ash_test_base.h

Issue 1114383002: Show overview mode button in TouchView with open modal window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: ash/test/ash_test_base.h
diff --git a/ash/test/ash_test_base.h b/ash/test/ash_test_base.h
index bc59cbc9fb390633e75a9f0dca12ebfe43fd12be..999f13a0c1925e993a97530bcb3a9bc8e10aee92 100644
--- a/ash/test/ash_test_base.h
+++ b/ash/test/ash_test_base.h
@@ -68,6 +68,8 @@ class AshTestBase : public testing::Test {
// Versions of the functions in aura::test:: that go through our shell
// StackingController instead of taking a parent.
+ // TODO(tdanderson): Consider cleanup opportunities related to creation of
+ // test windows in aura and ash. See crbug.com/483503.
aura::Window* CreateTestWindowInShellWithId(int id);
aura::Window* CreateTestWindowInShellWithBounds(const gfx::Rect& bounds);
aura::Window* CreateTestWindowInShell(SkColor color,
@@ -82,6 +84,12 @@ class AshTestBase : public testing::Test {
ui::wm::WindowType type,
int id,
const gfx::Rect& bounds);
+ aura::Window* CreateTestModalWindowInShellWithBounds(const gfx::Rect& bounds);
+ aura::Window* CreateTestModalWindowInShellWithDelegateAndType(
+ aura::WindowDelegate* delegate,
+ ui::wm::WindowType type,
+ int id,
+ const gfx::Rect& bounds);
// Attach |window| to the current shell's root window.
void ParentWindowInPrimaryRootWindow(aura::Window* window);

Powered by Google App Engine
This is Rietveld 408576698