| Index: services/window_manager/window_manager_test_util.h
|
| diff --git a/services/window_manager/window_manager_test_util.h b/services/window_manager/window_manager_test_util.h
|
| index 047223db97129cf944241bf6de1c6e9ada593226..8d40d76f3574543cb8aec32d463196590d1adb0e 100644
|
| --- a/services/window_manager/window_manager_test_util.h
|
| +++ b/services/window_manager/window_manager_test_util.h
|
| @@ -25,6 +25,11 @@ class TestView : public View {
|
| TestView(int id, const gfx::Rect& rect, View* parent);
|
| ~TestView();
|
|
|
| + // Builds a child view as a pointer. The caller is responsible for making
|
| + // sure that the root of any tree allocated this way is Destroy()ed.
|
| + static TestView* Build(int id, const gfx::Rect& rect);
|
| + static TestView* Build(int id, const gfx::Rect& rect, View* parent);
|
| +
|
| ViewTarget* target() { return target_; }
|
|
|
| private:
|
|
|