OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 int screenTop() const { return screenY(); } | 171 int screenTop() const { return screenY(); } |
172 int scrollX() const; | 172 int scrollX() const; |
173 int scrollY() const; | 173 int scrollY() const; |
174 int pageXOffset() const { return scrollX(); } | 174 int pageXOffset() const { return scrollX(); } |
175 int pageYOffset() const { return scrollY(); } | 175 int pageYOffset() const { return scrollY(); } |
176 | 176 |
177 bool closed() const; | 177 bool closed() const; |
178 | 178 |
179 unsigned length() const; | 179 unsigned length() const; |
180 | 180 |
181 String name() const; | 181 const AtomicString& name() const; |
182 void setName(const String&); | 182 void setName(const AtomicString&); |
183 | 183 |
184 String status() const; | 184 String status() const; |
185 void setStatus(const String&); | 185 void setStatus(const String&); |
186 String defaultStatus() const; | 186 String defaultStatus() const; |
187 void setDefaultStatus(const String&); | 187 void setDefaultStatus(const String&); |
188 | 188 |
189 // Self-referential attributes | 189 // Self-referential attributes |
190 | 190 |
191 DOMWindow* self() const; | 191 DOMWindow* self() const; |
192 DOMWindow* window() const { return self(); } | 192 DOMWindow* window() const { return self(); } |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 } | 381 } |
382 | 382 |
383 inline String DOMWindow::defaultStatus() const | 383 inline String DOMWindow::defaultStatus() const |
384 { | 384 { |
385 return m_defaultStatus; | 385 return m_defaultStatus; |
386 } | 386 } |
387 | 387 |
388 } // namespace WebCore | 388 } // namespace WebCore |
389 | 389 |
390 #endif // DOMWindow_h | 390 #endif // DOMWindow_h |
OLD | NEW |