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

Unified Diff: components/window_manager/window_manager_delegate.h

Issue 1138073007: Nukes the windowmanager interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 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
Index: components/window_manager/window_manager_delegate.h
diff --git a/components/window_manager/window_manager_delegate.h b/components/window_manager/window_manager_delegate.h
deleted file mode 100644
index 1ea7923bf27833278a0b40319bd51b13c2e01c01..0000000000000000000000000000000000000000
--- a/components/window_manager/window_manager_delegate.h
+++ /dev/null
@@ -1,32 +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 COMPONENTS_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_
-#define COMPONENTS_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_
-
-#include "mojo/application/public/interfaces/service_provider.mojom.h"
-#include "third_party/mojo/src/mojo/public/cpp/bindings/string.h"
-#include "ui/mojo/events/input_events.mojom.h"
-#include "ui/mojo/events/input_key_codes.mojom.h"
-
-namespace window_manager {
-
-class WindowManagerDelegate {
- public:
- // See WindowManager::Embed() for details.
- virtual void Embed(const mojo::String& url,
- mojo::InterfaceRequest<mojo::ServiceProvider> services,
- mojo::ServiceProviderPtr exposed_services) = 0;
-
- virtual void OnAcceleratorPressed(mojo::View* view,
- mojo::KeyboardCode keyboard_code,
- mojo::EventFlags flags) {}
-
- protected:
- virtual ~WindowManagerDelegate() {}
-};
-
-} // namespace mojo
-
-#endif // COMPONENTS_WINDOW_MANAGER_WINDOW_MANAGER_DELEGATE_H_
« no previous file with comments | « components/window_manager/window_manager_apptest.cc ('k') | components/window_manager/window_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698