Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 1455943002: [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999 Lars Knoll <knoll@kde.org> 3 * 1999 Lars Knoll <knoll@kde.org>
4 * 1999 Antti Koivisto <koivisto@kde.org> 4 * 1999 Antti Koivisto <koivisto@kde.org>
5 * 2000 Simon Hausmann <hausmann@kde.org> 5 * 2000 Simon Hausmann <hausmann@kde.org>
6 * 2000 Stefan Schimanski <1Stein@gmx.de> 6 * 2000 Stefan Schimanski <1Stein@gmx.de>
7 * 2001 George Staikos <staikos@kde.org> 7 * 2001 George Staikos <staikos@kde.org>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> 9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com>
10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 Document* LocalFrame::document() const 431 Document* LocalFrame::document() const
432 { 432 {
433 return m_domWindow ? m_domWindow->document() : nullptr; 433 return m_domWindow ? m_domWindow->document() : nullptr;
434 } 434 }
435 435
436 void LocalFrame::setPagePopupOwner(Element& owner) 436 void LocalFrame::setPagePopupOwner(Element& owner)
437 { 437 {
438 m_pagePopupOwner = &owner; 438 m_pagePopupOwner = &owner;
439 } 439 }
440 440
441 Element* LocalFrame::pagePopupOwner() const
442 {
443 return m_pagePopupOwner.get();
444 }
445
446 LocalDOMWindow* LocalFrame::localDOMWindow() const
447 {
448 return m_domWindow.get();
449 }
450
441 LayoutView* LocalFrame::contentLayoutObject() const 451 LayoutView* LocalFrame::contentLayoutObject() const
442 { 452 {
443 return document() ? document()->layoutView() : nullptr; 453 return document() ? document()->layoutView() : nullptr;
444 } 454 }
445 455
446 void LocalFrame::didChangeVisibilityState() 456 void LocalFrame::didChangeVisibilityState()
447 { 457 {
448 if (document()) 458 if (document())
449 document()->didChangeVisibilityState(); 459 document()->didChangeVisibilityState();
450 460
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 if (!context) 913 if (!context)
904 return; 914 return;
905 915
906 WebSecurityOrigin securityOrigin(context->securityOrigin()); 916 WebSecurityOrigin securityOrigin(context->securityOrigin());
907 frameScheduler()->setFrameOrigin(&securityOrigin); 917 frameScheduler()->setFrameOrigin(&securityOrigin);
908 } 918 }
909 919
910 DEFINE_WEAK_IDENTIFIER_MAP(LocalFrame); 920 DEFINE_WEAK_IDENTIFIER_MAP(LocalFrame);
911 921
912 } // namespace blink 922 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698