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

Unified Diff: ash/public/interfaces/new_window.mojom

Issue 2549903002: mash: Reverse the responsibilities of the NewWindowClient. (Closed)
Patch Set: jamescook comments Created 4 years 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 | « ash/mus/test/wm_test_helper.cc ('k') | ash/test/ash_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/public/interfaces/new_window.mojom
diff --git a/ash/public/interfaces/new_window.mojom b/ash/public/interfaces/new_window.mojom
index 08a49f0c3a55ac24d76f9113d1b89c93cbc7eddc..7009400898069ed1f7b3b9423b957f0ae2b1c8c5 100644
--- a/ash/public/interfaces/new_window.mojom
+++ b/ash/public/interfaces/new_window.mojom
@@ -4,8 +4,13 @@
module ash.mojom;
-// A delegate interface delegate to create or open windows that are not part of
-// ash.
+// An exported object in ash which lets an ash consumer set a client interface.
+interface NewWindowController {
+ SetClient(associated NewWindowClient client);
+};
+
+// A delegate interface that an ash user sends to ash to handle certain window
+// management responsibilities.
interface NewWindowClient {
// Invoked when the user uses Ctrl+T to open a new tab.
NewTab();
« no previous file with comments | « ash/mus/test/wm_test_helper.cc ('k') | ash/test/ash_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698