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

Unified Diff: services/window_manager/window_manager_test_util.cc

Issue 781603002: Port even more FocusController tests. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Initialize my member variables. Created 6 years 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 | « services/window_manager/window_manager_test_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/window_manager/window_manager_test_util.cc
diff --git a/services/window_manager/window_manager_test_util.cc b/services/window_manager/window_manager_test_util.cc
index aa1dede4bda36bc3c9525b7ed5add3d09ce16bcc..ac4db27613a1a430f2c8651050584f9a229e3ca8 100644
--- a/services/window_manager/window_manager_test_util.cc
+++ b/services/window_manager/window_manager_test_util.cc
@@ -26,4 +26,14 @@ TestView::TestView(int id, const gfx::Rect& rect, View* parent)
TestView::~TestView() {
}
+// static
+TestView* TestView::Build(int id, const gfx::Rect& rect) {
+ return new TestView(id, rect);
+}
+
+// static
+TestView* TestView::Build(int id, const gfx::Rect& rect, View* parent) {
+ return new TestView(id, rect, parent);
+}
+
} // namespace mojo
« no previous file with comments | « services/window_manager/window_manager_test_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698