| OLD | NEW |
| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 #include "core/frame/LocalDOMWindow.h" | 47 #include "core/frame/LocalDOMWindow.h" |
| 48 #include "core/frame/Settings.h" | 48 #include "core/frame/Settings.h" |
| 49 #include "core/html/HTMLFrameElementBase.h" | 49 #include "core/html/HTMLFrameElementBase.h" |
| 50 #include "core/html/HTMLPlugInElement.h" | 50 #include "core/html/HTMLPlugInElement.h" |
| 51 #include "core/input/EventHandler.h" | 51 #include "core/input/EventHandler.h" |
| 52 #include "core/inspector/ConsoleMessageStorage.h" | 52 #include "core/inspector/ConsoleMessageStorage.h" |
| 53 #include "core/inspector/InspectorInstrumentation.h" | 53 #include "core/inspector/InspectorInstrumentation.h" |
| 54 #include "core/inspector/InstrumentingAgents.h" | 54 #include "core/inspector/InstrumentingAgents.h" |
| 55 #include "core/layout/HitTestResult.h" | 55 #include "core/layout/HitTestResult.h" |
| 56 #include "core/layout/LayoutView.h" | 56 #include "core/layout/LayoutView.h" |
| 57 #include "core/layout/api/LayoutViewItem.h" |
| 57 #include "core/layout/compositing/PaintLayerCompositor.h" | 58 #include "core/layout/compositing/PaintLayerCompositor.h" |
| 58 #include "core/loader/FrameLoadRequest.h" | 59 #include "core/loader/FrameLoadRequest.h" |
| 59 #include "core/loader/FrameLoaderClient.h" | 60 #include "core/loader/FrameLoaderClient.h" |
| 60 #include "core/loader/NavigationScheduler.h" | 61 #include "core/loader/NavigationScheduler.h" |
| 61 #include "core/page/ChromeClient.h" | 62 #include "core/page/ChromeClient.h" |
| 62 #include "core/page/FocusController.h" | 63 #include "core/page/FocusController.h" |
| 63 #include "core/page/Page.h" | 64 #include "core/page/Page.h" |
| 64 #include "core/page/scrolling/ScrollingCoordinator.h" | 65 #include "core/page/scrolling/ScrollingCoordinator.h" |
| 65 #include "core/paint/ObjectPainter.h" | 66 #include "core/paint/ObjectPainter.h" |
| 66 #include "core/paint/PaintInfo.h" | 67 #include "core/paint/PaintInfo.h" |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 void LocalFrame::setPagePopupOwner(Element& owner) | 445 void LocalFrame::setPagePopupOwner(Element& owner) |
| 445 { | 446 { |
| 446 m_pagePopupOwner = &owner; | 447 m_pagePopupOwner = &owner; |
| 447 } | 448 } |
| 448 | 449 |
| 449 LayoutView* LocalFrame::contentLayoutObject() const | 450 LayoutView* LocalFrame::contentLayoutObject() const |
| 450 { | 451 { |
| 451 return document() ? document()->layoutView() : nullptr; | 452 return document() ? document()->layoutView() : nullptr; |
| 452 } | 453 } |
| 453 | 454 |
| 455 LayoutViewItem LocalFrame::contentLayoutItem() const |
| 456 { |
| 457 return LayoutViewItem(contentLayoutObject()); |
| 458 } |
| 459 |
| 454 void LocalFrame::didChangeVisibilityState() | 460 void LocalFrame::didChangeVisibilityState() |
| 455 { | 461 { |
| 456 if (document()) | 462 if (document()) |
| 457 document()->didChangeVisibilityState(); | 463 document()->didChangeVisibilityState(); |
| 458 | 464 |
| 459 WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> childFrames; | 465 WillBeHeapVector<RefPtrWillBeMember<LocalFrame>> childFrames; |
| 460 for (Frame* child = tree().firstChild(); child; child = child->tree().nextSi
bling()) { | 466 for (Frame* child = tree().firstChild(); child; child = child->tree().nextSi
bling()) { |
| 461 if (child->isLocalFrame()) | 467 if (child->isLocalFrame()) |
| 462 childFrames.append(toLocalFrame(child)); | 468 childFrames.append(toLocalFrame(child)); |
| 463 } | 469 } |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 869 { | 875 { |
| 870 m_frame->disableNavigation(); | 876 m_frame->disableNavigation(); |
| 871 } | 877 } |
| 872 | 878 |
| 873 FrameNavigationDisabler::~FrameNavigationDisabler() | 879 FrameNavigationDisabler::~FrameNavigationDisabler() |
| 874 { | 880 { |
| 875 m_frame->enableNavigation(); | 881 m_frame->enableNavigation(); |
| 876 } | 882 } |
| 877 | 883 |
| 878 } // namespace blink | 884 } // namespace blink |
| OLD | NEW |