[SCM] WebKit Debian packaging branch, debian/experimental, updated. debian/1.3.8-1-1049-g2e11a8e
tonyg at chromium.org
tonyg at chromium.org
Fri Jan 21 14:48:56 UTC 2011
The following commit has been merged in the debian/experimental branch:
commit aa1d38839281de3064409d6450483a323afdb2ad
Author: tonyg at chromium.org <tonyg at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Dec 30 23:41:56 2010 +0000
2010-12-30 Tony Gentilcore <tonyg at chromium.org>
Reviewed by Darin Adler.
Remove Document.h include from some headers where it isn't necessary
https://bugs.webkit.org/show_bug.cgi?id=51730
No new tests because no new functionality.
* editing/EditingStyle.cpp:
* editing/EditingStyle.h:
* editing/SelectionController.h:
* editing/visible_units.h:
* html/HTMLAudioElement.h:
* html/HTMLBodyElement.h:
* inspector/InspectorCSSAgent.h:
* inspector/InspectorDOMAgent.h:
* inspector/InspectorInstrumentation.h:
* xml/DOMParser.cpp:
* xml/DOMParser.h:
(WebCore::DOMParser::create):
(WebCore::DOMParser::DOMParser):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index b9afad0..489503f 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,26 @@
+2010-12-30 Tony Gentilcore <tonyg at chromium.org>
+
+ Reviewed by Darin Adler.
+
+ Remove Document.h include from some headers where it isn't necessary
+ https://bugs.webkit.org/show_bug.cgi?id=51730
+
+ No new tests because no new functionality.
+
+ * editing/EditingStyle.cpp:
+ * editing/EditingStyle.h:
+ * editing/SelectionController.h:
+ * editing/visible_units.h:
+ * html/HTMLAudioElement.h:
+ * html/HTMLBodyElement.h:
+ * inspector/InspectorCSSAgent.h:
+ * inspector/InspectorDOMAgent.h:
+ * inspector/InspectorInstrumentation.h:
+ * xml/DOMParser.cpp:
+ * xml/DOMParser.h:
+ (WebCore::DOMParser::create):
+ (WebCore::DOMParser::DOMParser):
+
2010-12-30 Benjamin C Meyer <bmeyer at rim.com>
Reviewed by Darin Adler.
diff --git a/WebCore/editing/EditingStyle.cpp b/WebCore/editing/EditingStyle.cpp
index c46c075..3e0ec95 100644
--- a/WebCore/editing/EditingStyle.cpp
+++ b/WebCore/editing/EditingStyle.cpp
@@ -32,6 +32,8 @@
#include "CSSMutableStyleDeclaration.h"
#include "CSSValueKeywords.h"
#include "Frame.h"
+#include "Node.h"
+#include "Position.h"
#include "RenderStyle.h"
#include "SelectionController.h"
diff --git a/WebCore/editing/EditingStyle.h b/WebCore/editing/EditingStyle.h
index 0619ce5..786b695 100644
--- a/WebCore/editing/EditingStyle.h
+++ b/WebCore/editing/EditingStyle.h
@@ -31,15 +31,18 @@
#ifndef EditingStyle_h
#define EditingStyle_h
-#include "Document.h"
-#include "Position.h"
#include "WritingDirection.h"
+#include <wtf/RefCounted.h>
+#include <wtf/RefPtr.h>
namespace WebCore {
class CSSStyleDeclaration;
class CSSComputedStyleDeclaration;
class CSSMutableStyleDeclaration;
+class Node;
+class Position;
+class RenderStyle;
class EditingStyle : public RefCounted<EditingStyle> {
public:
diff --git a/WebCore/editing/SelectionController.h b/WebCore/editing/SelectionController.h
index d9f08ee..ee52187 100644
--- a/WebCore/editing/SelectionController.h
+++ b/WebCore/editing/SelectionController.h
@@ -36,6 +36,7 @@
namespace WebCore {
+class CharacterData;
class CSSMutableStyleDeclaration;
class Frame;
class GraphicsContext;
diff --git a/WebCore/editing/visible_units.h b/WebCore/editing/visible_units.h
index 98a5332..a4dd28f 100644
--- a/WebCore/editing/visible_units.h
+++ b/WebCore/editing/visible_units.h
@@ -26,7 +26,6 @@
#ifndef visible_units_h
#define visible_units_h
-#include "Document.h"
#include "EditingBoundary.h"
#include "Position.h"
#include "TextAffinity.h"
diff --git a/WebCore/html/HTMLAudioElement.h b/WebCore/html/HTMLAudioElement.h
index a12cd4b..54d952c 100644
--- a/WebCore/html/HTMLAudioElement.h
+++ b/WebCore/html/HTMLAudioElement.h
@@ -29,11 +29,12 @@
#if ENABLE(VIDEO)
-#include "Document.h"
#include "HTMLMediaElement.h"
namespace WebCore {
+class Document;
+
class HTMLAudioElement : public HTMLMediaElement {
public:
static PassRefPtr<HTMLAudioElement> create(const QualifiedName&, Document*);
diff --git a/WebCore/html/HTMLBodyElement.h b/WebCore/html/HTMLBodyElement.h
index df7bfec..cd8a38f 100644
--- a/WebCore/html/HTMLBodyElement.h
+++ b/WebCore/html/HTMLBodyElement.h
@@ -25,10 +25,11 @@
#define HTMLBodyElement_h
#include "HTMLElement.h"
-#include "Document.h"
namespace WebCore {
+class Document;
+
class HTMLBodyElement : public HTMLElement {
public:
static PassRefPtr<HTMLBodyElement> create(Document*);
diff --git a/WebCore/inspector/InspectorCSSAgent.h b/WebCore/inspector/InspectorCSSAgent.h
index 387c89b..619f958 100644
--- a/WebCore/inspector/InspectorCSSAgent.h
+++ b/WebCore/inspector/InspectorCSSAgent.h
@@ -25,7 +25,6 @@
#ifndef InspectorCSSAgent_h
#define InspectorCSSAgent_h
-#include "Document.h"
#include "InspectorDOMAgent.h"
#include "InspectorStyleSheet.h"
#include "InspectorValues.h"
@@ -42,6 +41,7 @@ class CSSRuleList;
class CSSStyleDeclaration;
class CSSStyleRule;
class CSSStyleSheet;
+class Document;
class Element;
class InspectorFrontend;
class NameNodeMap;
diff --git a/WebCore/inspector/InspectorDOMAgent.h b/WebCore/inspector/InspectorDOMAgent.h
index e57bcea..1611baa 100644
--- a/WebCore/inspector/InspectorDOMAgent.h
+++ b/WebCore/inspector/InspectorDOMAgent.h
@@ -30,7 +30,6 @@
#ifndef InspectorDOMAgent_h
#define InspectorDOMAgent_h
-#include "Document.h"
#include "EventListener.h"
#include "EventTarget.h"
#include "InspectorValues.h"
@@ -53,6 +52,7 @@ namespace WebCore {
class CSSStyleRule;
class CSSStyleSheet;
class CharacterData;
+ class Document;
class Element;
class Event;
class InspectorDOMAgent;
diff --git a/WebCore/inspector/InspectorInstrumentation.h b/WebCore/inspector/InspectorInstrumentation.h
index 7f241c4..9c69055 100644
--- a/WebCore/inspector/InspectorInstrumentation.h
+++ b/WebCore/inspector/InspectorInstrumentation.h
@@ -31,7 +31,6 @@
#ifndef InspectorInstrumentation_h
#define InspectorInstrumentation_h
-#include "Document.h"
#include "Frame.h"
#include "Page.h"
#include "ScriptExecutionContext.h"
@@ -39,6 +38,7 @@
namespace WebCore {
class CharacterData;
+class Document;
class Element;
class EventContext;
class InspectorController;
diff --git a/WebCore/page/Frame.h b/WebCore/page/Frame.h
index 60c90e5..1cdfa81 100644
--- a/WebCore/page/Frame.h
+++ b/WebCore/page/Frame.h
@@ -29,6 +29,7 @@
#define Frame_h
#include "AnimationController.h"
+#include "Document.h"
#include "DragImage.h"
#include "Editor.h"
#include "EventHandler.h"
@@ -60,6 +61,7 @@ typedef struct HBITMAP__* HBITMAP;
namespace WebCore {
+ class FrameView;
class HTMLTableCellElement;
class RegularExpression;
class RenderPart;
diff --git a/WebCore/xml/DOMParser.cpp b/WebCore/xml/DOMParser.cpp
index 7e04be7..e6aa3b0 100644
--- a/WebCore/xml/DOMParser.cpp
+++ b/WebCore/xml/DOMParser.cpp
@@ -20,6 +20,7 @@
#include "DOMParser.h"
#include "DOMImplementation.h"
+#include "Document.h"
#include "PlatformString.h"
namespace WebCore {
diff --git a/WebCore/xml/DOMParser.h b/WebCore/xml/DOMParser.h
index 744bae8..41329ba 100644
--- a/WebCore/xml/DOMParser.h
+++ b/WebCore/xml/DOMParser.h
@@ -21,19 +21,21 @@
#include <wtf/Forward.h>
#include <wtf/RefCounted.h>
-#include "Document.h"
+#include <wtf/RefPtr.h>
namespace WebCore {
- class DOMParser : public RefCounted<DOMParser> {
- public:
- static PassRefPtr<DOMParser> create() { return adoptRef(new DOMParser); }
-
- PassRefPtr<Document> parseFromString(const String& str, const String& contentType);
-
- private:
- DOMParser() { }
- };
+class Document;
+
+class DOMParser : public RefCounted<DOMParser> {
+public:
+ static PassRefPtr<DOMParser> create() { return adoptRef(new DOMParser); }
+
+ PassRefPtr<Document> parseFromString(const String&, const String& contentType);
+
+private:
+ DOMParser() { }
+};
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list