OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/dom/ContextLifecycleObserver.h" | 5 #include "core/dom/ContextLifecycleObserver.h" |
6 | 6 |
7 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
8 #include "core/frame/LocalDOMWindow.h" | 8 #include "core/frame/LocalDOMWindow.h" |
9 #include "core/frame/LocalFrame.h" | 9 #include "core/frame/LocalFrame.h" |
10 | 10 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 return dom_window_ && dom_window_->GetFrame() ? dom_window_ : nullptr; | 48 return dom_window_ && dom_window_->GetFrame() ? dom_window_ : nullptr; |
49 } | 49 } |
50 | 50 |
51 LocalFrame* DOMWindowClient::GetFrame() const { | 51 LocalFrame* DOMWindowClient::GetFrame() const { |
52 return dom_window_ ? dom_window_->GetFrame() : nullptr; | 52 return dom_window_ ? dom_window_->GetFrame() : nullptr; |
53 } | 53 } |
54 | 54 |
55 DEFINE_TRACE(DOMWindowClient) { | 55 DEFINE_TRACE(DOMWindowClient) { |
56 visitor->Trace(dom_window_); | 56 visitor->Trace(dom_window_); |
57 } | 57 } |
58 } | 58 } // namespace blink |
OLD | NEW |