| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 String status() const override; | 111 String status() const override; |
| 112 void setStatus(const String&) override; | 112 void setStatus(const String&) override; |
| 113 String defaultStatus() const override; | 113 String defaultStatus() const override; |
| 114 void setDefaultStatus(const String&) override; | 114 void setDefaultStatus(const String&) override; |
| 115 Document* document() const override; | 115 Document* document() const override; |
| 116 StyleMedia* styleMedia() const override; | 116 StyleMedia* styleMedia() const override; |
| 117 double devicePixelRatio() const override; | 117 double devicePixelRatio() const override; |
| 118 ApplicationCache* applicationCache() const override; | 118 ApplicationCache* applicationCache() const override; |
| 119 int orientation() const override; | 119 int orientation() const override; |
| 120 Console* console() const override; | 120 Console* console() const override; |
| 121 DOMWindowCSS* css() const override; | |
| 122 DOMSelection* getSelection() override; | 121 DOMSelection* getSelection() override; |
| 123 void focus(ExecutionContext*) override; | 122 void focus(ExecutionContext*) override; |
| 124 void blur() override; | 123 void blur() override; |
| 125 void close(ExecutionContext*) override; | 124 void close(ExecutionContext*) override; |
| 126 void print() override; | 125 void print() override; |
| 127 void stop() override; | 126 void stop() override; |
| 128 void alert(const String& message = String()) override; | 127 void alert(const String& message = String()) override; |
| 129 bool confirm(const String& message) override; | 128 bool confirm(const String& message) override; |
| 130 String prompt(const String& message, const String& defaultValue) override; | 129 String prompt(const String& message, const String& defaultValue) override; |
| 131 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool
wholeWord, bool searchInFrames, bool showDialog) const override; | 130 bool find(const String&, bool caseSensitive, bool backwards, bool wrap, bool
wholeWord, bool searchInFrames, bool showDialog) const override; |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 mutable RefPtrWillBeMember<BarProp> m_toolbar; | 263 mutable RefPtrWillBeMember<BarProp> m_toolbar; |
| 265 mutable PersistentWillBeMember<Console> m_console; | 264 mutable PersistentWillBeMember<Console> m_console; |
| 266 mutable PersistentWillBeMember<Navigator> m_navigator; | 265 mutable PersistentWillBeMember<Navigator> m_navigator; |
| 267 mutable RefPtrWillBeMember<StyleMedia> m_media; | 266 mutable RefPtrWillBeMember<StyleMedia> m_media; |
| 268 | 267 |
| 269 String m_status; | 268 String m_status; |
| 270 String m_defaultStatus; | 269 String m_defaultStatus; |
| 271 | 270 |
| 272 mutable RefPtrWillBeMember<ApplicationCache> m_applicationCache; | 271 mutable RefPtrWillBeMember<ApplicationCache> m_applicationCache; |
| 273 | 272 |
| 274 mutable RefPtrWillBeMember<DOMWindowCSS> m_css; | |
| 275 | |
| 276 RefPtrWillBeMember<DOMWindowEventQueue> m_eventQueue; | 273 RefPtrWillBeMember<DOMWindowEventQueue> m_eventQueue; |
| 277 RefPtr<SerializedScriptValue> m_pendingStateObject; | 274 RefPtr<SerializedScriptValue> m_pendingStateObject; |
| 278 | 275 |
| 279 WillBeHeapHashSet<OwnPtrWillBeMember<PostMessageTimer>> m_postMessageTimers; | 276 WillBeHeapHashSet<OwnPtrWillBeMember<PostMessageTimer>> m_postMessageTimers; |
| 280 }; | 277 }; |
| 281 | 278 |
| 282 DEFINE_TYPE_CASTS(LocalDOMWindow, DOMWindow, x, x->isLocalDOMWindow(), x.isLocal
DOMWindow()); | 279 DEFINE_TYPE_CASTS(LocalDOMWindow, DOMWindow, x, x->isLocalDOMWindow(), x.isLocal
DOMWindow()); |
| 283 | 280 |
| 284 inline String LocalDOMWindow::status() const | 281 inline String LocalDOMWindow::status() const |
| 285 { | 282 { |
| 286 return m_status; | 283 return m_status; |
| 287 } | 284 } |
| 288 | 285 |
| 289 inline String LocalDOMWindow::defaultStatus() const | 286 inline String LocalDOMWindow::defaultStatus() const |
| 290 { | 287 { |
| 291 return m_defaultStatus; | 288 return m_defaultStatus; |
| 292 } | 289 } |
| 293 | 290 |
| 294 } // namespace blink | 291 } // namespace blink |
| 295 | 292 |
| 296 #endif // LocalDOMWindow_h | 293 #endif // LocalDOMWindow_h |
| OLD | NEW |