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

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

Issue 218613010: Mojo: Move mojo/public/bindings/*.h to mojo/public/cpp/bindings/*.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
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/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "mojo/public/bindings/allocation_scope.h" 10 #include "mojo/public/cpp/bindings/allocation_scope.h"
11 #include "mojo/public/interfaces/shell/shell.mojom.h" 11 #include "mojo/public/interfaces/shell/shell.mojom.h"
12 #include "mojo/services/gles2/command_buffer_impl.h" 12 #include "mojo/services/gles2/command_buffer_impl.h"
13 #include "mojo/services/native_viewport/geometry_conversions.h" 13 #include "mojo/services/native_viewport/geometry_conversions.h"
14 #include "mojo/services/native_viewport/native_viewport.h" 14 #include "mojo/services/native_viewport/native_viewport.h"
15 #include "mojo/services/native_viewport/native_viewport.mojom.h" 15 #include "mojo/services/native_viewport/native_viewport.mojom.h"
16 #include "ui/events/event.h" 16 #include "ui/events/event.h"
17 17
18 namespace mojo { 18 namespace mojo {
19 namespace services { 19 namespace services {
20 namespace { 20 namespace {
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 base::MessageLoopForUI loop; 202 base::MessageLoopForUI loop;
203 mojo::Application app(shell_handle); 203 mojo::Application app(shell_handle);
204 app.AddServiceFactory( 204 app.AddServiceFactory(
205 new mojo::ServiceFactory<mojo::services::NativeViewportImpl, 205 new mojo::ServiceFactory<mojo::services::NativeViewportImpl,
206 mojo::shell::Context>); 206 mojo::shell::Context>);
207 loop.Run(); 207 loop.Run();
208 return MOJO_RESULT_OK; 208 return MOJO_RESULT_OK;
209 } 209 }
210 210
211 #endif // !OS_ANDROID 211 #endif // !OS_ANDROID
OLDNEW
« no previous file with comments | « mojo/services/native_viewport/native_viewport_service.h ('k') | mojo/shell/app_child_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698