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

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: use SetBoundsInScreen() Created 5 years, 7 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/system/overview/overview_button_tray_unittest.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_base.h
diff --git a/ash/test/ash_test_base.h b/ash/test/ash_test_base.h
index deebefa6e0e527997701253212710e94a7e7b0bb..8445962044379f86a8536f0b7f3335401740274f 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);
« no previous file with comments | « ash/system/overview/overview_button_tray_unittest.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698