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

Side by Side Diff: services/window_manager/window_manager_apptest.cc

Issue 1391243003: Move //mojo/services/X/public/... to //mojo/services/X/... (part 4). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_3-x-no_public_2-x-no_public_1
Patch Set: copyright header Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/bind.h" 5 #include "base/bind.h"
6 #include "base/run_loop.h" 6 #include "base/run_loop.h"
7 #include "mojo/public/cpp/application/application_delegate.h" 7 #include "mojo/public/cpp/application/application_delegate.h"
8 #include "mojo/public/cpp/application/application_impl.h" 8 #include "mojo/public/cpp/application/application_impl.h"
9 #include "mojo/public/cpp/application/application_test_base.h" 9 #include "mojo/public/cpp/application/application_test_base.h"
10 #include "mojo/public/cpp/application/service_provider_impl.h" 10 #include "mojo/public/cpp/application/service_provider_impl.h"
11 #include "mojo/public/cpp/system/macros.h" 11 #include "mojo/public/cpp/system/macros.h"
12 #include "mojo/services/view_manager/public/cpp/view.h" 12 #include "mojo/services/view_manager/cpp/view.h"
13 #include "mojo/services/view_manager/public/cpp/view_manager_client_factory.h" 13 #include "mojo/services/view_manager/cpp/view_manager_client_factory.h"
14 #include "mojo/services/view_manager/public/cpp/view_manager_delegate.h" 14 #include "mojo/services/view_manager/cpp/view_manager_delegate.h"
15 #include "mojo/services/window_manager/public/interfaces/window_manager.mojom.h" 15 #include "mojo/services/window_manager/interfaces/window_manager.mojom.h"
16 16
17 namespace mojo { 17 namespace mojo {
18 namespace { 18 namespace {
19 19
20 // TestApplication's view is embedded by the window manager. 20 // TestApplication's view is embedded by the window manager.
21 class TestApplication : public ApplicationDelegate, public ViewManagerDelegate { 21 class TestApplication : public ApplicationDelegate, public ViewManagerDelegate {
22 public: 22 public:
23 TestApplication() : root_(nullptr) {} 23 TestApplication() : root_(nullptr) {}
24 ~TestApplication() override {} 24 ~TestApplication() override {}
25 25
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // This call fails if the WindowManager does not have a FocusController. 203 // This call fails if the WindowManager does not have a FocusController.
204 EXPECT_EQ(0u, capture_view_id); 204 EXPECT_EQ(0u, capture_view_id);
205 EXPECT_EQ(0u, focused_view_id); 205 EXPECT_EQ(0u, focused_view_id);
206 EXPECT_EQ(0u, active_view_id); 206 EXPECT_EQ(0u, active_view_id);
207 } 207 }
208 208
209 // TODO(msw): Write tests exercising other WindowManager functionality. 209 // TODO(msw): Write tests exercising other WindowManager functionality.
210 210
211 } // namespace 211 } // namespace
212 } // namespace mojo 212 } // namespace mojo
OLDNEW
« no previous file with comments | « services/window_manager/window_manager_app.cc ('k') | services/window_manager/window_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698