- From: Tran, Dzung D <dzung.d.tran@intel.com>
- Date: Tue, 23 Mar 2010 15:56:03 -0700
- To: Max Froumentin <maxfro@opera.com>
- CC: "public-device-apis@w3.org" <public-device-apis@w3.org>
The attribute orientation, brightness, contrast and blanked should be "readonly".
[NoInterfaceObject]
interface Display : Screen, OutputDevice {
const unsigned short ORIENTATION_UNKNOWN = 0;
const unsigned short ORIENTATION_LANDSCAPE = 1;
const unsigned short ORIENTATION_PORTRAIT = 2;
const unsigned short ORIENTATION_INVERTED_LANDSCAPE = 3;
const unsigned short ORIENTATION_INVERTED_PORTRAIT = 4;
attribute unsigned short orientation;
attribute float brightness;
attribute float contrast;
attribute boolean blanked;
readonly attribute unsigned long dotsPerInchW;
readonly attribute unsigned long dotsPerInchH;
readonly attribute float physicalWidth;
readonly attribute float physicalHeight;
};
Thanks
Dzung Tran
Received on Tuesday, 23 March 2010 22:56:37 UTC