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

Side by Side Diff: services/kiosk_wm/kiosk_wm.h

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 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
« no previous file with comments | « services/js/js_app.h ('k') | services/kiosk_wm/navigator_host_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 #ifndef SERVICES_KIOSK_WM_KIOSK_WM_H_ 5 #ifndef SERVICES_KIOSK_WM_KIOSK_WM_H_
6 #define SERVICES_KIOSK_WM_KIOSK_WM_H_ 6 #define SERVICES_KIOSK_WM_KIOSK_WM_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "mojo/public/cpp/application/application_delegate.h" 9 #include "mojo/public/cpp/application/application_delegate.h"
10 #include "mojo/public/cpp/application/application_impl.h" 10 #include "mojo/public/cpp/application/application_impl.h"
(...skipping 12 matching lines...) Expand all
23 namespace kiosk_wm { 23 namespace kiosk_wm {
24 24
25 class KioskWM : public mojo::ApplicationDelegate, 25 class KioskWM : public mojo::ApplicationDelegate,
26 public mojo::ViewManagerDelegate, 26 public mojo::ViewManagerDelegate,
27 public mojo::ViewObserver, 27 public mojo::ViewObserver,
28 public window_manager::WindowManagerDelegate, 28 public window_manager::WindowManagerDelegate,
29 public mojo::InterfaceFactory<mojo::NavigatorHost>, 29 public mojo::InterfaceFactory<mojo::NavigatorHost>,
30 public ui::AcceleratorTarget { 30 public ui::AcceleratorTarget {
31 public: 31 public:
32 KioskWM(); 32 KioskWM();
33 virtual ~KioskWM(); 33 ~KioskWM() override;
34 34
35 base::WeakPtr<KioskWM> GetWeakPtr(); 35 base::WeakPtr<KioskWM> GetWeakPtr();
36 36
37 void ReplaceContentWithURL(const mojo::String& url); 37 void ReplaceContentWithURL(const mojo::String& url);
38 38
39 private: 39 private:
40 // Overridden from mojo::ApplicationDelegate: 40 // Overridden from mojo::ApplicationDelegate:
41 void Initialize(mojo::ApplicationImpl* app) override; 41 void Initialize(mojo::ApplicationImpl* app) override;
42 bool ConfigureIncomingConnection( 42 bool ConfigureIncomingConnection(
43 mojo::ApplicationConnection* connection) override; 43 mojo::ApplicationConnection* connection) override;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 NavigatorHostImpl navigator_host_; 84 NavigatorHostImpl navigator_host_;
85 85
86 base::WeakPtrFactory<KioskWM> weak_factory_; 86 base::WeakPtrFactory<KioskWM> weak_factory_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(KioskWM); 88 DISALLOW_COPY_AND_ASSIGN(KioskWM);
89 }; 89 };
90 90
91 } // namespace kiosk_wm 91 } // namespace kiosk_wm
92 92
93 #endif // SERVICES_KIOSK_WM_KIOSK_WM_H_ 93 #endif // SERVICES_KIOSK_WM_KIOSK_WM_H_
OLDNEW
« no previous file with comments | « services/js/js_app.h ('k') | services/kiosk_wm/navigator_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698