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

Unified Diff: athena/test/athena_test_helper.h

Issue 480353006: Separate athena's startup process from AppShell's (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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: athena/test/athena_test_helper.h
diff --git a/athena/test/athena_test_helper.h b/athena/test/athena_test_helper.h
index 0e15599fe69e50ac62380a482ede5d8d36e3def5..db460131f0f848f177e4b29d198e3a724f918bf1 100644
--- a/athena/test/athena_test_helper.h
+++ b/athena/test/athena_test_helper.h
@@ -34,7 +34,6 @@ class InputMethodEventFilter;
namespace athena {
namespace test {
-class TestScreenManagerDelegate;
// A helper class owned by tests that does common initialization required for
// Athena use. This class creates a root window with clients and other objects
@@ -54,8 +53,8 @@ class AthenaTestHelper {
// Flushes message loop.
void RunAllPendingInMessageLoop();
- aura::Window* root_window() { return host_->window(); }
- aura::WindowTreeHost* host() { return host_.get(); }
+ aura::Window* GetRootWindow();
+ aura::WindowTreeHost* GetHost();
private:
bool setup_called_;
@@ -63,11 +62,6 @@ class AthenaTestHelper {
base::MessageLoopForUI* message_loop_;
- scoped_ptr<aura::WindowTreeHost> host_;
- scoped_ptr<aura::TestScreen> test_screen_;
- scoped_ptr<TestScreenManagerDelegate> screen_manager_delegate_;
- scoped_ptr<aura::client::FocusClient> focus_client_;
- scoped_ptr< ::wm::InputMethodEventFilter> input_method_filter_;
scoped_ptr<ui::ScopedAnimationDurationScaleMode> zero_duration_mode_;
scoped_ptr<base::Thread> file_thread_;

Powered by Google App Engine
This is Rietveld 408576698