| OLD | NEW |
| 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": "experimental.infobars", | 7 "namespace": "experimental.infobars", |
| 8 "compiler_options": { | 8 "compiler_options": { |
| 9 "implemented_in": "chrome/browser/infobars/infobar_extension_api.h" | 9 "implemented_in": "chrome/browser/infobars/infobar_extension_api.h" |
| 10 }, | 10 }, |
| 11 "dependencies": [ "windows" ], | |
| 12 "types": [], | 11 "types": [], |
| 13 "functions": [ | 12 "functions": [ |
| 14 { | 13 { |
| 15 "name": "show", | 14 "name": "show", |
| 16 "type": "function", | 15 "type": "function", |
| 17 "description": "Shows an infobar in the specified tab. The infobar will
be closed automatically when the tab navigates. Use window.close() to close the
infobar before then.", | 16 "description": "Shows an infobar in the specified tab. The infobar will
be closed automatically when the tab navigates. Use window.close() to close the
infobar before then.", |
| 18 "parameters": [ | 17 "parameters": [ |
| 19 { | 18 { |
| 20 "name": "details", | 19 "name": "details", |
| 21 "type": "object", | 20 "type": "object", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 45 { | 44 { |
| 46 "name": "window", "$ref": "windows.Window", "description": "Cont
ains details about the window in which the infobar was created." | 45 "name": "window", "$ref": "windows.Window", "description": "Cont
ains details about the window in which the infobar was created." |
| 47 } | 46 } |
| 48 ] | 47 ] |
| 49 } | 48 } |
| 50 ] | 49 ] |
| 51 } | 50 } |
| 52 ] | 51 ] |
| 53 } | 52 } |
| 54 ] | 53 ] |
| OLD | NEW |