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

Unified Diff: mash/app_driver/app_driver.h

Issue 2428173002: mash: Remove app_driver. (Closed)
Patch Set: Rebase to ToT Created 4 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 | « mash/app_driver/BUILD.gn ('k') | mash/app_driver/app_driver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/app_driver/app_driver.h
diff --git a/mash/app_driver/app_driver.h b/mash/app_driver/app_driver.h
deleted file mode 100644
index 8e7dc7a24e7bf0832bae8fb96fb21e782c4ac38d..0000000000000000000000000000000000000000
--- a/mash/app_driver/app_driver.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2015 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 MASH_APP_DRIVER_APP_DRIVER_H_
-#define MASH_APP_DRIVER_APP_DRIVER_H_
-
-#include <stdint.h>
-
-#include <map>
-
-#include "base/callback.h"
-#include "base/macros.h"
-#include "base/memory/weak_ptr.h"
-#include "mojo/public/cpp/bindings/binding.h"
-#include "services/catalog/public/interfaces/catalog.mojom.h"
-#include "services/service_manager/public/cpp/service.h"
-#include "services/ui/public/interfaces/accelerator_registrar.mojom.h"
-
-namespace mash {
-namespace app_driver {
-
-class AppDriver : public service_manager::Service,
- public ui::mojom::AcceleratorHandler {
- public:
- AppDriver();
- ~AppDriver() override;
-
- private:
- void OnAvailableCatalogEntries(std::vector<catalog::mojom::EntryPtr> entries);
-
- // service_manager::Service:
- void OnStart(const service_manager::ServiceInfo& info) override;
- bool OnConnect(const service_manager::ServiceInfo& remote_info,
- service_manager::InterfaceRegistry* registry) override;
- bool OnStop() override;
-
- // ui::mojom::AcceleratorHandler:
- void OnAccelerator(uint32_t id, std::unique_ptr<ui::Event> event) override;
-
- void AddAccelerators();
-
- catalog::mojom::CatalogPtr catalog_;
- mojo::Binding<ui::mojom::AcceleratorHandler> binding_;
- base::WeakPtrFactory<AppDriver> weak_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(AppDriver);
-};
-
-} // namespace app_driver
-} // namespace mash
-
-#endif // MASH_APP_DRIVER_APP_DRIVER_H_
« no previous file with comments | « mash/app_driver/BUILD.gn ('k') | mash/app_driver/app_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698