summaryrefslogtreecommitdiffstats
path: root/chromium/ppapi/api/dev
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ppapi/api/dev')
-rw-r--r--chromium/ppapi/api/dev/pp_optional_structs_dev.idl14
-rw-r--r--chromium/ppapi/api/dev/ppb_alarms_dev.idl181
-rw-r--r--chromium/ppapi/api/dev/ppb_audio_input_dev.idl28
-rw-r--r--chromium/ppapi/api/dev/ppb_file_io_dev.idl116
-rw-r--r--chromium/ppapi/api/dev/ppb_find_dev.idl35
-rw-r--r--chromium/ppapi/api/dev/ppb_graphics_2d_dev.idl96
-rw-r--r--chromium/ppapi/api/dev/ppb_keyboard_input_event_dev.idl60
-rw-r--r--chromium/ppapi/api/dev/ppb_resource_array_dev.idl68
-rw-r--r--chromium/ppapi/api/dev/ppb_var_resource_dev.idl38
-rw-r--r--chromium/ppapi/api/dev/ppb_video_capture_dev.idl20
10 files changed, 0 insertions, 656 deletions
diff --git a/chromium/ppapi/api/dev/pp_optional_structs_dev.idl b/chromium/ppapi/api/dev/pp_optional_structs_dev.idl
deleted file mode 100644
index 3e0829fe40f..00000000000
--- a/chromium/ppapi/api/dev/pp_optional_structs_dev.idl
+++ /dev/null
@@ -1,14 +0,0 @@
-/* Copyright 2013 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/**
- * This file defines optional structs for primitive types.
- */
-
-struct PP_Optional_Double_Dev {
- double_t value;
- PP_Bool is_set;
-};
-
diff --git a/chromium/ppapi/api/dev/ppb_alarms_dev.idl b/chromium/ppapi/api/dev/ppb_alarms_dev.idl
deleted file mode 100644
index b2345c4c5cb..00000000000
--- a/chromium/ppapi/api/dev/ppb_alarms_dev.idl
+++ /dev/null
@@ -1,181 +0,0 @@
-/* Copyright 2013 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/**
- * This file defines the Pepper equivalent of the <code>chrome.alarms</code>
- * extension API.
- */
-
-label Chrome {
- M33 = 0.1
-};
-
-struct PP_Alarms_Alarm_Dev {
- /**
- * Name of this alarm.
- */
- PP_Var name;
- /**
- * Time at which this alarm was scheduled to fire, in milliseconds past the
- * epoch. For performance reasons, the alarm may have been delayed an
- * arbitrary amount beyond this.
- */
- double_t scheduled_time;
- /**
- * If set, the alarm is a repeating alarm and will fire again in
- * <code>period_in_minutes</code> minutes.
- */
- PP_Optional_Double_Dev period_in_minutes;
-};
-
-struct PP_Alarms_AlarmCreateInfo_Dev {
- /**
- * Time at which the alarm should fire, in milliseconds past the epoch.
- */
- PP_Optional_Double_Dev when;
- /**
- * Length of time in minutes after which the
- * <code>PP_Alarms_OnAlarm_Dev</code> event should fire.
- */
- PP_Optional_Double_Dev delay_in_minutes;
- /**
- * If set, the <code>PP_Alarms_OnAlarm_Dev</code> event should fire every
- * <code>period_in_minutes</code> minutes after the initial event specified by
- * <code>when</code> or <code>delay_in_minutes</code>. If not set, the alarm
- * will only fire once.
- */
- PP_Optional_Double_Dev period_in_minutes;
-};
-
-struct PP_Alarms_Alarm_Array_Dev {
- uint32_t size;
- [size_is(count)] PP_Alarms_Alarm_Dev[] elements;
-};
-
-/**
- * Fired when an alarm has elapsed. Useful for event pages.
- *
- * @param[in] listener_id The listener ID.
- * @param[inout] user_data The opaque pointer that was used when registering the
- * listener.
- * @param[in] alarm The alarm that has elapsed.
- */
-typedef void PP_Alarms_OnAlarm_Dev(
- [in] uint32_t listener_id,
- [inout] mem_t user_data,
- [in] PP_Alarms_Alarm_Dev alarm);
-
-interface PPB_Alarms_Dev {
- /**
- * Creates an alarm. Near the time(s) specified by <code>alarm_info</code>,
- * the <code>PP_Alarms_OnAlarm_Dev</code> event is fired. If there is another
- * alarm with the same name (or no name if none is specified), it will be
- * cancelled and replaced by this alarm.
- *
- * In order to reduce the load on the user's machine, Chrome limits alarms
- * to at most once every 1 minute but may delay them an arbitrary amount more.
- * That is, setting
- * <code>PP_Alarms_AlarmCreateInfo_Dev.delay_in_minutes</code> or
- * <code>PP_Alarms_AlarmCreateInfo_Dev.period_in_minutes</code> to less than
- * <code>1</code> will not be honored and will cause a warning.
- * <code>PP_Alarms_AlarmCreateInfo_Dev.when</code> can be set to less than 1
- * minute after "now" without warning but won't actually cause the alarm to
- * fire for at least 1 minute.
- *
- * To help you debug your app or extension, when you've loaded it unpacked,
- * there's no limit to how often the alarm can fire.
- *
- * @param[in] instance A <code>PP_Instance</code>.
- * @param[in] name A string or undefined <code>PP_Var</code>. Optional name to
- * identify this alarm. Defaults to the empty string.
- * @param[in] alarm_info Describes when the alarm should fire. The initial
- * time must be specified by either <code>when</code> or
- * <code>delay_in_minutes</code> (but not both). If
- * <code>period_in_minutes</code> is set, the alarm will repeat every
- * <code>period_in_minutes</code> minutes after the initial event. If neither
- * <code>when</code> or <code>delay_in_minutes</code> is set for a repeating
- * alarm, <code>period_in_minutes</code> is used as the default for
- * <code>delay_in_minutes</code>.
- */
- void Create(
- [in] PP_Instance instance,
- [in] PP_Var name,
- [in] PP_Alarms_AlarmCreateInfo_Dev alarm_info);
-
- /**
- * Retrieves details about the specified alarm.
- *
- * @param[in] instance A <code>PP_Instance</code>.
- * @param[in] name A string or undefined <code>PP_Var</code>. The name of the
- * alarm to get. Defaults to the empty string.
- * @param[out] alarm A <code>PP_Alarms_Alarm_Dev</code> struct to store the
- * output result.
- * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon
- * completion.
- *
- * @return An error code from <code>pp_errors.h</code>
- */
- int32_t Get(
- [in] PP_Instance instance,
- [in] PP_Var name,
- [out] PP_Alarms_Alarm_Dev alarm,
- [in] PP_CompletionCallback callback);
-
- /**
- * Gets an array of all the alarms.
- *
- * @param[in] instance A <code>PP_Instance</code>.
- * @param[out] alarms A <code>PP_Alarms_Alarm_Array_Dev</code> to store the
- * output result.
- * @param[in] array_allocator A <code>PP_ArrayOutput</code> to allocate memory
- * for <code>alarms</code>.
- * @param[in] callback A <code>PP_CompletionCallback</code> to be called upon
- * completion.
- *
- * @return An error code from <code>pp_errors.h</code>
- */
- int32_t GetAll(
- [in] PP_Instance instance,
- [out] PP_Alarms_Alarm_Array_Dev alarms,
- [in] PP_ArrayOutput array_allocator,
- [in] PP_CompletionCallback callback);
-
- /**
- * Clears the alarm with the given name.
- *
- * @param[in] instance A <code>PP_Instance</code>.
- * @param[in] name A string or undefined <code>PP_Var</code>. The name of the
- * alarm to clear. Defaults to the empty string.
- */
- void Clear(
- [in] PP_Instance instance,
- [in] PP_Var name);
-
- /**
- * Clears all alarms.
- *
- * @param[in] instance A <code>PP_Instance</code>.
- */
- void ClearAll(
- [in] PP_Instance instance);
-
- /**
- * Registers <code>PP_Alarms_OnAlarm_Dev</code> event.
- *
- * @param[in] instance A <code>PP_Instance</code>.
- * @param[in] callback The callback to receive notifications.
- * @param[inout] user_data An opaque pointer that will be passed to
- * <code>callback</code>.
- *
- * @return A listener ID, or 0 if failed.
- *
- * TODO(yzshen): add a PPB_Events_Dev interface for unregistering:
- * void UnregisterListener(PP_instance instance, uint32_t listener_id);
- */
- uint32_t AddOnAlarmListener(
- [in] PP_Instance instance,
- [in] PP_Alarms_OnAlarm_Dev callback,
- [inout] mem_t user_data);
-};
diff --git a/chromium/ppapi/api/dev/ppb_audio_input_dev.idl b/chromium/ppapi/api/dev/ppb_audio_input_dev.idl
index fe960253898..71ce6eb7525 100644
--- a/chromium/ppapi/api/dev/ppb_audio_input_dev.idl
+++ b/chromium/ppapi/api/dev/ppb_audio_input_dev.idl
@@ -9,7 +9,6 @@
*/
label Chrome {
- M19 = 0.2,
M25 = 0.3,
M30 = 0.4
};
@@ -75,33 +74,6 @@ interface PPB_AudioInput_Dev {
/**
* Enumerates audio input devices.
*
- * Please note that:
- * - this method ignores the previous value pointed to by <code>devices</code>
- * (won't release reference even if it is not 0);
- * - <code>devices</code> must be valid until <code>callback</code> is called,
- * if the method returns <code>PP_OK_COMPLETIONPENDING</code>;
- * - the ref count of the returned <code>devices</code> has already been
- * increased by 1 for the caller.
- *
- * @param[in] audio_input A <code>PP_Resource</code> corresponding to an audio
- * input resource.
- * @param[out] devices Once the operation is completed successfully,
- * <code>devices</code> will be set to a <code>PPB_ResourceArray_Dev</code>
- * resource, which holds a list of <code>PPB_DeviceRef_Dev</code> resources.
- * @param[in] callback A <code>PP_CompletionCallback</code> to run on
- * completion.
- *
- * @return An error code from <code>pp_errors.h</code>.
- */
- [deprecate=0.3]
- int32_t EnumerateDevices(
- [in] PP_Resource audio_input,
- [out] PP_Resource devices,
- [in] PP_CompletionCallback callback);
-
- /**
- * Enumerates audio input devices.
- *
* @param[in] audio_input A <code>PP_Resource</code> corresponding to an audio
* input resource.
* @param[in] output An output array which will receive
diff --git a/chromium/ppapi/api/dev/ppb_file_io_dev.idl b/chromium/ppapi/api/dev/ppb_file_io_dev.idl
deleted file mode 100644
index 82a64521116..00000000000
--- a/chromium/ppapi/api/dev/ppb_file_io_dev.idl
+++ /dev/null
@@ -1,116 +0,0 @@
-/* Copyright (c) 2013 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-
-/**
- * This file defines methods for use with a PPB_FileIO resource that may become
- * stable in the future. For now, they can be used only in plugins with DEV
- * permissions.
- */
-
-label Chrome {
- M31 = 0.1
-};
-
-/**
- * The PP_FileMapProtection values indicate the permissions requested for the
- * file mapping. These should be used in a uint32_t bitfield.
- */
-[assert_size(4)]
- enum PP_FileMapProtection {
- /** Requests read access to the mapped address. */
- PP_FILEMAPPROTECTION_READ = 1u << 0,
-
- /** Requests write access to the mapped address. */
- PP_FILEMAPPROTECTION_WRITE = 1u << 1
-};
-
-/**
- * The PP_FileMapFlags contain flag values for use with Map().
- */
-[assert_size(4)]
- enum PP_FileMapFlags {
- /**
- * Requests a shared mapping. If this flag is set, changes written to the
- * memory region will be reflected in the underlying file and will thus
- * eventually be visible to other processes which have opened the file. The
- * file may not actually be updated until Unmap() is called. This is only
- * valid if the PPB_FileIO resource was opened with write permission.
- */
- PP_FILEMAPFLAG_SHARED = 1u << 0,
-
- /**
- * Requests a copy-on-write mapping. If this flag is set, changes are not
- * written to the underlying file, but only in the memory of the process
- * (copy-on-write).
- */
- PP_FILEMAPFLAG_PRIVATE = 1u << 1,
-
- /**
- * Forces Map() to map the file contents at the provided |address|. If Map()
- * can not comply, Map() will fail.
- */
- PP_FILEMAPFLAG_FIXED = 1u << 2
-};
-
-/**
- * PPB_FileIO_Dev contains functions that are usable with PPB_FileIO resources
- * but aren't yet considered stable yet and thus are not supported for general
- * NaCl or PNaCl apps yet. Features here are being tested and refined for
- * possible future inclusion in (stable) PPB_FileIO.
- */
-interface PPB_FileIO_Dev {
- /**
- * Map() maps the contents from an offset of the file into memory.
- *
- * @param[in] file_io A PP_Resource corresponding to a file.
- * @param[in] length The number of bytes to map.
- * @param[in] map_protection A bitfield containing values from
- * PP_FileMapProtection, indicating what memory operations should be permitted
- * on the mapped region.
- * @param[in] map_flags A bitfield containing values from
- * PP_FileMapFlags, providing options for the behavior of Map. If the region
- * is to be writeable, then exactly one of PP_FILEMAPFLAG_SHARED or
- * PP_FILEMAPFLAG_PRIVATE must be set.
- * @param[in] offset The offset into the file. Must be a multiple of the
- * Map page size as returned by GetMapPageSize.
- * @param[inout] address The value of |*address|, if non-NULL, will be used as
- * a hint to determine where in memory the file should be mapped. If the value
- * is NULL, the host operating system will choose |address|. Upon
- * Map() completing, |*address| will contain the actual memory location at
- * which the file was mapped. If the plugin provides a non-NULL |*address|, it
- * must be a multiple of the map page size as returned by GetMapPageSize().
- * @param[in] callback A PP_CompletionCallback to be called upon
- * completion of Map().
- *
- * @return An int32_t containing an error code from <code>pp_errors.h</code>.
- */
- int32_t Map([in] PP_Resource file_io,
- [in] int64_t length,
- [in] uint32_t map_protection,
- [in] uint32_t map_flags,
- [in] int64_t offset,
- [inout] mem_ptr_t address,
- [in] PP_CompletionCallback callback);
-
- /**
- * Unmap() deletes the mapping of the specified address address to a
- * file io. The specified address must have been retrieved with
- * Map().
- * @param[in] file_io A PP_Resource corresponding to a file.
- * @param[in] address The starting address of the address in memory to
- * be unmapped.
- * @param[in] length The length of the region to unmap.
- */
- void Unmap(PP_Resource file_io, mem_t address, int64_t length);
-
- /**
- * GetMapPageSize() returns the size of pages that Map() uses. Returns 0 on
- * failure.
- */
- [on_failure=0]
- int64_t GetMapPageSize(PP_Resource file_io);
-};
-
diff --git a/chromium/ppapi/api/dev/ppb_find_dev.idl b/chromium/ppapi/api/dev/ppb_find_dev.idl
deleted file mode 100644
index 4f92f1ce971..00000000000
--- a/chromium/ppapi/api/dev/ppb_find_dev.idl
+++ /dev/null
@@ -1,35 +0,0 @@
-/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/**
- * This file defines the <code>PPB_Find_Dev</code> interface.
- */
-
-[generate_thunk]
-
-label Chrome {
- M14 = 0.3
-};
-
-interface PPB_Find_Dev {
- /**
- * Updates the number of find results for the current search term. If
- * there are no matches 0 should be passed in. Only when the plugin has
- * finished searching should it pass in the final count with final_result set
- * to PP_TRUE.
- */
- void NumberOfFindResultsChanged(
- [in] PP_Instance instance,
- [in] int32_t total,
- [in] PP_Bool final_result);
-
- /**
- * Updates the index of the currently selected search item.
- */
- void SelectedFindResultChanged(
- [in] PP_Instance instance,
- [in] int32_t index);
-};
-
diff --git a/chromium/ppapi/api/dev/ppb_graphics_2d_dev.idl b/chromium/ppapi/api/dev/ppb_graphics_2d_dev.idl
deleted file mode 100644
index 28a844416a6..00000000000
--- a/chromium/ppapi/api/dev/ppb_graphics_2d_dev.idl
+++ /dev/null
@@ -1,96 +0,0 @@
-/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/* This file contains the <code>PPB_Graphics2D_Dev</code> interface. */
-
-[generate_thunk]
-
-label Chrome {
- M22 = 0.1,
- M32 = 0.2
-};
-
-/**
- * These options affect how the existing graphics context is displayed when a
- * plugin is resized.
- */
-[assert_size(4)]
-enum PP_Graphics2D_Dev_ResizeMode {
- /**
- * In this mode, the context does not change size or offset. If the backing
- * store is the same size as the plugin element, this will result in the
- * pixels on the right side of the plugin element being unavailable, revealing
- * the contents underneath it.
- */
- PP_GRAPHICS2D_DEV_RESIZEMODE_DEFAULT,
- /**
- * In this mode, the context and its offset are scaled relative to how much
- * the plugin element has been resized.
- */
- PP_GRAPHICS2D_DEV_RESIZEMODE_STRETCH
-};
-
-/* PPB_Graphics2D_Dev interface */
-interface PPB_Graphics2D_Dev {
- /**
- * SetScale() sets the scale factor that will be applied when painting the
- * graphics context onto the output device. Typically, if rendering at device
- * resolution is desired, the context would be created with the width and
- * height scaled up by the view's GetDeviceScale and SetScale called with a
- * scale of 1.0 / GetDeviceScale(). For example, if the view resource passed
- * to DidChangeView has a rectangle of (w=200, h=100) and a device scale of
- * 2.0, one would call Create with a size of (w=400, h=200) and then call
- * SetScale with 0.5. One would then treat each pixel in the context as a
- * single device pixel.
- *
- * @param[in] resource A <code>Graphics2D</code> context resource.
- * @param[in] scale The scale to apply when painting.
- *
- * @return Returns <code>PP_TRUE</code> on success or <code>PP_FALSE</code> if
- * the resource is invalid or the scale factor is 0 or less.
- */
- PP_Bool SetScale(
- [in] PP_Resource resource,
- [in] float_t scale);
-
- /***
- * GetScale() gets the scale factor that will be applied when painting the
- * graphics context onto the output device.
- *
- * @param[in] resource A <code>Graphics2D</code> context resource.
- *
- * @return Returns the scale factor for the graphics context. If the resource
- * is not a valid <code>Graphics2D</code> context, this will return 0.0.
- */
- float_t GetScale(
- [in] PP_Resource resource);
-
- /***
- * Sets the offset into the plugin element at which the graphics context is
- * painted. This allows a portion of the plugin element to be painted to.
- * The new offset will only be applied after Flush() has been called.
- *
- * @param[in] resource A <code>Graphics2D</code> context resource.
- * @param[in] offset The offset at which the context should be painted.
- */
- [version=0.2]
- void SetOffset(
- [in] PP_Resource resource,
- [in] PP_Point offset);
-
- /***
- * Sets the resize mode for the graphics context. When a plugin element is
- * resized in the DOM, it takes time for the plugin to update the graphics
- * context in the renderer. These options affect how the existing context is
- * displayed until the backing store is updated by the plugin.
- *
- * @param[in] resource A <code>Graphics2D</code> context resource.
- * @param[in] resize_mode The resize mode to change this context to.
- */
- void SetResizeMode(
- [in] PP_Resource resource,
- [in] PP_Graphics2D_Dev_ResizeMode resize_mode);
-};
-
diff --git a/chromium/ppapi/api/dev/ppb_keyboard_input_event_dev.idl b/chromium/ppapi/api/dev/ppb_keyboard_input_event_dev.idl
deleted file mode 100644
index 0612b99411d..00000000000
--- a/chromium/ppapi/api/dev/ppb_keyboard_input_event_dev.idl
+++ /dev/null
@@ -1,60 +0,0 @@
-/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/**
- * This file defines the <code>PPB_KeyboardInputEvent_Dev</code> interface,
- * which provides access to USB key codes that identify the physical key being
- * pressed.
- */
-
-label Chrome {
- M31 = 0.2
-};
-
-/**
- * The <code>PPB_KeyboardInputEvent_Dev</code> interface is an extension to the
- * PPB_KeyboardInputEvent</code> interface that provides
- */
-[macro="PPB_KEYBOARD_INPUT_EVENT_DEV_INTERFACE"]
-interface PPB_KeyboardInputEvent_Dev {
- /**
- * This sets a USB key code in the given <code>PP_Resource</code>. It is
- * intended that this method be called immediately after any call to
- * <code>Create</code>.
- *
- * @param[in] key_event A <code>PP_Resource</code> created by
- * <code>PPB_KeyboardInputEvent</code>'s <code>Create</code> method.
- *
- * @param[in] usb_key_code The USB key code to associate with this
- * <code>key_event</code>.
- *
- * @return <code>PP_TRUE</code> if the USB key code was set successfully.
- */
- PP_Bool SetUsbKeyCode([in] PP_Resource key_event,
- [in] uint32_t usb_key_code);
-
- /**
- * GetUsbKeyCode() returns the USB key code associated with this keyboard
- * event.
- *
- * @param[in] key_event The key event for which to return the key code.
- *
- * @return The USB key code field for the keyboard event. If there is no
- * USB scancode associated with this event, or if the PP_Resource does not
- * support the PPB_InputEvent_API (i.e., it is not an input event), then
- * a 0 is returned.
- */
- uint32_t GetUsbKeyCode([in] PP_Resource key_event);
-
- /**
- * GetCode() returns the DOM |code| field for this keyboard event, as
- * defined by the UI Events spec: http://www.w3.org/TR/uievents/
- *
- * @param[in] key_event The key event for which to return the key code.
- *
- * @return The string that contains the DOM |code| for the keyboard event.
- */
- PP_Var GetCode([in] PP_Resource key_event);
-};
diff --git a/chromium/ppapi/api/dev/ppb_resource_array_dev.idl b/chromium/ppapi/api/dev/ppb_resource_array_dev.idl
deleted file mode 100644
index b7497b23735..00000000000
--- a/chromium/ppapi/api/dev/ppb_resource_array_dev.idl
+++ /dev/null
@@ -1,68 +0,0 @@
-/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/**
- * This file defines the <code>PPB_ResourceArray_Dev</code> interface.
- */
-
-[generate_thunk]
-
-label Chrome {
- M18 = 0.1
-};
-
-/**
- * A resource array holds a list of resources and retains a reference to each of
- * them.
- */
-interface PPB_ResourceArray_Dev {
- /**
- * Creates a resource array.
- * Note: It will add a reference to each of the elements.
- *
- * @param[in] elements <code>PP_Resource</code>s to be stored in the created
- * resource array.
- * @param[in] size The number of elements.
- *
- * @return A <code>PP_Resource</code> corresponding to a resource array if
- * successful; 0 if failed.
- */
- PP_Resource Create([in] PP_Instance instance,
- [in, size_as=size] PP_Resource[] elements,
- [in] uint32_t size);
-
- /**
- * Determines if the provided resource is a resource array.
- *
- * @param[in] resource A <code>PP_Resource</code> corresponding to a generic
- * resource.
- *
- * @return A <code>PP_Bool</code> that is <code>PP_TRUE</code> if the given
- * resource is a resource array, otherwise <code>PP_FALSE</code>.
- */
- PP_Bool IsResourceArray([in] PP_Resource resource);
-
- /**
- * Gets the array size.
- *
- * @param[in] resource_array The resource array.
- *
- * @return How many elements are there in the array.
- */
- uint32_t GetSize([in] PP_Resource resource_array);
-
- /**
- * Gets the element at the specified position.
- * Note: It doesn't add a reference to the returned resource for the caller.
- *
- * @param[in] resource_array The resource array.
- * @param[in] index An integer indicating a position in the array.
- *
- * @return A <code>PP_Resource</code>. Returns 0 if the index is out of range.
- */
- PP_Resource GetAt(
- [in] PP_Resource resource_array,
- [in] uint32_t index);
-};
diff --git a/chromium/ppapi/api/dev/ppb_var_resource_dev.idl b/chromium/ppapi/api/dev/ppb_var_resource_dev.idl
deleted file mode 100644
index 2e5a6f307cc..00000000000
--- a/chromium/ppapi/api/dev/ppb_var_resource_dev.idl
+++ /dev/null
@@ -1,38 +0,0 @@
-/* Copyright 2013 The Chromium Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/**
- * This file defines the <code>PPB_VarResource</code> struct providing
- * a way to interact with resource vars.
- */
-
-label Chrome {
- M32 = 0.1
-};
-
-[macro="PPB_VAR_RESOURCE_DEV_INTERFACE"]
-interface PPB_VarResource_Dev {
- /**
- * Converts a resource-type var to a <code>PP_Resource</code>.
- *
- * @param[in] var A <code>PP_Var</code> struct containing a resource-type var.
- *
- * @return A <code>PP_Resource</code> retrieved from the var, or 0 if the var
- * is not a resource. The reference count of the resource is incremented on
- * behalf of the caller.
- */
- PP_Resource VarToResource([in] PP_Var var);
-
- /**
- * Creates a new <code>PP_Var</code> from a given resource.
- *
- * @param[in] resource A <code>PP_Resource</code> to be wrapped in a var.
- *
- * @return A <code>PP_Var</code> created for this resource, with type
- * <code>PP_VARTYPE_RESOURCE</code>. The reference count of the var is set to
- * 1 on behalf of the caller.
- */
- PP_Var VarFromResource([in] PP_Resource resource);
-};
diff --git a/chromium/ppapi/api/dev/ppb_video_capture_dev.idl b/chromium/ppapi/api/dev/ppb_video_capture_dev.idl
index 89379608624..a05374a4107 100644
--- a/chromium/ppapi/api/dev/ppb_video_capture_dev.idl
+++ b/chromium/ppapi/api/dev/ppb_video_capture_dev.idl
@@ -7,7 +7,6 @@
* This file defines the <code>PPB_VideoCapture_Dev</code> interface.
*/
label Chrome {
- M19 = 0.2,
M25 = 0.3
};
@@ -54,25 +53,6 @@ interface PPB_VideoCapture_Dev {
[in] PP_Resource video_capture);
/**
- * Enumerates video capture devices. Once the operation is completed
- * successfully, |devices| will be set to a PPB_ResourceArray_Dev resource,
- * which holds a list of PPB_DeviceRef_Dev resources.
- *
- * Please note that:
- * - this method ignores the previous value pointed to by |devices| (won't
- * release reference even if it is not 0);
- * - |devices| must be valid until |callback| is called, if the method
- * returns PP_OK_COMPLETIONPENDING;
- * - the ref count of the returned |devices| has already been increased by 1
- * for the caller.
- */
- [deprecate=0.3]
- int32_t EnumerateDevices(
- [in] PP_Resource video_capture,
- [out] PP_Resource devices,
- [in] PP_CompletionCallback callback);
-
- /**
* Enumerates video capture devices.
*
* @param[in] video_capture A <code>PP_Resource</code> corresponding to a