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

Unified Diff: services/kiosk_wm/navigator_host_impl.h

Issue 883983004: Rename SkyDebugger to KioskWM and move to /services (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rename to KioskWM per discussion with jamesr Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/kiosk_wm/main.cc ('k') | services/kiosk_wm/navigator_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/kiosk_wm/navigator_host_impl.h
diff --git a/sky/tools/debugger/navigator_host_impl.h b/services/kiosk_wm/navigator_host_impl.h
similarity index 51%
rename from sky/tools/debugger/navigator_host_impl.h
rename to services/kiosk_wm/navigator_host_impl.h
index 89d4b6c926d269af96afcace744911462200f44b..73f950c3fa7fa1effe28bff2253fd048058f5891 100644
--- a/sky/tools/debugger/navigator_host_impl.h
+++ b/services/kiosk_wm/navigator_host_impl.h
@@ -2,36 +2,38 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SKY_TOOLS_DEBUGGER_NAVIGATOR_HOST_IMPL_H_
-#define SKY_TOOLS_DEBUGGER_NAVIGATOR_HOST_IMPL_H_
+#ifndef SERVICES_KIOSK_WM_NAVIGATOR_HOST_IMPL_H_
+#define SERVICES_KIOSK_WM_NAVIGATOR_HOST_IMPL_H_
#include "base/memory/weak_ptr.h"
#include "mojo/public/cpp/application/interface_factory_impl.h"
#include "mojo/services/navigation/public/interfaces/navigation.mojom.h"
#include "sky/tools/debugger/debugger.mojom.h"
jamesr 2015/01/29 20:35:36 this introduced the following interesting build fl
-namespace sky {
-namespace debugger {
-class SkyDebugger;
+namespace mojo {
+namespace kiosk_wm {
+class KioskWM;
class NavigatorHostImpl : public mojo::InterfaceImpl<mojo::NavigatorHost> {
public:
- explicit NavigatorHostImpl(SkyDebugger*);
+ explicit NavigatorHostImpl(KioskWM*);
~NavigatorHostImpl();
private:
void DidNavigateLocally(const mojo::String& url) override;
- void RequestNavigate(mojo::Target target, mojo::URLRequestPtr request) override;
+ void RequestNavigate(mojo::Target target,
+ mojo::URLRequestPtr request) override;
- base::WeakPtr<SkyDebugger> debugger_;
+ base::WeakPtr<KioskWM> kiosk_wm_;
DISALLOW_COPY_AND_ASSIGN(NavigatorHostImpl);
};
-typedef mojo::InterfaceFactoryImplWithContext<
- NavigatorHostImpl, SkyDebugger> NavigatorHostFactory;
+typedef mojo::InterfaceFactoryImplWithContext<NavigatorHostImpl,
+ KioskWM>
+ NavigatorHostFactory;
-} // namespace debugger
-} // namespace sky
+} // namespace kiosk_wm
+} // namespace mojo
-#endif // SKY_TOOLS_DEBUGGER_NAVIGATOR_HOST_IMPL_H_
+#endif // SERVICES_KIOSK_WM_NAVIGATOR_HOST_IMPL_H_
« no previous file with comments | « services/kiosk_wm/main.cc ('k') | services/kiosk_wm/navigator_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698