OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 [Replaceable] readonly attribute double devicePixelRatio; | 65 [Replaceable] readonly attribute double devicePixelRatio; |
66 | 66 |
67 // This is the interface orientation in degrees. Some examples are: | 67 // This is the interface orientation in degrees. Some examples are: |
68 // 0 is straight up; -90 is when the device is rotated 90 clockwise; | 68 // 0 is straight up; -90 is when the device is rotated 90 clockwise; |
69 // 90 is when rotated counter clockwise. | 69 // 90 is when rotated counter clockwise. |
70 readonly attribute long orientation; | 70 readonly attribute long orientation; |
71 | 71 |
72 long requestAnimationFrame(RequestAnimationFrameCallback callback); | 72 long requestAnimationFrame(RequestAnimationFrameCallback callback); |
73 void cancelAnimationFrame(long id); | 73 void cancelAnimationFrame(long id); |
74 | 74 |
| 75 readonly attribute Tracing tracing; |
| 76 |
75 // [Replaceable] readonly attribute CSS CSS; | 77 // [Replaceable] readonly attribute CSS CSS; |
76 }; | 78 }; |
77 | 79 |
78 Window implements WindowBase64; | 80 Window implements WindowBase64; |
79 Window implements WindowTimers; | 81 Window implements WindowTimers; |
OLD | NEW |