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

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

Issue 1843163003: [Extensions] Convert APIs to use movable types [14] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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": "experienceSamplingPrivate", 7 "namespace": "experienceSamplingPrivate",
8 "description": "The experienceSamplingPrivate API listens for when various t ypes of UI elements are displayed and closed (interstitials, infobars, etc.) and pass these events along to whitelisted extensions, along with information about the user’s decisions.", 8 "description": "The experienceSamplingPrivate API listens for when various t ypes of UI elements are displayed and closed (interstitials, infobars, etc.) and pass these events along to whitelisted extensions, along with information about the user’s decisions.",
9 "compiler_options": {"use_movable_types": true},
9 "types": [ 10 "types": [
10 { 11 {
11 "id": "UIElement", 12 "id": "UIElement",
12 "type": "object", 13 "type": "object",
13 "description": "Information about an element of the UI.", 14 "description": "Information about an element of the UI.",
14 "properties": { 15 "properties": {
15 "name": {"type": "string", "description": "The type of interesting UI element."}, 16 "name": {"type": "string", "description": "The type of interesting UI element."},
16 "destination": {"type": "string", "description": "URL that was being n avigated to when the UI was shown."}, 17 "destination": {"type": "string", "description": "URL that was being n avigated to when the UI was shown."},
17 "referrer": {"type": "string", "description": "URL that was being navi gated from when the UI was shown."}, 18 "referrer": {"type": "string", "description": "URL that was being navi gated from when the UI was shown."},
18 "time": {"type": "number", "description": "Time when the UI element wa s first displayed (in ms since epoch)."} 19 "time": {"type": "number", "description": "Time when the UI element wa s first displayed (in ms since epoch)."}
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 { 87 {
87 "name": "decision", 88 "name": "decision",
88 "description": "The decision the user made.", 89 "description": "The decision the user made.",
89 "$ref": "UserDecision" 90 "$ref": "UserDecision"
90 } 91 }
91 ] 92 ]
92 } 93 }
93 ] 94 ]
94 } 95 }
95 ] 96 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698