| 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": "infobars", |
| 8 "description": "Use the <code>chrome.infobars</code> API to add a horizontal
panel just above a tab's contents. See the screenshot below.", | 8 "description": "Use the <code>chrome.infobars</code> API to add a horizontal
panel just above a tab's contents. See the screenshot below.", |
| 9 "compiler_options": { | 9 "compiler_options": { |
| 10 "implemented_in": "chrome/browser/infobars/infobar_extension_api.h" | 10 "implemented_in": "chrome/browser/infobars/infobar_extension_api.h" |
| 11 }, | 11 }, |
| 12 "types": [], | 12 "types": [], |
| 13 "functions": [ | 13 "functions": [ |
| 14 { | 14 { |
| 15 "name": "show", | 15 "name": "show", |
| 16 "type": "function", | 16 "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.", | 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.", |
| (...skipping 27 matching lines...) Expand all Loading... |
| 45 { | 45 { |
| 46 "name": "window", "$ref": "windows.Window", "description": "Cont
ains details about the window in which the infobar was created." | 46 "name": "window", "$ref": "windows.Window", "description": "Cont
ains details about the window in which the infobar was created." |
| 47 } | 47 } |
| 48 ] | 48 ] |
| 49 } | 49 } |
| 50 ] | 50 ] |
| 51 } | 51 } |
| 52 ] | 52 ] |
| 53 } | 53 } |
| 54 ] | 54 ] |
| OLD | NEW |