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

Side by Side Diff: mojo/examples/html_viewer/html_viewer.cc

Issue 344013003: mv services/navigation.mojom services/public/interfaces/navigation.mojom (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/embedded_app/embedded_app.cc ('k') | mojo/examples/image_viewer/image_viewer.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 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 "mojo/public/cpp/application/application.h" 5 #include "mojo/public/cpp/application/application.h"
6 #include "mojo/services/navigation/navigation.mojom.h"
7 #include "mojo/services/public/cpp/view_manager/node.h" 6 #include "mojo/services/public/cpp/view_manager/node.h"
8 #include "mojo/services/public/cpp/view_manager/types.h" 7 #include "mojo/services/public/cpp/view_manager/types.h"
9 #include "mojo/services/public/cpp/view_manager/view.h" 8 #include "mojo/services/public/cpp/view_manager/view.h"
10 #include "mojo/services/public/cpp/view_manager/view_manager.h" 9 #include "mojo/services/public/cpp/view_manager/view_manager.h"
11 #include "mojo/services/public/cpp/view_manager/view_manager_delegate.h" 10 #include "mojo/services/public/cpp/view_manager/view_manager_delegate.h"
11 #include "mojo/services/public/interfaces/navigation/navigation.mojom.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 namespace examples { 14 namespace examples {
15 15
16 class HTMLViewer; 16 class HTMLViewer;
17 17
18 class NavigatorImpl : public InterfaceImpl<navigation::Navigator> { 18 class NavigatorImpl : public InterfaceImpl<navigation::Navigator> {
19 public: 19 public:
20 explicit NavigatorImpl(HTMLViewer* viewer) : viewer_(viewer) {} 20 explicit NavigatorImpl(HTMLViewer* viewer) : viewer_(viewer) {}
21 virtual ~NavigatorImpl() {} 21 virtual ~NavigatorImpl() {}
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 } 92 }
93 93
94 } 94 }
95 95
96 // static 96 // static
97 Application* Application::Create() { 97 Application* Application::Create() {
98 return new examples::HTMLViewer; 98 return new examples::HTMLViewer;
99 } 99 }
100 100
101 } 101 }
OLDNEW
« no previous file with comments | « mojo/examples/embedded_app/embedded_app.cc ('k') | mojo/examples/image_viewer/image_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698