Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[webcore/html] remove extra header includes from cpp files.
https://bugs.webkit.org/show_bug.cgi?id=123740

Patch by Santosh Mahto <santosh.ma@samsung.com> on 2013-11-04
Reviewed by Darin Adler.

Removing redundant headers.

* html/BaseDateAndTimeInputType.cpp:
* html/ColorInputType.cpp:
* html/DOMFormData.cpp:
* html/DOMURL.cpp:
* html/DateInputType.cpp:
* html/DateTimeInputType.cpp:
* html/DateTimeLocalInputType.cpp:
* html/FTPDirectoryDocument.cpp:
* html/FileInputType.cpp:
* html/FormController.cpp:
* html/HTMLAnchorElement.cpp:
* html/HTMLAreaElement.cpp:
* html/HTMLCanvasElement.cpp:
* html/HTMLCollection.cpp:
* html/HTMLDetailsElement.cpp:
* html/HTMLDocument.cpp:
* html/HTMLElement.cpp:
* html/HTMLFormControlsCollection.cpp:
* html/HTMLFormElement.cpp:
* html/HTMLImageElement.cpp:
* html/HTMLInputElement.cpp:
* html/HTMLLegendElement.cpp:
* html/HTMLMapElement.cpp:
* html/HTMLMediaElement.cpp:
* html/HTMLOptionElement.cpp:
* html/HTMLOptionsCollection.cpp:
* html/HTMLPlugInImageElement.cpp:
* html/HTMLProgressElement.cpp:
* html/HTMLSummaryElement.cpp:
* html/HTMLTemplateElement.cpp:
* html/HTMLVideoElement.cpp:
* html/HTMLViewSourceDocument.cpp:
* html/MediaController.cpp:
* html/MediaKeyEvent.cpp:
* html/MonthInputType.cpp:
* html/RangeInputType.cpp:
* html/StepRange.cpp:
* html/TextFieldInputType.cpp:
* html/TimeInputType.cpp:
* html/WeekInputType.cpp:
* html/canvas/CanvasRenderingContext.cpp:
* html/canvas/CanvasRenderingContext2D.cpp:
* html/canvas/CanvasStyle.cpp:
* html/canvas/OESVertexArrayObject.cpp:
* html/parser/BackgroundHTMLParser.cpp:
* html/parser/CSSPreloadScanner.cpp:
* html/parser/CompactHTMLToken.cpp:
* html/parser/HTMLConstructionSite.cpp:
* html/parser/HTMLDocumentParser.cpp:
* html/parser/HTMLElementStack.cpp:
* html/parser/HTMLFormattingElementList.cpp:
* html/parser/HTMLMetaCharsetParser.cpp:
* html/parser/HTMLParserIdioms.cpp:
* html/parser/HTMLPreloadScanner.cpp:
* html/parser/HTMLTokenizer.cpp:
* html/parser/HTMLTreeBuilder.cpp:
* html/parser/HTMLTreeBuilderSimulator.cpp:
* html/parser/HTMLViewSourceParser.cpp:
* html/parser/TextDocumentParser.cpp:
* html/parser/XSSAuditor.cpp:
* html/shadow/ContentDistributor.cpp:
* html/shadow/InsertionPoint.cpp:
* html/shadow/MediaControlElements.cpp:
* html/shadow/MediaControlsApple.cpp:
* html/shadow/MediaControlsBlackBerry.cpp:
* html/shadow/MediaControlsGtk.cpp:
* html/shadow/SliderThumbElement.cpp:
* html/track/AudioTrack.cpp:
* html/track/InbandGenericTextTrack.cpp:
* html/track/InbandTextTrack.cpp:
* html/track/InbandWebVTTTextTrack.cpp:
* html/track/TextTrack.cpp:
* html/track/TextTrackCueGeneric.cpp:
* html/track/TextTrackList.cpp:
* html/track/TextTrackRegion.cpp:
* html/track/TrackListBase.cpp:
* html/track/VideoTrack.cpp:
* html/track/WebVTTParser.cpp:

Canonical link: https://commits.webkit.org/141977@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
santoshmahto7 authored and webkit-commit-queue committed Nov 5, 2013
1 parent 2d1c507 commit eca14f4
Show file tree
Hide file tree
Showing 77 changed files with 88 additions and 184 deletions.
88 changes: 88 additions & 0 deletions Source/WebCore/ChangeLog
@@ -1,3 +1,91 @@
2013-11-04 Santosh Mahto <santosh.ma@samsung.com>

[webcore/html] remove extra header includes from cpp files.
https://bugs.webkit.org/show_bug.cgi?id=123740

Reviewed by Darin Adler.

Removing redundant headers.

* html/BaseDateAndTimeInputType.cpp:
* html/ColorInputType.cpp:
* html/DOMFormData.cpp:
* html/DOMURL.cpp:
* html/DateInputType.cpp:
* html/DateTimeInputType.cpp:
* html/DateTimeLocalInputType.cpp:
* html/FTPDirectoryDocument.cpp:
* html/FileInputType.cpp:
* html/FormController.cpp:
* html/HTMLAnchorElement.cpp:
* html/HTMLAreaElement.cpp:
* html/HTMLCanvasElement.cpp:
* html/HTMLCollection.cpp:
* html/HTMLDetailsElement.cpp:
* html/HTMLDocument.cpp:
* html/HTMLElement.cpp:
* html/HTMLFormControlsCollection.cpp:
* html/HTMLFormElement.cpp:
* html/HTMLImageElement.cpp:
* html/HTMLInputElement.cpp:
* html/HTMLLegendElement.cpp:
* html/HTMLMapElement.cpp:
* html/HTMLMediaElement.cpp:
* html/HTMLOptionElement.cpp:
* html/HTMLOptionsCollection.cpp:
* html/HTMLPlugInImageElement.cpp:
* html/HTMLProgressElement.cpp:
* html/HTMLSummaryElement.cpp:
* html/HTMLTemplateElement.cpp:
* html/HTMLVideoElement.cpp:
* html/HTMLViewSourceDocument.cpp:
* html/MediaController.cpp:
* html/MediaKeyEvent.cpp:
* html/MonthInputType.cpp:
* html/RangeInputType.cpp:
* html/StepRange.cpp:
* html/TextFieldInputType.cpp:
* html/TimeInputType.cpp:
* html/WeekInputType.cpp:
* html/canvas/CanvasRenderingContext.cpp:
* html/canvas/CanvasRenderingContext2D.cpp:
* html/canvas/CanvasStyle.cpp:
* html/canvas/OESVertexArrayObject.cpp:
* html/parser/BackgroundHTMLParser.cpp:
* html/parser/CSSPreloadScanner.cpp:
* html/parser/CompactHTMLToken.cpp:
* html/parser/HTMLConstructionSite.cpp:
* html/parser/HTMLDocumentParser.cpp:
* html/parser/HTMLElementStack.cpp:
* html/parser/HTMLFormattingElementList.cpp:
* html/parser/HTMLMetaCharsetParser.cpp:
* html/parser/HTMLParserIdioms.cpp:
* html/parser/HTMLPreloadScanner.cpp:
* html/parser/HTMLTokenizer.cpp:
* html/parser/HTMLTreeBuilder.cpp:
* html/parser/HTMLTreeBuilderSimulator.cpp:
* html/parser/HTMLViewSourceParser.cpp:
* html/parser/TextDocumentParser.cpp:
* html/parser/XSSAuditor.cpp:
* html/shadow/ContentDistributor.cpp:
* html/shadow/InsertionPoint.cpp:
* html/shadow/MediaControlElements.cpp:
* html/shadow/MediaControlsApple.cpp:
* html/shadow/MediaControlsBlackBerry.cpp:
* html/shadow/MediaControlsGtk.cpp:
* html/shadow/SliderThumbElement.cpp:
* html/track/AudioTrack.cpp:
* html/track/InbandGenericTextTrack.cpp:
* html/track/InbandTextTrack.cpp:
* html/track/InbandWebVTTTextTrack.cpp:
* html/track/TextTrack.cpp:
* html/track/TextTrackCueGeneric.cpp:
* html/track/TextTrackList.cpp:
* html/track/TextTrackRegion.cpp:
* html/track/TrackListBase.cpp:
* html/track/VideoTrack.cpp:
* html/track/WebVTTParser.cpp:

2013-11-04 Brady Eidson <beidson@apple.com>

IDB: deleteDatabase() interface should be asynchronous
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/BaseDateAndTimeInputType.cpp
Expand Up @@ -40,7 +40,6 @@
#include <wtf/CurrentTime.h>
#include <wtf/DateMath.h>
#include <wtf/MathExtras.h>
#include <wtf/text/WTFString.h>

namespace WebCore {

Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/ColorInputType.cpp
Expand Up @@ -45,7 +45,6 @@
#include "RenderView.h"
#include "ScriptController.h"
#include "ShadowRoot.h"
#include <wtf/text/WTFString.h>

namespace WebCore {

Expand Down
3 changes: 0 additions & 3 deletions Source/WebCore/html/DOMFormData.cpp
Expand Up @@ -31,11 +31,8 @@
#include "config.h"
#include "DOMFormData.h"

#include "Blob.h"
#include "HTMLFormControlElement.h"
#include "HTMLFormElement.h"
#include "TextEncoding.h"
#include <wtf/text/WTFString.h>

namespace WebCore {

Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/DOMURL.cpp
Expand Up @@ -33,7 +33,6 @@
#include "ActiveDOMObject.h"
#include "Blob.h"
#include "BlobURL.h"
#include "URL.h"
#include "MemoryCache.h"
#include "PublicURLManager.h"
#include "ResourceRequest.h"
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/DateInputType.cpp
Expand Up @@ -32,7 +32,6 @@
#if ENABLE(INPUT_TYPE_DATE)
#include "DateInputType.h"

#include "DateComponents.h"
#include "HTMLInputElement.h"
#include "HTMLNames.h"
#include "InputTypeNames.h"
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/DateTimeInputType.cpp
Expand Up @@ -32,7 +32,6 @@
#if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE)
#include "DateTimeInputType.h"

#include "DateComponents.h"
#include "HTMLInputElement.h"
#include "HTMLNames.h"
#include "InputTypeNames.h"
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/DateTimeLocalInputType.cpp
Expand Up @@ -32,7 +32,6 @@
#if ENABLE(INPUT_TYPE_DATETIMELOCAL)
#include "DateTimeLocalInputType.h"

#include "DateComponents.h"
#include "HTMLInputElement.h"
#include "HTMLNames.h"
#include "InputTypeNames.h"
Expand Down
2 changes: 0 additions & 2 deletions Source/WebCore/html/FTPDirectoryDocument.cpp
Expand Up @@ -33,15 +33,13 @@
#include "LocalizedStrings.h"
#include "Logging.h"
#include "FTPDirectoryParser.h"
#include "SegmentedString.h"
#include "Settings.h"
#include "SharedBuffer.h"
#include "Text.h"
#include <wtf/CurrentTime.h>
#include <wtf/GregorianDateTime.h>
#include <wtf/StdLibExtras.h>
#include <wtf/text/CString.h>
#include <wtf/text/WTFString.h>
#include <wtf/unicode/CharacterNames.h>

namespace WebCore {
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/FileInputType.cpp
Expand Up @@ -40,7 +40,6 @@
#include "ScriptController.h"
#include "ShadowRoot.h"
#include <wtf/text/StringBuilder.h>
#include <wtf/text/WTFString.h>

namespace WebCore {

Expand Down
2 changes: 0 additions & 2 deletions Source/WebCore/html/FormController.cpp
Expand Up @@ -21,8 +21,6 @@
#include "config.h"
#include "FormController.h"

#include "FileChooser.h"
#include "HTMLFormControlElementWithState.h"
#include "HTMLFormElement.h"
#include "HTMLInputElement.h"
#include <wtf/text/StringBuilder.h>
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/HTMLAnchorElement.cpp
Expand Up @@ -34,7 +34,6 @@
#include "FrameLoaderTypes.h"
#include "FrameSelection.h"
#include "HTMLImageElement.h"
#include "HTMLNames.h"
#include "HTMLParserIdioms.h"
#include "KeyboardEvent.h"
#include "MouseEvent.h"
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/HTMLAreaElement.cpp
Expand Up @@ -27,7 +27,6 @@
#include "Frame.h"
#include "HTMLImageElement.h"
#include "HTMLMapElement.h"
#include "HTMLNames.h"
#include "HitTestResult.h"
#include "Path.h"
#include "RenderImage.h"
Expand Down
2 changes: 0 additions & 2 deletions Source/WebCore/html/HTMLCanvasElement.cpp
Expand Up @@ -29,7 +29,6 @@
#include "HTMLCanvasElement.h"

#include "Attribute.h"
#include "CanvasContextAttributes.h"
#include "CanvasGradient.h"
#include "CanvasPattern.h"
#include "CanvasRenderingContext2D.h"
Expand All @@ -39,7 +38,6 @@
#include "Frame.h"
#include "GraphicsContext.h"
#include "HTMLNames.h"
#include "ImageBuffer.h"
#include "ImageData.h"
#include "MIMETypeRegistry.h"
#include "Page.h"
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/HTMLCollection.cpp
Expand Up @@ -26,7 +26,6 @@
#include "ClassNodeList.h"
#include "ElementTraversal.h"
#include "HTMLDocument.h"
#include "HTMLElement.h"
#include "HTMLNameCollection.h"
#include "HTMLNames.h"
#include "HTMLObjectElement.h"
Expand Down
2 changes: 0 additions & 2 deletions Source/WebCore/html/HTMLDetailsElement.cpp
Expand Up @@ -22,13 +22,11 @@
#include "HTMLDetailsElement.h"

#if ENABLE(DETAILS_ELEMENT)
#include "HTMLNames.h"
#include "HTMLSummaryElement.h"
#include "InsertionPoint.h"
#include "LocalizedStrings.h"
#include "MouseEvent.h"
#include "RenderBlockFlow.h"
#include "ShadowRoot.h"
#include "Text.h"

namespace WebCore {
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/HTMLDocument.cpp
Expand Up @@ -71,7 +71,6 @@
#include "HTMLFrameSetElement.h"
#include "HTMLNames.h"
#include "InspectorInstrumentation.h"
#include "URL.h"
#include "Page.h"
#include "ScriptController.h"
#include "Settings.h"
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/HTMLFormControlsCollection.cpp
Expand Up @@ -24,7 +24,6 @@
#include "HTMLFormControlsCollection.h"

#include "HTMLFieldSetElement.h"
#include "HTMLFormControlElement.h"
#include "HTMLFormElement.h"
#include "HTMLImageElement.h"
#include "HTMLNames.h"
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/HTMLFormElement.cpp
Expand Up @@ -32,7 +32,6 @@
#include "EventNames.h"
#include "FormController.h"
#include "FormData.h"
#include "FormState.h"
#include "Frame.h"
#include "FrameLoader.h"
#include "FrameLoaderClient.h"
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/HTMLImageElement.cpp
Expand Up @@ -32,7 +32,6 @@
#include "HTMLAnchorElement.h"
#include "HTMLDocument.h"
#include "HTMLFormElement.h"
#include "HTMLNames.h"
#include "HTMLParserIdioms.h"
#include "Page.h"
#include "RenderImage.h"
Expand Down
5 changes: 0 additions & 5 deletions Source/WebCore/html/HTMLInputElement.cpp
Expand Up @@ -37,22 +37,18 @@
#include "Editor.h"
#include "EventNames.h"
#include "ExceptionCode.h"
#include "FeatureObserver.h"
#include "FileInputType.h"
#include "FileList.h"
#include "FormController.h"
#include "Frame.h"
#include "FrameSelection.h"
#include "FrameView.h"
#include "HTMLCollection.h"
#include "HTMLDataListElement.h"
#include "HTMLFormElement.h"
#include "HTMLImageLoader.h"
#include "HTMLNames.h"
#include "HTMLOptionElement.h"
#include "HTMLParserIdioms.h"
#include "IdTargetObserver.h"
#include "InputType.h"
#include "InsertionPoint.h"
#include "KeyboardEvent.h"
#include "Language.h"
Expand All @@ -64,7 +60,6 @@
#include "RuntimeEnabledFeatures.h"
#include "ScopedEventQueue.h"
#include "SearchInputType.h"
#include "ShadowRoot.h"
#include "StyleResolver.h"
#include <wtf/MathExtras.h>
#include <wtf/Ref.h>
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/HTMLLegendElement.cpp
Expand Up @@ -27,7 +27,6 @@

#include "ElementIterator.h"
#include "HTMLFieldSetElement.h"
#include "HTMLFormControlElement.h"
#include "HTMLNames.h"

namespace WebCore {
Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/HTMLMapElement.cpp
Expand Up @@ -28,7 +28,6 @@
#include "HTMLAreaElement.h"
#include "HTMLCollection.h"
#include "HTMLImageElement.h"
#include "HTMLNames.h"
#include "HitTestResult.h"
#include "IntSize.h"

Expand Down
14 changes: 0 additions & 14 deletions Source/WebCore/html/HTMLMediaElement.cpp
Expand Up @@ -30,7 +30,6 @@
#include "ApplicationCacheHost.h"
#include "ApplicationCacheResource.h"
#include "Attribute.h"
#include "Chrome.h"
#include "ChromeClient.h"
#include "ClientRect.h"
#include "ClientRectList.h"
Expand All @@ -41,15 +40,11 @@
#include "DiagnosticLoggingKeys.h"
#include "DocumentLoader.h"
#include "ElementIterator.h"
#include "Event.h"
#include "EventNames.h"
#include "ExceptionCode.h"
#include "ExceptionCodePlaceholder.h"
#include "FrameLoader.h"
#include "FrameLoaderClient.h"
#include "FrameView.h"
#include "HTMLDocument.h"
#include "HTMLNames.h"
#include "HTMLSourceElement.h"
#include "HTMLVideoElement.h"
#include "JSHTMLMediaElement.h"
Expand All @@ -61,17 +56,12 @@
#include "MediaDocument.h"
#include "MediaError.h"
#include "MediaFragmentURIParser.h"
#include "MediaKeyError.h"
#include "MediaKeyEvent.h"
#include "MediaList.h"
#include "MediaPlayer.h"
#include "MediaQueryEvaluator.h"
#include "MouseEvent.h"
#include "MIMETypeRegistry.h"
#include "Page.h"
#include "PageActivityAssertionToken.h"
#include "PageGroup.h"
#include "RenderTheme.h"
#include "RenderVideo.h"
#include "RenderView.h"
#include "ScriptController.h"
Expand All @@ -98,18 +88,14 @@

#if ENABLE(VIDEO_TRACK)
#include "AudioTrackList.h"
#include "AudioTrackPrivate.h"
#include "CaptionUserPreferences.h"
#include "HTMLTrackElement.h"
#include "InbandGenericTextTrack.h"
#include "InbandTextTrack.h"
#include "InbandTextTrackPrivate.h"
#include "InbandWebVTTTextTrack.h"
#include "RuntimeEnabledFeatures.h"
#include "TextTrackCueList.h"
#include "TextTrackList.h"
#include "VideoTrackList.h"
#include "VideoTrackPrivate.h"
#endif

#if ENABLE(WEB_AUDIO)
Expand Down
2 changes: 0 additions & 2 deletions Source/WebCore/html/HTMLOptionElement.cpp
Expand Up @@ -43,8 +43,6 @@
#include "StyleResolver.h"
#include "Text.h"
#include <wtf/Ref.h>
#include <wtf/Vector.h>
#include <wtf/text/StringBuilder.h>

namespace WebCore {

Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/html/HTMLOptionsCollection.cpp
Expand Up @@ -23,7 +23,6 @@

#include "ExceptionCode.h"
#include "HTMLOptionElement.h"
#include "HTMLSelectElement.h"

namespace WebCore {

Expand Down

0 comments on commit eca14f4

Please sign in to comment.