| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 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 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1083 | 1083 |
| 1084 void LocalDOMWindow::setName(const AtomicString& name) { | 1084 void LocalDOMWindow::setName(const AtomicString& name) { |
| 1085 if (!isCurrentlyDisplayedInFrame()) | 1085 if (!isCurrentlyDisplayedInFrame()) |
| 1086 return; | 1086 return; |
| 1087 | 1087 |
| 1088 if (name == frame()->tree().name()) | 1088 if (name == frame()->tree().name()) |
| 1089 return; | 1089 return; |
| 1090 | 1090 |
| 1091 frame()->tree().setName(name); | 1091 frame()->tree().setName(name); |
| 1092 ASSERT(frame()->loader().client()); | 1092 ASSERT(frame()->loader().client()); |
| 1093 frame()->loader().client()->didChangeName(name, frame()->tree().uniqueName()); | 1093 frame()->loader().client()->didChangeName(name); |
| 1094 } | 1094 } |
| 1095 | 1095 |
| 1096 void LocalDOMWindow::setStatus(const String& string) { | 1096 void LocalDOMWindow::setStatus(const String& string) { |
| 1097 m_status = string; | 1097 m_status = string; |
| 1098 | 1098 |
| 1099 if (!frame()) | 1099 if (!frame()) |
| 1100 return; | 1100 return; |
| 1101 | 1101 |
| 1102 Page* page = frame()->page(); | 1102 Page* page = frame()->page(); |
| 1103 if (!page) | 1103 if (!page) |
| (...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1642 DOMWindow::trace(visitor); | 1642 DOMWindow::trace(visitor); |
| 1643 Supplementable<LocalDOMWindow>::trace(visitor); | 1643 Supplementable<LocalDOMWindow>::trace(visitor); |
| 1644 } | 1644 } |
| 1645 | 1645 |
| 1646 DEFINE_TRACE_WRAPPERS(LocalDOMWindow) { | 1646 DEFINE_TRACE_WRAPPERS(LocalDOMWindow) { |
| 1647 visitor->traceWrappers(m_customElements); | 1647 visitor->traceWrappers(m_customElements); |
| 1648 DOMWindow::traceWrappers(visitor); | 1648 DOMWindow::traceWrappers(visitor); |
| 1649 } | 1649 } |
| 1650 | 1650 |
| 1651 } // namespace blink | 1651 } // namespace blink |
| OLD | NEW |