Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(358)

Unified Diff: Source/bindings/tests/idls/TestObjectPython.idl

Issue 24257003: IDL compiler: Types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix copyright + license Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/scripts/unstable/v8_types.py ('k') | Source/bindings/tests/results/V8TestObjectPython.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/TestObjectPython.idl
diff --git a/Source/core/platform/graphics/SourceBufferPrivate.h b/Source/bindings/tests/idls/TestObjectPython.idl
similarity index 69%
copy from Source/core/platform/graphics/SourceBufferPrivate.h
copy to Source/bindings/tests/idls/TestObjectPython.idl
index f3bf4a94449d8acb67c03b887aafdd894b536e91..9f1a757c84ef6b01ac853a9a1289e4c47b9d8c21 100644
--- a/Source/core/platform/graphics/SourceBufferPrivate.h
+++ b/Source/bindings/tests/idls/TestObjectPython.idl
@@ -27,28 +27,18 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SourceBufferPrivate_h
-#define SourceBufferPrivate_h
-#include "core/html/TimeRanges.h"
-
-namespace WebCore {
-
-class SourceBufferPrivate {
-public:
- SourceBufferPrivate() { }
- virtual ~SourceBufferPrivate() { }
-
- virtual PassRefPtr<TimeRanges> buffered() = 0;
- virtual void append(const unsigned char* data, unsigned length) = 0;
- virtual void abort() = 0;
- virtual void remove(double start, double end) = 0;
- virtual bool setTimestampOffset(double) = 0;
- virtual void setAppendWindowStart(double) = 0;
- virtual void setAppendWindowEnd(double) = 0;
- virtual void removedFromMediaSource() = 0;
+interface TestObjectPython {
+ readonly attribute Date readOnlyDateAttribute;
+ readonly attribute boolean readOnlyBooleanAttribute;
+ readonly attribute byte readOnlyByteAttribute;
+ readonly attribute double readOnlyDoubleAttribute;
+ readonly attribute float readOnlyFloatAttribute;
+ readonly attribute long readOnlyLongAttribute;
+ readonly attribute long long readOnlyLongLongAttribute;
+ readonly attribute octet readOnlyOctetAttribute;
+ readonly attribute short readOnlyShortAttribute;
+ readonly attribute unsigned long readOnlyUnsignedLongAttribute;
+ readonly attribute unsigned long long readOnlyUnsignedLongLongAttribute;
+ readonly attribute unsigned short readOnlyUnsignedShortAttribute;
};
-
-}
-
-#endif
« no previous file with comments | « Source/bindings/scripts/unstable/v8_types.py ('k') | Source/bindings/tests/results/V8TestObjectPython.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698