| 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}, | |
| 10 "types": [ | 9 "types": [ |
| 11 { | 10 { |
| 12 "id": "UIElement", | 11 "id": "UIElement", |
| 13 "type": "object", | 12 "type": "object", |
| 14 "description": "Information about an element of the UI.", | 13 "description": "Information about an element of the UI.", |
| 15 "properties": { | 14 "properties": { |
| 16 "name": {"type": "string", "description": "The type of interesting UI
element."}, | 15 "name": {"type": "string", "description": "The type of interesting UI
element."}, |
| 17 "destination": {"type": "string", "description": "URL that was being n
avigated to when the UI was shown."}, | 16 "destination": {"type": "string", "description": "URL that was being n
avigated to when the UI was shown."}, |
| 18 "referrer": {"type": "string", "description": "URL that was being navi
gated from when the UI was shown."}, | 17 "referrer": {"type": "string", "description": "URL that was being navi
gated from when the UI was shown."}, |
| 19 "time": {"type": "number", "description": "Time when the UI element wa
s first displayed (in ms since epoch)."} | 18 "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... |
| 87 { | 86 { |
| 88 "name": "decision", | 87 "name": "decision", |
| 89 "description": "The decision the user made.", | 88 "description": "The decision the user made.", |
| 90 "$ref": "UserDecision" | 89 "$ref": "UserDecision" |
| 91 } | 90 } |
| 92 ] | 91 ] |
| 93 } | 92 } |
| 94 ] | 93 ] |
| 95 } | 94 } |
| 96 ] | 95 ] |
| OLD | NEW |