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

Unified Diff: ash/mus/window_manager_application.h

Issue 2539363005: Converts ash to use aura-mus (Closed)
Patch Set: merge Created 4 years 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: ash/mus/window_manager_application.h
diff --git a/ash/mus/window_manager_application.h b/ash/mus/window_manager_application.h
index 5a54ae96aef69b43863cba2235ebdbcb6219f74f..4c5abe8e7da669e849cd4799c09ea24f031bcbfe 100644
--- a/ash/mus/window_manager_application.h
+++ b/ash/mus/window_manager_application.h
@@ -19,6 +19,11 @@
#include "services/tracing/public/cpp/provider.h"
#include "services/ui/common/types.h"
+namespace aura {
+class MusContextFactory;
+class WindowTreeClient;
+}
+
namespace base {
class SequencedWorkerPool;
}
@@ -31,18 +36,15 @@ class ScopedFakeStatisticsProvider;
namespace views {
class AuraInit;
-class SurfaceContextFactory;
}
namespace ui {
class GpuService;
-class WindowTreeClient;
}
namespace ash {
namespace mus {
-class NativeWidgetFactoryMus;
class NetworkConnectDelegateMus;
class WindowManager;
@@ -63,7 +65,7 @@ class WindowManagerApplication
friend class WmTestHelper;
void InitWindowManager(
- std::unique_ptr<ui::WindowTreeClient> window_tree_client,
+ std::unique_ptr<aura::WindowTreeClient> window_tree_client,
const scoped_refptr<base::SequencedWorkerPool>& blocking_pool);
// Initializes lower-level OS-specific components (e.g. D-Bus services).
@@ -81,10 +83,9 @@ class WindowManagerApplication
tracing::Provider tracing_;
std::unique_ptr<views::AuraInit> aura_init_;
- std::unique_ptr<NativeWidgetFactoryMus> native_widget_factory_mus_;
std::unique_ptr<ui::GpuService> gpu_service_;
- std::unique_ptr<views::SurfaceContextFactory> compositor_context_factory_;
+ std::unique_ptr<aura::MusContextFactory> compositor_context_factory_;
std::unique_ptr<WindowManager> window_manager_;
// A blocking pool used by the WindowManager's shell; not used in tests.

Powered by Google App Engine
This is Rietveld 408576698