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

Unified Diff: mojo/services/surfaces/surfaces_service_application.h

Issue 687433002: Remove mojo/shell and (most) service implementations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove mojo/gles2, disable mojo apps in component build Created 6 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
« no previous file with comments | « mojo/services/surfaces/surfaces_impl.cc ('k') | mojo/services/surfaces/surfaces_service_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/surfaces/surfaces_service_application.h
diff --git a/mojo/services/surfaces/surfaces_service_application.h b/mojo/services/surfaces/surfaces_service_application.h
deleted file mode 100644
index 3a6aa1c871e68c5bb59df6c07a1dd07beaceab6b..0000000000000000000000000000000000000000
--- a/mojo/services/surfaces/surfaces_service_application.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MOJO_SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_
-#define MOJO_SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_
-
-#include "base/macros.h"
-#include "base/timer/timer.h"
-#include "cc/surfaces/surface_manager.h"
-#include "mojo/public/cpp/application/application_delegate.h"
-#include "mojo/public/cpp/application/interface_factory.h"
-#include "mojo/services/public/interfaces/surfaces/surfaces_service.mojom.h"
-#include "mojo/services/surfaces/surfaces_impl.h"
-
-namespace mojo {
-class ApplicationConnection;
-
-class SurfacesServiceApplication : public ApplicationDelegate,
- public InterfaceFactory<SurfacesService>,
- public SurfacesImpl::Client {
- public:
- SurfacesServiceApplication();
- ~SurfacesServiceApplication() override;
-
- // ApplicationDelegate implementation.
- bool ConfigureIncomingConnection(ApplicationConnection* connection) override;
-
- // InterfaceFactory<SurfacsServicee> implementation.
- void Create(ApplicationConnection* connection,
- InterfaceRequest<SurfacesService> request) override;
-
- // SurfacesImpl::Client implementation.
- void FrameSubmitted() override;
- void SetDisplay(cc::Display*) override;
-
- private:
- cc::SurfaceManager manager_;
- uint32_t next_id_namespace_;
- cc::Display* display_;
- // TODO(jamesr): Integrate with real scheduler.
- base::Timer draw_timer_;
-
- DISALLOW_COPY_AND_ASSIGN(SurfacesServiceApplication);
-};
-
-} // namespace mojo
-
-#endif // MOJO_SERVICES_SURFACES_SURFACES_SERVICE_APPLICATION_H_
« no previous file with comments | « mojo/services/surfaces/surfaces_impl.cc ('k') | mojo/services/surfaces/surfaces_service_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698