Title: [153424] trunk/Source/WebCore
Revision
153424
Author
[email protected]
Date
2013-07-29 07:37:40 -0700 (Mon, 29 Jul 2013)

Log Message

Clean up DragImage
https://bugs.webkit.org/show_bug.cgi?id=118981

Reviewed by Anders Carlsson.

* dom/Clipboard.h: Add forward declaration for the Range class. This was not necessary until now as the forward
declaration was introduced in the DragImage header, from where it's being removed due to not being required in that class.
* page/Frame.h: Ditto.
* platform/DragImage.cpp: Remove the unnecessary DragController and FontRenderingMode header inclusions.
The latter is already included in the header.
* platform/DragImage.h: Remove the forward declaration for the Range class - it's not used by the DragImage class at all.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (153423 => 153424)


--- trunk/Source/WebCore/ChangeLog	2013-07-29 13:50:32 UTC (rev 153423)
+++ trunk/Source/WebCore/ChangeLog	2013-07-29 14:37:40 UTC (rev 153424)
@@ -1,3 +1,17 @@
+2013-07-29  Zan Dobersek  <[email protected]>
+
+        Clean up DragImage
+        https://bugs.webkit.org/show_bug.cgi?id=118981
+
+        Reviewed by Anders Carlsson.
+
+        * dom/Clipboard.h: Add forward declaration for the Range class. This was not necessary until now as the forward
+        declaration was introduced in the DragImage header, from where it's being removed due to not being required in that class.
+        * page/Frame.h: Ditto.
+        * platform/DragImage.cpp: Remove the unnecessary DragController and FontRenderingMode header inclusions.
+        The latter is already included in the header.
+        * platform/DragImage.h: Remove the forward declaration for the Range class - it's not used by the DragImage class at all.
+
 2013-07-29  Kwang Yul Seo  <[email protected]>
 
         [EFL] Improve string use in ErrorsEfl

Modified: trunk/Source/WebCore/dom/Clipboard.h (153423 => 153424)


--- trunk/Source/WebCore/dom/Clipboard.h	2013-07-29 13:50:32 UTC (rev 153423)
+++ trunk/Source/WebCore/dom/Clipboard.h	2013-07-29 14:37:40 UTC (rev 153424)
@@ -57,6 +57,7 @@
     class FileList;
     class Frame;
     class Pasteboard;
+    class Range;
 
     // State available during IE's events for drag and drop and copy/paste
     class Clipboard : public RefCounted<Clipboard> {

Modified: trunk/Source/WebCore/page/Frame.h (153423 => 153424)


--- trunk/Source/WebCore/page/Frame.h	2013-07-29 13:50:32 UTC (rev 153423)
+++ trunk/Source/WebCore/page/Frame.h	2013-07-29 14:37:40 UTC (rev 153424)
@@ -64,6 +64,7 @@
     class HTMLTableCellElement;
     class IntRect;
     class Node;
+    class Range;
     class RegularExpression;
     class RenderPart;
     class RenderView;

Modified: trunk/Source/WebCore/platform/DragImage.cpp (153423 => 153424)


--- trunk/Source/WebCore/platform/DragImage.cpp	2013-07-29 13:50:32 UTC (rev 153423)
+++ trunk/Source/WebCore/platform/DragImage.cpp	2013-07-29 14:37:40 UTC (rev 153424)
@@ -27,10 +27,7 @@
 #include "DragImage.h"
 
 #if ENABLE(DRAG_SUPPORT)
-#include "DragController.h"
 
-#include "FontRenderingMode.h"
-
 namespace WebCore {
     
 DragImageRef fitDragImageToMaxSize(DragImageRef image, const IntSize& srcSize, const IntSize& size)

Modified: trunk/Source/WebCore/platform/DragImage.h (153423 => 153424)


--- trunk/Source/WebCore/platform/DragImage.h	2013-07-29 13:50:32 UTC (rev 153423)
+++ trunk/Source/WebCore/platform/DragImage.h	2013-07-29 14:37:40 UTC (rev 153424)
@@ -52,7 +52,6 @@
 
     class Image;
     class KURL;
-    class Range;
 
 #if PLATFORM(MAC)
     typedef RetainPtr<NSImage> DragImageRef;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to