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

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

Issue 2844063003: Migrate RenderFrameImpl to use BinderRegistry. (Closed)
Patch Set: . Created 3 years, 8 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/browser/browser.h" 5 #include "mash/browser/browser.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "base/threading/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
15 #include "base/timer/timer.h" 15 #include "base/timer/timer.h"
16 #include "content/public/common/service_names.mojom.h" 16 #include "content/public/common/service_names.mojom.h"
17 #include "mash/browser/debug_view.h" 17 #include "mash/browser/debug_view.h"
18 #include "mash/public/interfaces/launchable.mojom.h" 18 #include "mash/public/interfaces/launchable.mojom.h"
19 #include "services/navigation/public/cpp/view.h" 19 #include "services/navigation/public/cpp/view.h"
20 #include "services/navigation/public/cpp/view_delegate.h" 20 #include "services/navigation/public/cpp/view_delegate.h"
21 #include "services/navigation/public/cpp/view_observer.h" 21 #include "services/navigation/public/cpp/view_observer.h"
22 #include "services/navigation/public/interfaces/view.mojom.h" 22 #include "services/navigation/public/interfaces/view.mojom.h"
23 #include "services/service_manager/public/c/main.h" 23 #include "services/service_manager/public/c/main.h"
24 #include "services/service_manager/public/cpp/connector.h" 24 #include "services/service_manager/public/cpp/connector.h"
25 #include "services/service_manager/public/cpp/interface_registry.h"
26 #include "services/service_manager/public/cpp/service.h" 25 #include "services/service_manager/public/cpp/service.h"
27 #include "services/service_manager/public/cpp/service_context.h" 26 #include "services/service_manager/public/cpp/service_context.h"
28 #include "services/service_manager/public/cpp/service_runner.h" 27 #include "services/service_manager/public/cpp/service_runner.h"
29 #include "services/tracing/public/cpp/provider.h" 28 #include "services/tracing/public/cpp/provider.h"
30 #include "ui/aura/window.h" 29 #include "ui/aura/window.h"
31 #include "ui/base/models/menu_model.h" 30 #include "ui/base/models/menu_model.h"
32 #include "ui/gfx/canvas.h" 31 #include "ui/gfx/canvas.h"
33 #include "ui/gfx/paint_throbber.h" 32 #include "ui/gfx/paint_throbber.h"
34 #include "ui/gfx/text_constants.h" 33 #include "ui/gfx/text_constants.h"
35 #include "ui/native_theme/native_theme.h" 34 #include "ui/native_theme/native_theme.h"
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 AddWindow(window); 910 AddWindow(window);
912 } 911 }
913 912
914 void Browser::Create(const service_manager::Identity& remote_identity, 913 void Browser::Create(const service_manager::Identity& remote_identity,
915 mojom::LaunchableRequest request) { 914 mojom::LaunchableRequest request) {
916 bindings_.AddBinding(this, std::move(request)); 915 bindings_.AddBinding(this, std::move(request));
917 } 916 }
918 917
919 } // namespace browser 918 } // namespace browser
920 } // namespace mash 919 } // namespace mash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698