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

Side by Side Diff: mojo/examples/view_manager/view_manager.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
« no previous file with comments | « mojo/examples/sample_app/sample_app.cc ('k') | mojo/gles2/command_buffer_client_impl.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stdio.h> 5 #include <stdio.h>
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "mojo/examples/launcher/launcher.mojom.h" 11 #include "mojo/examples/launcher/launcher.mojom.h"
12 #include "mojo/examples/view_manager/view_manager.mojom.h" 12 #include "mojo/examples/view_manager/view_manager.mojom.h"
13 #include "mojo/public/bindings/allocation_scope.h" 13 #include "mojo/public/cpp/bindings/allocation_scope.h"
14 #include "mojo/public/bindings/remote_ptr.h" 14 #include "mojo/public/cpp/bindings/remote_ptr.h"
15 #include "mojo/public/cpp/shell/application.h" 15 #include "mojo/public/cpp/shell/application.h"
16 #include "mojo/public/cpp/system/core.h" 16 #include "mojo/public/cpp/system/core.h"
17 #include "mojo/public/interfaces/shell/shell.mojom.h" 17 #include "mojo/public/interfaces/shell/shell.mojom.h"
18 #include "mojo/services/native_viewport/geometry_conversions.h" 18 #include "mojo/services/native_viewport/geometry_conversions.h"
19 #include "mojo/services/native_viewport/native_viewport.mojom.h" 19 #include "mojo/services/native_viewport/native_viewport.mojom.h"
20 #include "ui/events/event_constants.h" 20 #include "ui/events/event_constants.h"
21 #include "ui/events/keycodes/keyboard_codes.h" 21 #include "ui/events/keycodes/keyboard_codes.h"
22 #include "ui/gfx/rect.h" 22 #include "ui/gfx/rect.h"
23 23
24 #if defined(WIN32) 24 #if defined(WIN32)
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 extern "C" VIEW_MANAGER_EXPORT MojoResult CDECL MojoMain( 141 extern "C" VIEW_MANAGER_EXPORT MojoResult CDECL MojoMain(
142 MojoHandle shell_handle) { 142 MojoHandle shell_handle) {
143 base::MessageLoop loop; 143 base::MessageLoop loop;
144 mojo::Application app(shell_handle); 144 mojo::Application app(shell_handle);
145 app.AddServiceFactory( 145 app.AddServiceFactory(
146 new mojo::ServiceFactory<mojo::examples::ViewManagerImpl>); 146 new mojo::ServiceFactory<mojo::examples::ViewManagerImpl>);
147 loop.Run(); 147 loop.Run();
148 148
149 return MOJO_RESULT_OK; 149 return MOJO_RESULT_OK;
150 } 150 }
OLDNEW
« no previous file with comments | « mojo/examples/sample_app/sample_app.cc ('k') | mojo/gles2/command_buffer_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698