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

Unified Diff: mash/browser_driver/browser_driver_application_delegate.h

Issue 1989333003: mash: Rename browser_driver to app_driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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/browser_driver/BUILD.gn ('k') | mash/browser_driver/browser_driver_application_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/browser_driver/browser_driver_application_delegate.h
diff --git a/mash/browser_driver/browser_driver_application_delegate.h b/mash/browser_driver/browser_driver_application_delegate.h
deleted file mode 100644
index eeea9af9c5713cc57b91e4f67bdfe3a62ffca9c0..0000000000000000000000000000000000000000
--- a/mash/browser_driver/browser_driver_application_delegate.h
+++ /dev/null
@@ -1,56 +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_BROWSER_DRIVER_BROWSER_DRIVER_APPLICATION_DELEGATE_H_
-#define MASH_BROWSER_DRIVER_BROWSER_DRIVER_APPLICATION_DELEGATE_H_
-
-#include <stdint.h>
-
-#include <map>
-
-#include "base/callback.h"
-#include "base/macros.h"
-#include "base/memory/weak_ptr.h"
-#include "components/mus/public/interfaces/accelerator_registrar.mojom.h"
-#include "mojo/public/cpp/bindings/binding.h"
-#include "services/catalog/public/interfaces/catalog.mojom.h"
-#include "services/shell/public/cpp/shell_client.h"
-
-namespace mash {
-namespace browser_driver {
-
-class BrowserDriverApplicationDelegate : public shell::ShellClient,
- public mus::mojom::AcceleratorHandler {
- public:
- BrowserDriverApplicationDelegate();
- ~BrowserDriverApplicationDelegate() override;
-
- private:
- void OnAvailableCatalogEntries(
- const mojo::Array<catalog::mojom::EntryPtr>& entries);
-
- // shell::ShellClient:
- void Initialize(shell::Connector* connector,
- const shell::Identity& identity,
- uint32_t id) override;
- bool AcceptConnection(shell::Connection* connection) override;
- bool ShellConnectionLost() override;
-
- // mus::mojom::AcceleratorHandler:
- void OnAccelerator(uint32_t id, mus::mojom::EventPtr event) override;
-
- void AddAccelerators();
-
- shell::Connector* connector_;
- catalog::mojom::CatalogPtr catalog_;
- mojo::Binding<mus::mojom::AcceleratorHandler> binding_;
- base::WeakPtrFactory<BrowserDriverApplicationDelegate> weak_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(BrowserDriverApplicationDelegate);
-};
-
-} // namespace browser_driver
-} // namespace mash
-
-#endif // MASH_BROWSER_DRIVER_BROWSER_DRIVER_APPLICATION_DELEGATE_H_
« no previous file with comments | « mash/browser_driver/BUILD.gn ('k') | mash/browser_driver/browser_driver_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698