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

Unified Diff: sky/services/intents/intents.mojom

Issue 1223053002: mv //sky/services/intents //sky/services/activity (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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: sky/services/intents/intents.mojom
diff --git a/sky/services/intents/intents.mojom b/sky/services/intents/intents.mojom
deleted file mode 100644
index bf6286fe287b06e4bcd8ad4b28141bd5c3e3aa95..0000000000000000000000000000000000000000
--- a/sky/services/intents/intents.mojom
+++ /dev/null
@@ -1,38 +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.
-
-module intents;
-
-struct StringExtra {
- string name;
- string value;
-};
-
-struct ComponentName {
- string package_name;
- string class_name;
-};
-
-struct Intent {
- string action;
- string url;
- uint32 flags;
- ComponentName? component;
- array<StringExtra>? string_extras;
-};
-
-struct TaskDescription {
- string? label;
- uint32 primaryColor;
-};
-
-// TODO(abarth): This interface seems very specific to Android. Do we want to
-// have a higher-level abstraction here? Do we want a collection
-// of services that only work on specific platforms? We need to
-// figure out how to rationalize this interface across platforms.
-interface ActivityManager {
- startActivity(Intent intent);
- finishCurrentActivity();
- setTaskDescription(TaskDescription description);
-};
« no previous file with comments | « sky/services/intents/BUILD.gn ('k') | sky/services/intents/src/org/domokit/intents/ActivityManagerImpl.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698