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

Side by Side Diff: chrome/common/extensions/api/declarative_content.json

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments - Patch currently being broken up Created 7 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "declarativeContent", 7 "namespace": "declarativeContent",
8 "description": "Use the <code>chrome.declarativeContent</code> module to tak e actions depending on the content of a page, without requiring permission to re ad the page's content.",
9 "documentation_permissions_required": ["declarative", "declarativeContent"],
8 "types": [ 10 "types": [
9 { 11 {
10 "id": "PageStateMatcher", 12 "id": "PageStateMatcher",
11 "type": "object", 13 "type": "object",
12 "description": "Matches the state of a web page by various criteria.", 14 "description": "Matches the state of a web page by various criteria.",
13 "properties": { 15 "properties": {
14 "pageUrl": { 16 "pageUrl": {
15 "$ref": "events.UrlFilter", 17 "$ref": "events.UrlFilter",
16 "description": "Matches if the condition of the UrlFilter are fulfil led for the top-level URL of the page.", 18 "description": "Matches if the condition of the UrlFilter are fulfil led for the top-level URL of the page.",
17 "optional": true 19 "optional": true
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 "supportsRules": true, 65 "supportsRules": true,
64 "conditions": ["declarativeContent.PageStateMatcher"], 66 "conditions": ["declarativeContent.PageStateMatcher"],
65 "actions": [ 67 "actions": [
66 "declarativeContent.ShowPageAction" 68 "declarativeContent.ShowPageAction"
67 ] 69 ]
68 } 70 }
69 } 71 }
70 ] 72 ]
71 } 73 }
72 ] 74 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/debugger.json ('k') | chrome/common/extensions/api/declarative_web_request.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698