| 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..66845e3431c34d2a837622e04f1b5f4367e5436c 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 base, using the |root_window()| as context.
|
| + aura::Window* CreateTransientChild(int id, aura::Window* parent);
|
| +
|
| + // Attach this to the current shell's root window.
|
| + void AddToRootWindow(aura::Window* window);
|
| +
|
| protected:
|
| void RunAllPendingInMessageLoop();
|
|
|
|
|