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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 [Replaceable] readonly attribute CSS CSS; | 75 [Replaceable] readonly attribute CSS CSS; |
76 | |
77 // FIXME(sky): can't remove w/o also removing hacks in bindings generator. | |
78 [Custom, NotEnumerable] getter Window (DOMString name); | |
79 }; | 76 }; |
80 | 77 |
81 Window implements WindowBase64; | 78 Window implements WindowBase64; |
82 Window implements WindowTimers; | 79 Window implements WindowTimers; |
OLD | NEW |