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

Unified Diff: ash/test/ash_test_base.cc

Issue 2828543003: chromeos: converts DragImageViewTest to AshTestBase (Closed)
Patch Set: cleanup Created 3 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
« ash/test/ash_test_base.h ('K') | « ash/test/ash_test_base.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_base.cc
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
index ec5972b352b5a1427653f1357fe8f2feeaf072b4..4b2b73cfc196d781bf45b49941da2ba5b6760cfb 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -232,6 +232,15 @@ std::unique_ptr<views::Widget> AshTestBase::CreateTestWidget(
return widget;
}
+std::unique_ptr<aura::Window> AshTestBase::CreateTestWindow(
+ const gfx::Rect& bounds_in_screen,
+ ui::wm::WindowType type,
+ int shell_window_id) {
+ return base::WrapUnique<aura::Window>(
+ CreateTestWindowInShellWithDelegateAndType(nullptr, type, shell_window_id,
+ bounds_in_screen));
+}
+
aura::Window* AshTestBase::CreateTestWindowInShellWithId(int id) {
return CreateTestWindowInShellWithDelegate(NULL, id, gfx::Rect());
}
« ash/test/ash_test_base.h ('K') | « ash/test/ash_test_base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698