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

Unified Diff: Source/core/frame/Screen.idl

Issue 1145233006: Sync the Screen interface with CSSOM View (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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 | « no previous file | Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Screen.idl
diff --git a/Source/core/frame/Screen.idl b/Source/core/frame/Screen.idl
index 309d1c5cc743bcd6e40f7387aeda3364e1ba4c88..675d000890e1c57128ac089264d19666ab0a66e1 100644
--- a/Source/core/frame/Screen.idl
+++ b/Source/core/frame/Screen.idl
@@ -26,16 +26,20 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// http://dev.w3.org/csswg/cssom-view/#the-screen-interface
[
GarbageCollected,
] interface Screen {
- readonly attribute unsigned long height;
+ // TODO(philipj): availWidth/availHeight/width/height should not be unsigned.
+ readonly attribute unsigned long availWidth;
+ readonly attribute unsigned long availHeight;
readonly attribute unsigned long width;
+ readonly attribute unsigned long height;
readonly attribute unsigned long colorDepth;
readonly attribute unsigned long pixelDepth;
- readonly attribute long availLeft;
- readonly attribute long availTop;
- readonly attribute unsigned long availHeight;
- readonly attribute unsigned long availWidth;
+
+ // Non-standard
+ [Measure] readonly attribute long availLeft;
+ [Measure] readonly attribute long availTop;
};
« no previous file with comments | « no previous file | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698