| OLD | NEW |
| 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 Loading... |
| 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 ] |
| OLD | NEW |