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

Unified Diff: mojo/services/window_manager/public/interfaces/window_manager.mojom

Issue 861683003: Move services code brought in from Mojo to live under //third_party. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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
Index: mojo/services/window_manager/public/interfaces/window_manager.mojom
diff --git a/mojo/services/window_manager/public/interfaces/window_manager.mojom b/mojo/services/window_manager/public/interfaces/window_manager.mojom
deleted file mode 100644
index e365fb62f34f9695c468ebb289af7e8e21deb1a3..0000000000000000000000000000000000000000
--- a/mojo/services/window_manager/public/interfaces/window_manager.mojom
+++ /dev/null
@@ -1,28 +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.
-
-module mojo;
-
-import "input_events/public/interfaces/input_events.mojom";
-import "mojo/public/interfaces/application/service_provider.mojom";
-
-[Client=WindowManagerClient]
-interface WindowManager {
- // Requests the WindowManager to embed the app for |url| at an appropriate
- // View. See ViewMangerService::Embed() for details on |services| and
- // |exposed_services|.
- Embed(string url, ServiceProvider&? services, ServiceProvider? exposed_services);
-
- SetCapture(uint32 view_id) => (bool success);
- FocusWindow(uint32 view_id) => (bool success);
- ActivateWindow(uint32 view_id) => (bool success);
-
- GetFocusedAndActiveViews() => (uint32 focused_view_id, uint32 active_view_id);
-};
-
-interface WindowManagerClient {
- OnCaptureChanged(uint32 old_capture_view_id, uint32 new_capture_view_id);
- OnFocusChanged(uint32 old_focused_view_id, uint32 new_focused_view_id);
- OnActiveWindowChanged(uint32 old_focused_view_id, uint32 new_focused_view_id);
-};

Powered by Google App Engine
This is Rietveld 408576698