1
Index: src/chrome/browser/infobars/infobar_extension_api.h
2
===================================================================
3
--- src/chrome/browser/infobars/infobar_extension_api.h (revision 205727)
4
+++ src/chrome/browser/infobars/infobar_extension_api.h (working copy)
6
class InfobarsShowFunction : public SyncExtensionFunction {
7
virtual ~InfobarsShowFunction() {}
8
virtual bool RunImpl() OVERRIDE;
9
- DECLARE_EXTENSION_FUNCTION("experimental.infobars.show",
10
+ DECLARE_EXTENSION_FUNCTION("infobars.show",
11
EXPERIMENTAL_INFOBARS_SHOW)
14
Index: src/chrome/common/extensions/api/api.gyp
15
===================================================================
16
--- src/chrome/common/extensions/api/api.gyp (revision 205727)
17
+++ src/chrome/common/extensions/api/api.gyp (working copy)
19
'experimental_history.json',
20
'experimental_identity.idl',
21
'experimental_idltest.idl',
22
- 'experimental_infobars.json',
24
'experimental_media_galleries.idl',
25
'experimental_record.json',
31
'managed_mode_private.json',
33
'manifest_types.json',
34
Index: src/chrome/common/extensions/api/experimental_infobars.json
35
===================================================================
36
--- src/chrome/common/extensions/api/experimental_infobars.json (revision 205727)
37
+++ src/chrome/common/extensions/api/experimental_infobars.json (working copy)
39
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
40
-// Use of this source code is governed by a BSD-style license that can be
41
-// found in the LICENSE file.
45
- "namespace": "experimental.infobars",
46
- "compiler_options": {
47
- "implemented_in": "chrome/browser/infobars/infobar_extension_api.h"
54
- "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.",
62
- "description": "The tab id for the tab to display the infobar in."
66
- "description": "The html file that contains the infobar."
70
- "description": "The height (in pixels) of the infobar to show. If omitted, the default infobar height will be used.",
83
- "name": "window", "$ref": "windows.Window", "description": "Contains details about the window in which the infobar was created."
92
Index: src/chrome/common/extensions/api/infobars.json
93
===================================================================
94
--- src/chrome/common/extensions/api/infobars.json (revision 0)
95
+++ src/chrome/common/extensions/api/infobars.json (working copy)
97
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
98
+// Use of this source code is governed by a BSD-style license that can be
99
+// found in the LICENSE file.
103
+ "namespace": "infobars",
104
+ "compiler_options": {
105
+ "implemented_in": "chrome/browser/infobars/infobar_extension_api.h"
111
+ "type": "function",
112
+ "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.",
120
+ "description": "The tab id for the tab to display the infobar in."
124
+ "description": "The html file that contains the infobar."
128
+ "description": "The height (in pixels) of the infobar to show. If omitted, the default infobar height will be used.",
136
+ "type": "function",
137
+ "name": "callback",
141
+ "name": "window", "$ref": "windows.Window", "description": "Contains details about the window in which the infobar was created."
150
Index: src/chrome/common/extensions/permissions/permission_set.cc
151
===================================================================
152
--- src/chrome/common/extensions/permissions/permission_set.cc (revision 205727)
153
+++ src/chrome/common/extensions/permissions/permission_set.cc (working copy)