diff options
Diffstat (limited to 'chrome/common/extensions/api')
20 files changed, 25 insertions, 15 deletions
diff --git a/chrome/common/extensions/api/browser.idl b/chrome/common/extensions/api/browser.idl index 248fec8..84858dd 100644 --- a/chrome/common/extensions/api/browser.idl +++ b/chrome/common/extensions/api/browser.idl @@ -4,7 +4,7 @@ // Use the <code>chrome.browser</code> API to interact with the Chrome browser // associated with the current application and Chrome profile. -namespace browser { +[use_movable_types=true] namespace browser { // Options for the $(ref:openTab) function. dictionary OpenTabOptions { // The URL to navigate to when the new tab is initially opened. @@ -17,8 +17,8 @@ namespace browser { // Opens a new tab in a browser window associated with the current // application and Chrome profile. If no browser window for the Chrome // profile is opened, a new one is opened prior to creating the new tab. - // |options| - Configures how the tab should be opened. - // |callback| - Called when the tab was successfully created, or failed to + // |options|: Configures how the tab should be opened. + // |callback|: Called when the tab was successfully created, or failed to // be created. If failed, $(ref:runtime.lastError) will be set. static void openTab(OpenTabOptions options, optional Callback callback); diff --git a/chrome/common/extensions/api/browsing_data.json b/chrome/common/extensions/api/browsing_data.json index 10fd0b71..900d330 100644 --- a/chrome/common/extensions/api/browsing_data.json +++ b/chrome/common/extensions/api/browsing_data.json @@ -6,6 +6,7 @@ { "namespace": "browsingData", "description": "Use the <code>chrome.browsingData</code> API to remove browsing data from a user's local profile.", + "compiler_options": {"use_movable_types": true}, "types": [ { "id": "RemovalOptions", diff --git a/chrome/common/extensions/api/cast_devices_private.idl b/chrome/common/extensions/api/cast_devices_private.idl index 2903a58..d6e4f85 100644 --- a/chrome/common/extensions/api/cast_devices_private.idl +++ b/chrome/common/extensions/api/cast_devices_private.idl @@ -5,7 +5,7 @@ // The <code>chrome.cast.devicesPrivate</code> API manages starting and stopping // casts based on receiver names. It also provides a list of available // receivers. -namespace cast.devicesPrivate { +[use_movable_types=true] namespace cast.devicesPrivate { // A cast receiver is an actual cast device. It has a unique |id| and a // non-unique |name| which is how people identify it. dictionary Receiver { diff --git a/chrome/common/extensions/api/cast_streaming_receiver_session.idl b/chrome/common/extensions/api/cast_streaming_receiver_session.idl index 15a7f0a7..6c5f8ca 100644 --- a/chrome/common/extensions/api/cast_streaming_receiver_session.idl +++ b/chrome/common/extensions/api/cast_streaming_receiver_session.idl @@ -5,7 +5,7 @@ // The <code>chrome.cast.streaming.receiverSession</code> API creates a Cast // receiver session and adds the resulting audio and video tracks to a // MediaStream. -namespace cast.streaming.receiverSession { +[use_movable_types=true]namespace cast.streaming.receiverSession { // The UDP socket address and port. dictionary IPEndPoint { DOMString address; diff --git a/chrome/common/extensions/api/cast_streaming_rtp_stream.idl b/chrome/common/extensions/api/cast_streaming_rtp_stream.idl index 8425609..da5d02f 100644 --- a/chrome/common/extensions/api/cast_streaming_rtp_stream.idl +++ b/chrome/common/extensions/api/cast_streaming_rtp_stream.idl @@ -7,7 +7,7 @@ // session. // // Valid stream IDs are positive and non-zero. -namespace cast.streaming.rtpStream { +[use_movable_types=true]namespace cast.streaming.rtpStream { // Params for audio and video codec. dictionary CodecSpecificParams { DOMString key; diff --git a/chrome/common/extensions/api/cast_streaming_session.idl b/chrome/common/extensions/api/cast_streaming_session.idl index 29d43d9..e2ad595 100644 --- a/chrome/common/extensions/api/cast_streaming_session.idl +++ b/chrome/common/extensions/api/cast_streaming_session.idl @@ -11,7 +11,7 @@ // APIs. // // Valid resource IDs are positive and non-zero. -namespace cast.streaming.session { +[use_movable_types=true]namespace cast.streaming.session { // Callback from the <code>create</code> method. // |audioStreamId| : The audio RTP stream ID. // |videoStreamId| : The video RTP stream ID. diff --git a/chrome/common/extensions/api/cast_streaming_udp_transport.idl b/chrome/common/extensions/api/cast_streaming_udp_transport.idl index 8106a58..fd43a61 100644 --- a/chrome/common/extensions/api/cast_streaming_udp_transport.idl +++ b/chrome/common/extensions/api/cast_streaming_udp_transport.idl @@ -8,7 +8,7 @@ // It is used to configure the UDP transport used in Cast session. // // Valid transport IDs are positive and non-zero. -namespace cast.streaming.udpTransport { +[use_movable_types=true]namespace cast.streaming.udpTransport { // The UDP socket address and port. dictionary IPEndPoint { DOMString address; diff --git a/chrome/common/extensions/api/certificate_provider.idl b/chrome/common/extensions/api/certificate_provider.idl index 4062d04..50ec63a 100644 --- a/chrome/common/extensions/api/certificate_provider.idl +++ b/chrome/common/extensions/api/certificate_provider.idl @@ -4,7 +4,7 @@ // Use this API to expose certificates to the platform which can use these // certificates for TLS authentications. -namespace certificateProvider { +[use_movable_types=true]namespace certificateProvider { enum Hash { MD5_SHA1, SHA1, diff --git a/chrome/common/extensions/api/certificate_provider_internal.idl b/chrome/common/extensions/api/certificate_provider_internal.idl index aa179d2..dc2d3aa 100644 --- a/chrome/common/extensions/api/certificate_provider_internal.idl +++ b/chrome/common/extensions/api/certificate_provider_internal.idl @@ -10,7 +10,7 @@ // runs the callback to report its results, the callback magically prepends the // request ID to the results and calls the respective internal report function // (reportSignature or reportCertificates). -[implemented_in = "chrome/browser/extensions/api/certificate_provider/certificate_provider_api.h"] +[implemented_in = "chrome/browser/extensions/api/certificate_provider/certificate_provider_api.h",use_movable_types=true] namespace certificateProviderInternal { callback DoneCallback = void (); callback ResultCallback = void (ArrayBuffer[] rejectedCertificates); diff --git a/chrome/common/extensions/api/chrome_web_view_internal.json b/chrome/common/extensions/api/chrome_web_view_internal.json index 0797d47e..225147f 100644 --- a/chrome/common/extensions/api/chrome_web_view_internal.json +++ b/chrome/common/extensions/api/chrome_web_view_internal.json @@ -7,7 +7,8 @@ "namespace": "chromeWebViewInternal", "description": "none", "compiler_options": { - "implemented_in": "chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.h" + "implemented_in": "chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.h", + "use_movable_types": true }, "dependencies": ["contextMenusInternal", "contextMenus"], "types": [ diff --git a/chrome/common/extensions/api/chromeos_info_private.json b/chrome/common/extensions/api/chromeos_info_private.json index b87c606..8b8c7e1 100644 --- a/chrome/common/extensions/api/chromeos_info_private.json +++ b/chrome/common/extensions/api/chromeos_info_private.json @@ -7,7 +7,8 @@ "namespace": "chromeosInfoPrivate", "description": "none", "compiler_options": { - "implemented_in": "chrome/browser/chromeos/extensions/info_private_api.h" + "implemented_in": "chrome/browser/chromeos/extensions/info_private_api.h", + "use_movable_types": true }, "types": [ { diff --git a/chrome/common/extensions/api/cloud_print_private.json b/chrome/common/extensions/api/cloud_print_private.json index edd3e02..f1fb223 100644 --- a/chrome/common/extensions/api/cloud_print_private.json +++ b/chrome/common/extensions/api/cloud_print_private.json @@ -6,6 +6,7 @@ { "namespace": "cloudPrintPrivate", "description": "none", + "compiler_options": {"use_movable_types": true}, "types": [ { "id": "PrinterSettings", diff --git a/chrome/common/extensions/api/command_line_private.json b/chrome/common/extensions/api/command_line_private.json index 90c052d..9a9d670 100644 --- a/chrome/common/extensions/api/command_line_private.json +++ b/chrome/common/extensions/api/command_line_private.json @@ -6,6 +6,7 @@ { "namespace": "commandLinePrivate", "description": "none", + "compiler_options": {"use_movable_types": true}, "functions": [ { "name": "hasSwitch", diff --git a/chrome/common/extensions/api/commands.json b/chrome/common/extensions/api/commands.json index c02008e..e6d1e23 100644 --- a/chrome/common/extensions/api/commands.json +++ b/chrome/common/extensions/api/commands.json @@ -6,6 +6,7 @@ { "namespace": "commands", "description": "Use the commands API to add keyboard shortcuts that trigger actions in your extension, for example, an action to open the browser action or send a command to the extension.", + "compiler_options": {"use_movable_types": true}, "types": [ { "id": "Command", diff --git a/chrome/common/extensions/api/content_settings.json b/chrome/common/extensions/api/content_settings.json index 455c870..a89f010 100644 --- a/chrome/common/extensions/api/content_settings.json +++ b/chrome/common/extensions/api/content_settings.json @@ -7,7 +7,8 @@ "namespace": "contentSettings", "description": "Use the <code>chrome.contentSettings</code> API to change settings that control whether websites can use features such as cookies, JavaScript, and plugins. More generally speaking, content settings allow you to customize Chrome's behavior on a per-site basis instead of globally.", "compiler_options": { - "generate_type_functions": true + "generate_type_functions": true, + "use_movable_types": true }, "types": [ { diff --git a/chrome/common/extensions/api/context_menus.json b/chrome/common/extensions/api/context_menus.json index 764af5b..53ca171 100644 --- a/chrome/common/extensions/api/context_menus.json +++ b/chrome/common/extensions/api/context_menus.json @@ -6,6 +6,7 @@ { "namespace": "contextMenus", "description": "Use the <code>chrome.contextMenus</code> API to add items to Google Chrome's context menu. You can choose what types of objects your context menu additions apply to, such as images, hyperlinks, and pages.", + "compiler_options": {"use_movable_types": true}, "properties": { "ACTION_MENU_TOP_LEVEL_LIMIT": { "value": 6, diff --git a/chrome/common/extensions/api/context_menus_internal.json b/chrome/common/extensions/api/context_menus_internal.json index 2e879b0..b6d4e56 100644 --- a/chrome/common/extensions/api/context_menus_internal.json +++ b/chrome/common/extensions/api/context_menus_internal.json @@ -6,6 +6,7 @@ { "namespace": "contextMenusInternal", "description": "Use the <code>chrome.contextMenus</code> API to add items to Google Chrome's context menu. You can choose what types of objects your context menu additions apply to, such as images, hyperlinks, and pages.", + "compiler_options": {"use_movable_types": true}, "types": [ { "id": "OnClickData", diff --git a/chrome/common/extensions/api/cookies.json b/chrome/common/extensions/api/cookies.json index 98dd565..0bd4e2d 100644 --- a/chrome/common/extensions/api/cookies.json +++ b/chrome/common/extensions/api/cookies.json @@ -6,6 +6,7 @@ { "namespace": "cookies", "description": "Use the <code>chrome.cookies</code> API to query and modify cookies, and to be notified when they change.", + "compiler_options": {"use_movable_types": true}, "types": [ { "id": "SameSiteStatus", diff --git a/chrome/common/extensions/api/copresence.idl b/chrome/common/extensions/api/copresence.idl index a9c6090..fd87efa 100644 --- a/chrome/common/extensions/api/copresence.idl +++ b/chrome/common/extensions/api/copresence.idl @@ -4,7 +4,7 @@ // Use the <code>chrome.copresence</code> API to communicate with other nearby // devices using Google's copresence service. -namespace copresence { +[use_movable_types=true] namespace copresence { // Suggestions to copresence on how to do the publication and subscription. // Note: These are only suggestions. Actual behavior may not always match // what is requested. diff --git a/chrome/common/extensions/api/copresence_private.idl b/chrome/common/extensions/api/copresence_private.idl index 6db3420..f6b4cb8 100644 --- a/chrome/common/extensions/api/copresence_private.idl +++ b/chrome/common/extensions/api/copresence_private.idl @@ -4,7 +4,7 @@ // Use the <code>chrome.copresencePrivate</code> API to interface with Chrome // from the whispernet_proxy extension. -namespace copresencePrivate { +[use_movable_types=true]namespace copresencePrivate { dictionary Token { DOMString token; boolean audible; |
