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

Unified Diff: chrome/common/extensions/api/experimental_app.json

Issue 12680004: Remove chrome/ code to handle App Notifications (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflicts. Created 7 years, 9 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: chrome/common/extensions/api/experimental_app.json
diff --git a/chrome/common/extensions/api/experimental_app.json b/chrome/common/extensions/api/experimental_app.json
deleted file mode 100644
index 5ac8e01359fdfc8a8d20a31341ec84184c84e58e..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/experimental_app.json
+++ /dev/null
@@ -1,84 +0,0 @@
-// Copyright (c) 2012 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.
-
-[
- {
- "namespace":"experimental.app",
- "functions": [
- {
- "name": "notify",
- "type": "function",
- "description": "Creates a notification from this app.",
- "nodoc": true,
- "parameters": [
- {
- "type": "object",
- "name": "details",
- "properties": {
- "extensionId": {
- "type": "string",
- "optional": true,
- "description": "An optional id to do notifications for an app other than the calling app. This is just to allow prototyping with an extension that sends notifications on behalf of apps that don't support notifications yet; this will be removed before the API becomes stable."
- },
- "title": {
- "type": "string",
- "optional": true,
- "description": "The title of the notification."
- },
- "bodyText": {
- "type": "string",
- "optional": true,
- "description": "The text content of the notification."
- },
- "linkUrl": {
- "type": "string",
- "optional": true,
- "description": "The URL for an optional link to show along with the notification. If you specify a linkUrl, you must also specify a value for linkText."
- },
- "linkText": {
- "type": "string",
- "optional": true,
- "description": "If a linkUrl is provided, this is required and will be used as the linkified text. It should be relatively short."
- }
- }
- },
- {
- "type": "function",
- "name": "callback",
- "optional": true,
- "parameters": [],
- "description": "A callback when the function is complete. Any errors will be reported in $ref:runtime.lastError."
- }
- ]
- },
- {
- "name": "clearAllNotifications",
- "type": "function",
- "description": "Clears all previously sent notifications.",
- "nodoc": true,
- "parameters": [
- {
- "type": "object",
- "name": "details",
- "optional": true,
- "properties": {
- "extensionId": {
- "type": "string",
- "optional": true,
- "description": "An optional id to do notifications for an app other than the calling app. This is just to allow prototyping with an extension that sends notifications on behalf of apps that don't support notifications yet; this will be removed before the API becomes stable."
- }
- }
- },
- {
- "type": "function",
- "name": "callback",
- "optional": true,
- "description": "A callback when the function is complete. Any errors will be reported in $ref:runtime.lastError.",
- "parameters": []
- }
- ]
- }
- ]
- }
-]
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/common/extensions/docs/templates/intros/permissions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698