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

Unified Diff: ui/aura/test/aura_test_base.h

Issue 11421006: Desktop aura: Break aura::Window::SetParent in two. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ash_unittests Created 8 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
« no previous file with comments | « ui/aura/root_window_unittest.cc ('k') | ui/aura/test/aura_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/aura_test_base.h
diff --git a/ui/aura/test/aura_test_base.h b/ui/aura/test/aura_test_base.h
index 2b8990a96f9423dad5df3b42f8c6424a0fe4ec7a..c7daec346ffee7044e6e62edce83fbdf44a81079 100644
--- a/ui/aura/test/aura_test_base.h
+++ b/ui/aura/test/aura_test_base.h
@@ -13,6 +13,7 @@
namespace aura {
class RootWindow;
+class Window;
namespace test {
// A base class for aura unit tests.
@@ -26,6 +27,12 @@ class AuraTestBase : public testing::Test {
virtual void SetUp() OVERRIDE;
virtual void TearDown() OVERRIDE;
+ // Creates a transient window that is transient to |parent|.
+ aura::Window* CreateTransientChild(int id, aura::Window* parent);
+
+ // Attach |window| to the current shell's root window.
+ void SetDefaultParentByPrimaryRootWindow(aura::Window* window);
+
protected:
void RunAllPendingInMessageLoop();
« no previous file with comments | « ui/aura/root_window_unittest.cc ('k') | ui/aura/test/aura_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698