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

Side by Side Diff: mojo/services/native_viewport/native_viewport_service.cc

Issue 423613002: Mojo: split up service_provider.mojom (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « mojo/services/html_viewer/html_document_view.h ('k') | mojo/services/network/main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/services/native_viewport/native_viewport_service.h" 5 #include "mojo/services/native_viewport/native_viewport_service.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "mojo/public/cpp/application/application_delegate.h" 11 #include "mojo/public/cpp/application/application_delegate.h"
12 #include "mojo/public/cpp/application/interface_factory.h" 12 #include "mojo/public/cpp/application/interface_factory.h"
13 #include "mojo/public/interfaces/service_provider/service_provider.mojom.h"
14 #include "mojo/services/gles2/command_buffer_impl.h" 13 #include "mojo/services/gles2/command_buffer_impl.h"
15 #include "mojo/services/native_viewport/native_viewport.h" 14 #include "mojo/services/native_viewport/native_viewport.h"
16 #include "mojo/services/public/cpp/geometry/geometry_type_converters.h" 15 #include "mojo/services/public/cpp/geometry/geometry_type_converters.h"
17 #include "mojo/services/public/cpp/input_events/input_events_type_converters.h" 16 #include "mojo/services/public/cpp/input_events/input_events_type_converters.h"
18 #include "mojo/services/public/interfaces/native_viewport/native_viewport.mojom. h" 17 #include "mojo/services/public/interfaces/native_viewport/native_viewport.mojom. h"
19 #include "ui/events/event.h" 18 #include "ui/events/event.h"
20 19
21 namespace mojo { 20 namespace mojo {
22 namespace services { 21 namespace services {
23 namespace { 22 namespace {
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 CreateNativeViewportService( 174 CreateNativeViewportService(
176 ScopedMessagePipeHandle service_provider_handle) { 175 ScopedMessagePipeHandle service_provider_handle) {
177 ApplicationImpl* app = new ApplicationImpl( 176 ApplicationImpl* app = new ApplicationImpl(
178 new NVSDelegate(), service_provider_handle.Pass()); 177 new NVSDelegate(), service_provider_handle.Pass());
179 return app; 178 return app;
180 } 179 }
181 180
182 } // namespace services 181 } // namespace services
183 } // namespace mojo 182 } // namespace mojo
184 183
OLDNEW
« no previous file with comments | « mojo/services/html_viewer/html_document_view.h ('k') | mojo/services/network/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698