mirror of
https://github.com/servo/servo
synced 2026-04-29 02:47:55 +02:00
17 lines
437 B
Plaintext
17 lines
437 B
Plaintext
// Extracted from http://dev.w3.org/2006/webapi/WebIDL/ on 2011-05-06
|
|
interface Dimensions {
|
|
attribute unsigned long width;
|
|
attribute unsigned long height;
|
|
};
|
|
|
|
exception NoPointerDevice { };
|
|
|
|
interface Button {
|
|
|
|
// An operation that takes no arguments, returns a boolean
|
|
boolean isMouseOver();
|
|
|
|
// Overloaded operations.
|
|
void setDimensions(Dimensions size);
|
|
void setDimensions(unsigned long width, unsigned long height);
|
|
}; |