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

Side by Side Diff: components/kiosk_wm/navigator_host_impl.h

Issue 1109943002: Move NavigatorHost interface to mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl try Created 5 years, 7 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 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 #ifndef COMPONENTS_KIOSK_WM_NAVIGATOR_HOST_IMPL_H_ 5 #ifndef COMPONENTS_KIOSK_WM_NAVIGATOR_HOST_IMPL_H_
6 #define COMPONENTS_KIOSK_WM_NAVIGATOR_HOST_IMPL_H_ 6 #define COMPONENTS_KIOSK_WM_NAVIGATOR_HOST_IMPL_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "mandoline/services/navigation/public/interfaces/navigation.mojom.h"
9 #include "mojo/common/weak_binding_set.h" 10 #include "mojo/common/weak_binding_set.h"
10 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" 11 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h"
11 #include "third_party/mojo_services/src/navigation/public/interfaces/navigation. mojom.h"
12 12
13 namespace kiosk_wm { 13 namespace kiosk_wm {
14 class KioskWM; 14 class KioskWM;
15 15
16 class NavigatorHostImpl : public mojo::NavigatorHost { 16 class NavigatorHostImpl : public mojo::NavigatorHost {
17 public: 17 public:
18 NavigatorHostImpl(KioskWM* kiosk_wm); 18 NavigatorHostImpl(KioskWM* kiosk_wm);
19 ~NavigatorHostImpl() override; 19 ~NavigatorHostImpl() override;
20 20
21 void Bind(mojo::InterfaceRequest<mojo::NavigatorHost> request); 21 void Bind(mojo::InterfaceRequest<mojo::NavigatorHost> request);
(...skipping 12 matching lines...) Expand all
34 34
35 KioskWM* kiosk_wm_; 35 KioskWM* kiosk_wm_;
36 mojo::WeakBindingSet<NavigatorHost> bindings_; 36 mojo::WeakBindingSet<NavigatorHost> bindings_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(NavigatorHostImpl); 38 DISALLOW_COPY_AND_ASSIGN(NavigatorHostImpl);
39 }; 39 };
40 40
41 } // namespace kiosk_wm 41 } // namespace kiosk_wm
42 42
43 #endif // COMPONENTS_KIOSK_WM_NAVIGATOR_HOST_IMPL_H_ 43 #endif // COMPONENTS_KIOSK_WM_NAVIGATOR_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « components/kiosk_wm/kiosk_wm.h ('k') | mandoline/services/navigation/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698