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

Side by Side Diff: services/ui/view_manager/tests/view_manager_test.cc

Issue 2010283006: Almost done: ApplicationDelegate -> ApplicationImplBase conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@work798-x-work797-x-work796_no_run_main_app
Patch Set: rebased Created 4 years, 6 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "mojo/public/cpp/application/application_impl.h"
6 #include "mojo/public/cpp/application/connect.h" 5 #include "mojo/public/cpp/application/connect.h"
6 #include "mojo/public/cpp/bindings/binding.h"
7 #include "mojo/services/ui/views/interfaces/view_manager.mojom.h" 7 #include "mojo/services/ui/views/interfaces/view_manager.mojom.h"
8 #include "mojo/services/ui/views/interfaces/views.mojom.h" 8 #include "mojo/services/ui/views/interfaces/views.mojom.h"
9 #include "services/ui/view_manager/tests/mock_view_associate.h" 9 #include "services/ui/view_manager/tests/mock_view_associate.h"
10 #include "services/ui/view_manager/tests/view_manager_test_base.h" 10 #include "services/ui/view_manager/tests/view_manager_test_base.h"
11 11
12 namespace view_manager { 12 namespace view_manager {
13 namespace test { 13 namespace test {
14 14
15 class MockViewListener : public mojo::ui::ViewListener { 15 class MockViewListener : public mojo::ui::ViewListener {
16 public: 16 public:
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 // view_associate_owner is out of scope, should be destroyed 166 // view_associate_owner is out of scope, should be destroyed
167 // we expect to get a connection error from the view associate 167 // we expect to get a connection error from the view associate
168 KICK_MESSAGE_LOOP_WHILE(connection_error_callback_invokecount != 1) 168 KICK_MESSAGE_LOOP_WHILE(connection_error_callback_invokecount != 1)
169 169
170 EXPECT_EQ(1, connection_error_callback_invokecount); 170 EXPECT_EQ(1, connection_error_callback_invokecount);
171 } 171 }
172 172
173 } // namespace test 173 } // namespace test
174 } // namespace view_manager 174 } // namespace view_manager
OLDNEW
« no previous file with comments | « services/media/framework/parts/reader.h ('k') | services/ui/view_manager/view_associate_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698