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

Unified Diff: components/mus/example/window_type_launcher/window_type_launcher.h

Issue 1406633002: Add window type launcher app. Nothing really works right now since WM/mus don't support anything (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wm2
Patch Set: . Created 5 years, 2 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
Index: components/mus/example/window_type_launcher/window_type_launcher.h
diff --git a/components/mus/example/client/client_application_delegate.h b/components/mus/example/window_type_launcher/window_type_launcher.h
similarity index 59%
copy from components/mus/example/client/client_application_delegate.h
copy to components/mus/example/window_type_launcher/window_type_launcher.h
index 3a8f28d324b389ad917f77e2f20207a656376ae2..f3136f3d065e4bb2fe91f42e0907fc97c3ea8346 100644
--- a/components/mus/example/client/client_application_delegate.h
+++ b/components/mus/example/window_type_launcher/window_type_launcher.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_MUS_EXAMPLE_CLIENT_CLIENT_APPLICATION_DELEGATE_H_
-#define COMPONENTS_MUS_EXAMPLE_CLIENT_CLIENT_APPLICATION_DELEGATE_H_
+#ifndef COMPONENTS_MUS_EXAMPLE_WINDOW_TYPE_LAUNCHER_WINDOW_TYPE_LAUNCHER_H_
+#define COMPONENTS_MUS_EXAMPLE_WINDOW_TYPE_LAUNCHER_WINDOW_TYPE_LAUNCHER_H_
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
@@ -12,22 +12,22 @@
#include "mojo/application/public/cpp/interface_factory_impl.h"
namespace mandoline {
-class AuraInit;
+ class AuraInit;
}
-class ClientApplicationDelegate : public mojo::ApplicationDelegate,
- public mus::ViewTreeDelegate {
- public:
- ClientApplicationDelegate();
- ~ClientApplicationDelegate() override;
+class WindowTypeLauncher : public mojo::ApplicationDelegate,
+ public mus::ViewTreeDelegate {
+public:
+ WindowTypeLauncher();
+ ~WindowTypeLauncher() override;
// Overridden from ApplicationDelegate:
void Initialize(mojo::ApplicationImpl* app) override;
- private:
+private:
// ApplicationDelegate:
bool ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) override;
+ mojo::ApplicationConnection* connection) override;
// mus::ViewTreeDelegate:
void OnEmbed(mus::View* root) override;
@@ -37,7 +37,7 @@ class ClientApplicationDelegate : public mojo::ApplicationDelegate,
scoped_ptr<mandoline::AuraInit> aura_init_;
- DISALLOW_COPY_AND_ASSIGN(ClientApplicationDelegate);
+ DISALLOW_COPY_AND_ASSIGN(WindowTypeLauncher);
};
-#endif // COMPONENTS_MUS_EXAMPLE_CLIENT_CLIENT_APPLICATION_DELEGATE_H_
+#endif // COMPONENTS_MUS_EXAMPLE_WINDOW_TYPE_LAUNCHER_WINDOW_TYPE_LAUNCHER_H_

Powered by Google App Engine
This is Rietveld 408576698