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

Side by Side Diff: mash/catalog_viewer/catalog_viewer.cc

Issue 2844063003: Migrate RenderFrameImpl to use BinderRegistry. (Closed)
Patch Set: . Created 3 years, 7 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 "mash/catalog_viewer/catalog_viewer.h" 5 #include "mash/catalog_viewer/catalog_viewer.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "mojo/public/cpp/bindings/binding.h" 15 #include "mojo/public/cpp/bindings/binding.h"
16 #include "services/catalog/public/interfaces/catalog.mojom.h" 16 #include "services/catalog/public/interfaces/catalog.mojom.h"
17 #include "services/catalog/public/interfaces/constants.mojom.h" 17 #include "services/catalog/public/interfaces/constants.mojom.h"
18 #include "services/service_manager/public/cpp/connector.h" 18 #include "services/service_manager/public/cpp/connector.h"
19 #include "services/service_manager/public/cpp/interface_registry.h"
20 #include "services/service_manager/public/cpp/service_context.h" 19 #include "services/service_manager/public/cpp/service_context.h"
21 #include "ui/base/models/table_model.h" 20 #include "ui/base/models/table_model.h"
22 #include "ui/base/resource/resource_bundle.h" 21 #include "ui/base/resource/resource_bundle.h"
23 #include "ui/resources/grit/ui_resources.h" 22 #include "ui/resources/grit/ui_resources.h"
24 #include "ui/views/background.h" 23 #include "ui/views/background.h"
25 #include "ui/views/controls/label.h" 24 #include "ui/views/controls/label.h"
26 #include "ui/views/controls/table/table_view.h" 25 #include "ui/views/controls/table/table_view.h"
27 #include "ui/views/controls/table/table_view_observer.h" 26 #include "ui/views/controls/table/table_view_observer.h"
28 #include "ui/views/controls/textfield/textfield.h" 27 #include "ui/views/controls/textfield/textfield.h"
29 #include "ui/views/controls/textfield/textfield_controller.h" 28 #include "ui/views/controls/textfield/textfield_controller.h"
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 windows_.push_back(window); 251 windows_.push_back(window);
253 } 252 }
254 253
255 void CatalogViewer::Create(const service_manager::Identity& remote_identity, 254 void CatalogViewer::Create(const service_manager::Identity& remote_identity,
256 mojom::LaunchableRequest request) { 255 mojom::LaunchableRequest request) {
257 bindings_.AddBinding(this, std::move(request)); 256 bindings_.AddBinding(this, std::move(request));
258 } 257 }
259 258
260 } // namespace catalog_viewer 259 } // namespace catalog_viewer
261 } // namespace mash 260 } // namespace mash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698