| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 int innerWidth() const; | 139 int innerWidth() const; |
| 140 int screenX() const; | 140 int screenX() const; |
| 141 int screenY() const; | 141 int screenY() const; |
| 142 int screenLeft() const { return screenX(); } | 142 int screenLeft() const { return screenX(); } |
| 143 int screenTop() const { return screenY(); } | 143 int screenTop() const { return screenY(); } |
| 144 double scrollX() const; | 144 double scrollX() const; |
| 145 double scrollY() const; | 145 double scrollY() const; |
| 146 double pageXOffset() const { return scrollX(); } | 146 double pageXOffset() const { return scrollX(); } |
| 147 double pageYOffset() const { return scrollY(); } | 147 double pageYOffset() const { return scrollY(); } |
| 148 | 148 |
| 149 DOMVisualViewport* visualViewport(); | 149 DOMVisualViewport* view(); |
| 150 | 150 |
| 151 const AtomicString& name() const; | 151 const AtomicString& name() const; |
| 152 void setName(const AtomicString&); | 152 void setName(const AtomicString&); |
| 153 | 153 |
| 154 String status() const; | 154 String status() const; |
| 155 void setStatus(const String&); | 155 void setStatus(const String&); |
| 156 String defaultStatus() const; | 156 String defaultStatus() const; |
| 157 void setDefaultStatus(const String&); | 157 void setDefaultStatus(const String&); |
| 158 String origin() const; | 158 String origin() const; |
| 159 | 159 |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 bool IsRemoteDOMWindow() const override { return false; } | 337 bool IsRemoteDOMWindow() const override { return false; } |
| 338 void WarnUnusedPreloads(TimerBase*); | 338 void WarnUnusedPreloads(TimerBase*); |
| 339 | 339 |
| 340 explicit LocalDOMWindow(LocalFrame&); | 340 explicit LocalDOMWindow(LocalFrame&); |
| 341 void Dispose(); | 341 void Dispose(); |
| 342 | 342 |
| 343 void DispatchLoadEvent(); | 343 void DispatchLoadEvent(); |
| 344 void ClearDocument(); | 344 void ClearDocument(); |
| 345 | 345 |
| 346 Member<Document> document_; | 346 Member<Document> document_; |
| 347 Member<DOMVisualViewport> visual_viewport_; | 347 Member<DOMVisualViewport> view_; |
| 348 TaskRunnerTimer<LocalDOMWindow> unused_preloads_timer_; | 348 TaskRunnerTimer<LocalDOMWindow> unused_preloads_timer_; |
| 349 | 349 |
| 350 bool should_print_when_finished_loading_; | 350 bool should_print_when_finished_loading_; |
| 351 bool has_load_event_fired_ = false; | 351 bool has_load_event_fired_ = false; |
| 352 | 352 |
| 353 mutable Member<Screen> screen_; | 353 mutable Member<Screen> screen_; |
| 354 mutable Member<History> history_; | 354 mutable Member<History> history_; |
| 355 mutable Member<BarProp> locationbar_; | 355 mutable Member<BarProp> locationbar_; |
| 356 mutable Member<BarProp> menubar_; | 356 mutable Member<BarProp> menubar_; |
| 357 mutable Member<BarProp> personalbar_; | 357 mutable Member<BarProp> personalbar_; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 385 return status_; | 385 return status_; |
| 386 } | 386 } |
| 387 | 387 |
| 388 inline String LocalDOMWindow::defaultStatus() const { | 388 inline String LocalDOMWindow::defaultStatus() const { |
| 389 return default_status_; | 389 return default_status_; |
| 390 } | 390 } |
| 391 | 391 |
| 392 } // namespace blink | 392 } // namespace blink |
| 393 | 393 |
| 394 #endif // LocalDOMWindow_h | 394 #endif // LocalDOMWindow_h |
| OLD | NEW |