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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 String status() const override; | 105 String status() const override; |
106 void setStatus(const String&) override; | 106 void setStatus(const String&) override; |
107 String defaultStatus() const override; | 107 String defaultStatus() const override; |
108 void setDefaultStatus(const String&) override; | 108 void setDefaultStatus(const String&) override; |
109 Document* document() const override; | 109 Document* document() const override; |
110 StyleMedia* styleMedia() const override; | 110 StyleMedia* styleMedia() const override; |
111 double devicePixelRatio() const override; | 111 double devicePixelRatio() const override; |
112 ApplicationCache* applicationCache() const override; | 112 ApplicationCache* applicationCache() const override; |
113 int orientation() const override; | 113 int orientation() const override; |
114 Console* console() const override; | 114 Console* console() const override; |
115 Performance* performance() const override; | |
116 DOMWindowCSS* css() const override; | 115 DOMWindowCSS* css() const override; |
117 DOMSelection* getSelection() override; | 116 DOMSelection* getSelection() override; |
118 void focus(ExecutionContext*) override; | 117 void focus(ExecutionContext*) override; |
119 void blur() override; | 118 void blur() override; |
120 void close(ExecutionContext*) override; | 119 void close(ExecutionContext*) override; |
121 void print() override; | 120 void print() override; |
122 void stop() override; | 121 void stop() override; |
123 void alert(const String& message = String()) override; | 122 void alert(const String& message = String()) override; |
124 bool confirm(const String& message) override; | 123 bool confirm(const String& message) override; |
125 String prompt(const String& message, const String& defaultValue) override; | 124 String prompt(const String& message, const String& defaultValue) override; |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 mutable RefPtrWillBeMember<BarProp> m_toolbar; | 287 mutable RefPtrWillBeMember<BarProp> m_toolbar; |
289 mutable RefPtrWillBeMember<Console> m_console; | 288 mutable RefPtrWillBeMember<Console> m_console; |
290 mutable RefPtrWillBeMember<Navigator> m_navigator; | 289 mutable RefPtrWillBeMember<Navigator> m_navigator; |
291 mutable RefPtrWillBeMember<StyleMedia> m_media; | 290 mutable RefPtrWillBeMember<StyleMedia> m_media; |
292 | 291 |
293 String m_status; | 292 String m_status; |
294 String m_defaultStatus; | 293 String m_defaultStatus; |
295 | 294 |
296 mutable RefPtrWillBeMember<ApplicationCache> m_applicationCache; | 295 mutable RefPtrWillBeMember<ApplicationCache> m_applicationCache; |
297 | 296 |
298 mutable RefPtrWillBeMember<Performance> m_performance; | |
299 | |
300 mutable RefPtrWillBeMember<DOMWindowCSS> m_css; | 297 mutable RefPtrWillBeMember<DOMWindowCSS> m_css; |
301 | 298 |
302 RefPtrWillBeMember<DOMWindowEventQueue> m_eventQueue; | 299 RefPtrWillBeMember<DOMWindowEventQueue> m_eventQueue; |
303 RefPtr<SerializedScriptValue> m_pendingStateObject; | 300 RefPtr<SerializedScriptValue> m_pendingStateObject; |
304 | 301 |
305 WillBeHeapHashSet<OwnPtrWillBeMember<PostMessageTimer>> m_postMessageTimers; | 302 WillBeHeapHashSet<OwnPtrWillBeMember<PostMessageTimer>> m_postMessageTimers; |
306 }; | 303 }; |
307 | 304 |
308 DEFINE_TYPE_CASTS(LocalDOMWindow, DOMWindow, x, x->isLocalDOMWindow(), x.isLocal
DOMWindow()); | 305 DEFINE_TYPE_CASTS(LocalDOMWindow, DOMWindow, x, x->isLocalDOMWindow(), x.isLocal
DOMWindow()); |
309 | 306 |
310 inline String LocalDOMWindow::status() const | 307 inline String LocalDOMWindow::status() const |
311 { | 308 { |
312 return m_status; | 309 return m_status; |
313 } | 310 } |
314 | 311 |
315 inline String LocalDOMWindow::defaultStatus() const | 312 inline String LocalDOMWindow::defaultStatus() const |
316 { | 313 { |
317 return m_defaultStatus; | 314 return m_defaultStatus; |
318 } | 315 } |
319 | 316 |
320 } // namespace blink | 317 } // namespace blink |
321 | 318 |
322 #endif // LocalDOMWindow_h | 319 #endif // LocalDOMWindow_h |
OLD | NEW |