[EFL][WK2] Remove unnecessary includes in files of Source/WebKit2/UIProcess/API/efl
authorryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Apr 2014 10:51:38 +0000 (10:51 +0000)
committerryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Apr 2014 10:51:38 +0000 (10:51 +0000)
https://bugs.webkit.org/show_bug.cgi?id=131979

Reviewed by Gyuyoung Kim.

Removed unnecessary includes of header files.
In addition, tried to use forward declarations.

* UIProcess/API/efl/EwkView.cpp:
* UIProcess/API/efl/EwkView.h:
* UIProcess/API/efl/EwkViewCallbacks.h:
* UIProcess/API/efl/GestureRecognizer.h:
* UIProcess/API/efl/ewk_context_menu_item_private.h:
* UIProcess/API/efl/ewk_context_menu_private.h:
* UIProcess/API/efl/ewk_download_job.cpp:
* UIProcess/API/efl/ewk_download_job_private.h:
* UIProcess/API/efl/ewk_form_submission_request.cpp:
* UIProcess/API/efl/ewk_form_submission_request_private.h:
* UIProcess/API/efl/ewk_navigation_data.cpp:
* UIProcess/API/efl/ewk_navigation_data_private.h:
* UIProcess/API/efl/ewk_page_group_private.h:
* UIProcess/API/efl/ewk_popup_menu_private.h:
* UIProcess/API/efl/ewk_view.cpp:
* UIProcess/API/efl/ewk_window_features_private.h:
* UIProcess/efl/PageUIClientEfl.cpp:
* UIProcess/efl/ViewClientEfl.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@167653 268f45cc-cd09-0410-ab3c-d52691b4dbfc

19 files changed:
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/efl/EwkView.cpp
Source/WebKit2/UIProcess/API/efl/EwkView.h
Source/WebKit2/UIProcess/API/efl/EwkViewCallbacks.h
Source/WebKit2/UIProcess/API/efl/GestureRecognizer.h
Source/WebKit2/UIProcess/API/efl/ewk_context_menu_item_private.h
Source/WebKit2/UIProcess/API/efl/ewk_context_menu_private.h
Source/WebKit2/UIProcess/API/efl/ewk_download_job.cpp
Source/WebKit2/UIProcess/API/efl/ewk_download_job_private.h
Source/WebKit2/UIProcess/API/efl/ewk_form_submission_request.cpp
Source/WebKit2/UIProcess/API/efl/ewk_form_submission_request_private.h
Source/WebKit2/UIProcess/API/efl/ewk_navigation_data.cpp
Source/WebKit2/UIProcess/API/efl/ewk_navigation_data_private.h
Source/WebKit2/UIProcess/API/efl/ewk_page_group_private.h
Source/WebKit2/UIProcess/API/efl/ewk_popup_menu_private.h
Source/WebKit2/UIProcess/API/efl/ewk_view.cpp
Source/WebKit2/UIProcess/API/efl/ewk_window_features_private.h
Source/WebKit2/UIProcess/efl/PageUIClientEfl.cpp
Source/WebKit2/UIProcess/efl/ViewClientEfl.cpp

index bad015f..328e126 100644 (file)
@@ -1,3 +1,32 @@
+2014-04-22  Ryuan Choi  <ryuan.choi@samsung.com>
+
+        [EFL][WK2] Remove unnecessary includes in files of Source/WebKit2/UIProcess/API/efl
+        https://bugs.webkit.org/show_bug.cgi?id=131979
+
+        Reviewed by Gyuyoung Kim.
+
+        Removed unnecessary includes of header files.
+        In addition, tried to use forward declarations.
+
+        * UIProcess/API/efl/EwkView.cpp:
+        * UIProcess/API/efl/EwkView.h:
+        * UIProcess/API/efl/EwkViewCallbacks.h:
+        * UIProcess/API/efl/GestureRecognizer.h:
+        * UIProcess/API/efl/ewk_context_menu_item_private.h:
+        * UIProcess/API/efl/ewk_context_menu_private.h:
+        * UIProcess/API/efl/ewk_download_job.cpp:
+        * UIProcess/API/efl/ewk_download_job_private.h:
+        * UIProcess/API/efl/ewk_form_submission_request.cpp:
+        * UIProcess/API/efl/ewk_form_submission_request_private.h:
+        * UIProcess/API/efl/ewk_navigation_data.cpp:
+        * UIProcess/API/efl/ewk_navigation_data_private.h:
+        * UIProcess/API/efl/ewk_page_group_private.h:
+        * UIProcess/API/efl/ewk_popup_menu_private.h:
+        * UIProcess/API/efl/ewk_view.cpp:
+        * UIProcess/API/efl/ewk_window_features_private.h:
+        * UIProcess/efl/PageUIClientEfl.cpp:
+        * UIProcess/efl/ViewClientEfl.cpp:
+
 2014-04-21  Tim Horton  <timothy_horton@apple.com>
 
         [wk2] Don't send intrinsic content size updates with dirty layout
index 6719031..cd3462d 100644 (file)
 
 #include "ContextMenuClientEfl.h"
 #include "EflScreenUtilities.h"
+#include "EvasGLContext.h"
+#include "EvasGLSurface.h"
 #include "FindClientEfl.h"
 #include "FormClientEfl.h"
 #include "InputMethodContextEfl.h"
 #include "NativeWebKeyboardEvent.h"
 #include "NativeWebMouseEvent.h"
 #include "NativeWebWheelEvent.h"
-#include "NotImplemented.h"
 #include "PageLoadClientEfl.h"
 #include "PagePolicyClientEfl.h"
 #include "PageUIClientEfl.h"
@@ -72,7 +73,6 @@
 #include <WebCore/NotImplemented.h>
 #include <WebCore/PlatformContextCairo.h>
 #include <WebKit2/WKImageCairo.h>
-#include <wtf/MathExtras.h>
 #include <wtf/NeverDestroyed.h>
 #include <wtf/StdLibExtras.h>
 
index 0289eee..7dde4c3 100644 (file)
 #ifndef EwkView_h
 #define EwkView_h
 
-#include "EvasGLContext.h"
-#include "EvasGLSurface.h"
+#include "EflTypedefs.h"
 #include "EwkViewCallbacks.h"
-#include "ImmutableDictionary.h"
 #include "PageViewportController.h"
 #include "PageViewportControllerClientEfl.h"
 #include "RefPtrEfl.h"
 #include "WKEinaSharedString.h"
 #include "WKRetainPtr.h"
-#include "WebContext.h"
-#include "WebPageGroup.h"
-#include "WebPreferences.h"
 #include "WebViewEfl.h"
-#include "ewk_url_request_private.h"
-#include <Evas.h>
-#include <WebCore/FloatPoint.h>
-#include <WebCore/IntRect.h>
 #include <WebCore/RefPtrCairo.h>
 #include <WebCore/TextDirection.h>
 #include <WebCore/Timer.h>
 #include <WebKit2/WKBase.h>
-#include <wtf/HashMap.h>
-#include <wtf/RefPtr.h>
-#include <wtf/text/WTFString.h>
 
 #if ENABLE(TOUCH_EVENTS)
 #include "GestureRecognizer.h"
@@ -75,6 +63,8 @@ class AffineTransform;
 class Color;
 class CoordinatedGraphicsScene;
 class Cursor;
+class EvasGLContext;
+class EvasGLSurface;
 class Image;
 class IntSize;
 class TransformationMatrix;
@@ -87,6 +77,7 @@ class EwkContextMenu;
 class EwkPageGroup;
 class EwkPopupMenu;
 class EwkSettings;
+class EwkUrlRequest;
 class EwkWindowFeatures;
 
 typedef struct Ewk_View_Smart_Data Ewk_View_Smart_Data;
index 78c304d..4f09ab8 100644 (file)
@@ -27,7 +27,6 @@
 #define EwkViewCallbacks_h
 
 #include "WKEinaSharedString.h"
-#include "ewk_private.h"
 #include "ewk_view.h"
 #include <Evas.h>
 #include <WebKit2/WKGeometry.h>
index fe77b6d..4ab002f 100644 (file)
 #define GestureRecognizer_h
 
 #if ENABLE(TOUCH_EVENTS)
-
-#include <Ecore.h>
+#include "EflTypedefs.h"
 #include <WebCore/IntPoint.h>
 #include <WebKit2/WKEventEfl.h>
-#include <wtf/Vector.h>
 
 class EwkView;
 
index 7175b77..f3a2703 100644 (file)
 
 #include "WKContextMenuItem.h"
 #include "WKEinaSharedString.h"
-#include "ewk_context_menu.h"
 #include "ewk_context_menu_item.h"
-#include "ewk_context_menu_private.h"
 #include <wtf/PassRefPtr.h>
 #include <wtf/RefPtr.h>
 
+class EwkContextMenu;
+
 /**
  * \struct  Ewk_Context_Menu_Item
  * @brief   Contains the context menu item data.
index 2a3c9a2..1b9cbd7 100644 (file)
@@ -26,9 +26,9 @@
 #ifndef ewk_context_menu_private_h
 #define ewk_context_menu_private_h
 
+#include "EflTypedefs.h"
 #include "ewk_context_menu_item.h"
 #include "ewk_object_private.h"
-#include <Eina.h>
 #include <wtf/PassRefPtr.h>
 
 class EwkView;
index 472a487..ccfab54 100644 (file)
@@ -30,6 +30,7 @@
 #include "WKRetainPtr.h"
 #include "WKURLRequest.h"
 #include "ewk_download_job_private.h"
+#include "ewk_url_request_private.h"
 #include "ewk_url_response_private.h"
 #include <Ecore.h>
 
index 3e516ef..0404420 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef ewk_download_job_private_h
 #define ewk_download_job_private_h
 
+#include "EflTypedefs.h"
 #include "WKBase.h"
 #include "WKDownload.h"
 #include "WKEinaSharedString.h"
@@ -33,7 +34,6 @@
 #include "ewk_download_job.h"
 #include "ewk_url_request_private.h"
 #include "ewk_url_response_private.h"
-#include <Evas.h>
 #include <wtf/PassRefPtr.h>
 
 class EwkView;
index e3f0d3d..6538609 100644 (file)
@@ -29,6 +29,7 @@
 #include "WKAPICast.h"
 #include "WKArray.h"
 #include "WKBase.h"
+#include "WKEinaSharedString.h"
 #include "WKString.h"
 #include "ewk_form_submission_request_private.h"
 
index b2b8073..69bed88 100644 (file)
@@ -27,7 +27,6 @@
 #define ewk_form_submission_request_private_h
 
 #include "WKDictionary.h"
-#include "WKEinaSharedString.h"
 #include "WKFormSubmissionListener.h"
 #include "WKRetainPtr.h"
 #include "ewk_object_private.h"
index 5c73d61..9979d67 100644 (file)
@@ -27,6 +27,7 @@
 #include "ewk_navigation_data.h"
 
 #include "ewk_navigation_data_private.h"
+#include "ewk_url_request_private.h"
 
 using namespace WebKit;
 
index b130c61..acd28b1 100644 (file)
@@ -30,7 +30,6 @@
 #include "WKEinaSharedString.h"
 #include "WKNavigationDataRef.h"
 #include "WKRetainPtr.h"
-#include "ewk_private.h"
 #include "ewk_url_request_private.h"
 #include <wtf/PassRefPtr.h>
 
index 752ea19..a73db8e 100644 (file)
@@ -26,8 +26,8 @@
 #ifndef ewk_page_group_private_h
 #define ewk_page_group_private_h
 
+#include "EflTypedefs.h"
 #include "ewk_object_private.h"
-#include <Evas.h>
 #include <WebKit2/WKBase.h>
 #include <WebKit2/WKRetainPtr.h>
 #include <WebKit2/WKURL.h>
index cb4c7fe..be29c2e 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef ewk_popup_menu_private_h
 #define ewk_popup_menu_private_h
 
-#include <Eina.h>
+#include "EflTypedefs.h"
 #include <WebKit2/WKBase.h>
 
 class EwkView;
index 86cc6b3..eff66c3 100644 (file)
 #include "ewk_view_private.h"
 
 #include "EwkView.h"
-#include "FindClientEfl.h"
-#include "FormClientEfl.h"
-#include "InputMethodContextEfl.h"
-#include "PageLoadClientEfl.h"
-#include "PagePolicyClientEfl.h"
-#include "PageUIClientEfl.h"
-#include "PageViewportController.h"
-#include "PageViewportControllerClientEfl.h"
 #include "ewk_back_forward_list_private.h"
-#include "ewk_context.h"
 #include "ewk_context_private.h"
 #include "ewk_favicon_database_private.h"
-#include "ewk_page_group.h"
 #include "ewk_page_group_private.h"
 #include "ewk_private.h"
 #include "ewk_settings_private.h"
-#include <Ecore_Evas.h>
 #include <JavaScriptCore/JSRetainPtr.h>
 #include <WebKit2/WKAPICast.h>
 #include <WebKit2/WKData.h>
index 8ae6c90..94f9d4d 100644 (file)
@@ -26,8 +26,8 @@
 #ifndef ewk_window_features_private_h
 #define ewk_window_features_private_h
 
+#include "EflTypedefs.h"
 #include "ewk_object_private.h"
-#include <Evas.h>
 #include <WebKit2/WKBase.h>
 #include <wtf/RefCounted.h>
 
index fe116e9..283e292 100644 (file)
@@ -33,6 +33,7 @@
 #include "WKPageEfl.h"
 #include "WKString.h"
 #include "ewk_file_chooser_request_private.h"
+#include "ewk_url_request_private.h"
 #include "ewk_window_features_private.h"
 #include <Ecore_Evas.h>
 
index 23ac5db..2cd189c 100644 (file)
@@ -29,6 +29,8 @@
 #include "EwkView.h"
 #include "PageViewportController.h" 
 #include "WebViewportAttributes.h"
+#include "ewk_private.h"
+#include "ewk_view.h"
 #include <WebKit2/WKString.h>
 #include <WebKit2/WKView.h>
 #include <WebKit2/WKViewEfl.h>