Commit 992d69ab authored by beidson@apple.com's avatar beidson@apple.com

https://bugs.webkit.org/show_bug.cgi?id=31079 - Remove #include "Page.h" from Document.h

Reviewed by Darin Adler.

No new tests. (No change in functionality)

* dom/Document.cpp:
(WebCore::Document::inspectorTimelineAgent): Moved from Document.h
* dom/Document.h:

Include "Page.h" directly:
* html/HTMLVideoElement.cpp:
* loader/RedirectScheduler.cpp:
* page/History.cpp:
* rendering/MediaControlElements.cpp:
* storage/StorageAreaImpl.cpp:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 94ebc099
2009-11-03 Brady Eidson <beidson@apple.com>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=31079 - Remove #include "Page.h" from Document.h
No new tests. (No change in functionality)
* dom/Document.cpp:
(WebCore::Document::inspectorTimelineAgent): Moved from Document.h
* dom/Document.h:
Include "Page.h" directly:
* html/HTMLVideoElement.cpp:
* loader/RedirectScheduler.cpp:
* page/History.cpp:
* rendering/MediaControlElements.cpp:
* storage/StorageAreaImpl.cpp:
2009-11-03 Keishi Hattori <casey.hattori@gmail.com>
Reviewed by Timothy Hatcher.
......@@ -4639,4 +4639,11 @@ bool Document::isXHTMLMPDocument() const
}
#endif
#if ENABLE(INSPECTOR)
InspectorTimelineAgent* Document::inspectorTimelineAgent() const
{
return page() ? page()->inspectorTimelineAgent() : 0;
}
#endif
} // namespace WebCore
......@@ -33,7 +33,6 @@
#include "CollectionType.h"
#include "Color.h"
#include "DocumentMarker.h"
#include "Page.h"
#include "ScriptExecutionContext.h"
#include "Timer.h"
#include <wtf/HashCountedSet.h>
......@@ -85,6 +84,7 @@ namespace WebCore {
class MouseEventWithHitTestResults;
class NodeFilter;
class NodeIterator;
class Page;
class PlatformMouseEvent;
class ProcessingInstruction;
class Range;
......@@ -1175,12 +1175,6 @@ inline bool Node::isDocumentNode() const
return this == m_document;
}
#if ENABLE(INSPECTOR)
inline InspectorTimelineAgent* Document::inspectorTimelineAgent() const {
return page() ? page()->inspectorTimelineAgent() : 0;
}
#endif
} // namespace WebCore
#endif // Document_h
......@@ -35,6 +35,7 @@
#include "HTMLImageLoader.h"
#include "HTMLNames.h"
#include "MappedAttribute.h"
#include "Page.h"
#include "RenderImage.h"
#include "RenderVideo.h"
......
......@@ -39,6 +39,7 @@
#include "FrameLoadRequest.h"
#include "FrameLoader.h"
#include "HTMLFormElement.h"
#include "Page.h"
#include <wtf/CurrentTime.h>
namespace WebCore {
......
......@@ -28,6 +28,7 @@
#include "Frame.h"
#include "FrameLoader.h"
#include "Page.h"
namespace WebCore {
......
......@@ -38,6 +38,7 @@
#include "HTMLNames.h"
#include "LocalizedStrings.h"
#include "MouseEvent.h"
#include "Page.h"
#include "RenderMedia.h"
#include "RenderSlider.h"
#include "RenderTheme.h"
......
......@@ -30,6 +30,7 @@
#include "ExceptionCode.h"
#include "Frame.h"
#include "Page.h"
#include "Settings.h"
#include "StorageAreaSync.h"
#include "StorageEventDispatcher.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment