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

Unified Diff: components/mus/mus_app.h

Issue 1618963005: Revert of Start of display management for mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « base/threading/thread_restrictions.h ('k') | components/mus/mus_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/mus_app.h
diff --git a/components/mus/mus_app.h b/components/mus/mus_app.h
index 08d893ab04456ce6e3243d4a7c03ab1cdccead8d..d318b569f7b50020737a52b25148ed600e8a47d5 100644
--- a/components/mus/mus_app.h
+++ b/components/mus/mus_app.h
@@ -11,7 +11,6 @@
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
-#include "components/mus/public/interfaces/display.mojom.h"
#include "components/mus/public/interfaces/gpu.mojom.h"
#include "components/mus/public/interfaces/window_manager.mojom.h"
#include "components/mus/public/interfaces/window_tree.mojom.h"
@@ -44,7 +43,6 @@
class MandolineUIServicesApp
: public mojo::ApplicationDelegate,
public ws::ConnectionManagerDelegate,
- public mojo::InterfaceFactory<mojom::DisplayManager>,
public mojo::InterfaceFactory<mojom::WindowManager>,
public mojo::InterfaceFactory<mojom::WindowTreeHostFactory>,
public mojo::InterfaceFactory<mojom::Gpu>,
@@ -54,10 +52,6 @@
~MandolineUIServicesApp() override;
private:
- // Holds InterfaceRequests received before the first WindowTreeHost Display
- // has been established.
- struct PendingRequest;
-
// ApplicationDelegate:
void Initialize(mojo::ApplicationImpl* app) override;
bool ConfigureIncomingConnection(
@@ -72,10 +66,6 @@
ws::ServerWindow* root,
uint32_t policy_bitmask,
mojom::WindowTreeClientPtr client) override;
-
- // mojo::InterfaceFactory<mojom::DisplayManager> implementation.
- void Create(mojo::ApplicationConnection* connection,
- mojo::InterfaceRequest<mojom::DisplayManager> request) override;
// mojo::InterfaceFactory<mojom::WindowManager> implementation.
void Create(mojo::ApplicationConnection* connection,
@@ -104,8 +94,9 @@
scoped_refptr<GpuState> gpu_state_;
scoped_ptr<ui::PlatformEventSource> event_source_;
mojo::TracingImpl tracing_;
- using PendingRequests = std::vector<scoped_ptr<PendingRequest>>;
- PendingRequests pending_requests_;
+ using WindowManagerRequests =
+ std::vector<scoped_ptr<mojo::InterfaceRequest<mojom::WindowManager>>>;
+ WindowManagerRequests pending_window_manager_requests_;
// Surfaces
scoped_refptr<SurfacesState> surfaces_state_;
« no previous file with comments | « base/threading/thread_restrictions.h ('k') | components/mus/mus_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698