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

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

Issue 209383003: Move wm/public into wm target (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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 | « ui/aura/test/aura_test_base.cc ('k') | ui/aura/test/aura_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/aura_test_helper.h
diff --git a/ui/aura/test/aura_test_helper.h b/ui/aura/test/aura_test_helper.h
index f79ca76782c32edbffee0c61fac7b47db93fc5b5..f1d6dd5a02c11c23a7b07b84018651e6022f1bb8 100644
--- a/ui/aura/test/aura_test_helper.h
+++ b/ui/aura/test/aura_test_helper.h
@@ -22,7 +22,6 @@ class ScopedAnimationDurationScaleMode;
namespace aura {
class TestScreen;
namespace client {
-class DefaultActivationClient;
class DefaultCaptureClient;
class FocusClient;
}
@@ -35,14 +34,14 @@ class TestWindowTreeClient;
class AuraTestHelper {
public:
explicit AuraTestHelper(base::MessageLoopForUI* message_loop);
- ~AuraTestHelper();
+ virtual ~AuraTestHelper();
// Creates and initializes (shows and sizes) the RootWindow for use in tests.
- void SetUp();
+ virtual void SetUp();
// Clean up objects that are created for tests. This also deletes the Env
// object.
- void TearDown();
+ virtual void TearDown();
// Flushes message loop.
void RunAllPendingInMessageLoop();
@@ -53,6 +52,9 @@ class AuraTestHelper {
TestScreen* test_screen() { return test_screen_.get(); }
+ protected:
+ gfx::Size default_window_size_;
+
private:
base::MessageLoopForUI* message_loop_;
bool setup_called_;
@@ -60,7 +62,6 @@ class AuraTestHelper {
bool owns_host_;
scoped_ptr<WindowTreeHost> host_;
scoped_ptr<TestWindowTreeClient> stacking_client_;
- scoped_ptr<client::DefaultActivationClient> activation_client_;
scoped_ptr<client::DefaultCaptureClient> capture_client_;
scoped_ptr<ui::InputMethod> test_input_method_;
scoped_ptr<client::FocusClient> focus_client_;
« no previous file with comments | « ui/aura/test/aura_test_base.cc ('k') | ui/aura/test/aura_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698