Diff
Modified: trunk/Source/WebKit2/ChangeLog (123453 => 123454)
--- trunk/Source/WebKit2/ChangeLog 2012-07-24 11:08:39 UTC (rev 123453)
+++ trunk/Source/WebKit2/ChangeLog 2012-07-24 11:18:12 UTC (rev 123454)
@@ -1,3 +1,24 @@
+2012-07-24 Christophe Dumez <[email protected]>
+
+ [EFL][WK2] Remove unneeded WebURLRequestEfl and WebURLResponseEfl
+ https://bugs.webkit.org/show_bug.cgi?id=92087
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Remove WebURLRequestEfl and WebURLResponseEfl classes
+ and their corresponding C APIs since we don't need / use
+ them.
+
+ * Shared/API/c/efl/WKURLRequestEfl.cpp: Removed.
+ * Shared/API/c/efl/WKURLRequestEfl.h: Removed.
+ * Shared/API/c/efl/WKURLResponseEfl.cpp: Removed.
+ * Shared/API/c/efl/WKURLResponseEfl.h: Removed.
+ * Shared/efl/WebURLRequestEfl.cpp: Removed.
+ * Shared/efl/WebURLRequestEfl.h: Removed.
+ * Shared/efl/WebURLResponseEfl.cpp: Removed.
+ * Shared/efl/WebURLResponseEfl.h: Removed.
+ * UIProcess/API/efl/ewk_url_request.cpp:
+
2012-07-24 Pierre Rossi <[email protected]>
[Qt] Enable touch slider when touch events are enabled
Deleted: trunk/Source/WebKit2/Shared/API/c/efl/WKURLRequestEfl.cpp (123453 => 123454)
--- trunk/Source/WebKit2/Shared/API/c/efl/WKURLRequestEfl.cpp 2012-07-24 11:08:39 UTC (rev 123453)
+++ trunk/Source/WebKit2/Shared/API/c/efl/WKURLRequestEfl.cpp 2012-07-24 11:18:12 UTC (rev 123454)
@@ -1,32 +0,0 @@
-/*
- * Copyright (C) 2012 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WKURLRequestEfl.h"
-
-#include "WKAPICast.h"
-#include "WebURLRequestEfl.h"
-
-using namespace WebKit;
-
-WKStringRef WKURLRequestEflCopyCookies(WKURLRequestRef requestRef)
-{
- RefPtr<WebURLRequestEfl> requestEfl = WebURLRequestEfl::create(toImpl(requestRef));
- return toCopiedAPI(requestEfl->cookies());
-}
Deleted: trunk/Source/WebKit2/Shared/API/c/efl/WKURLRequestEfl.h (123453 => 123454)
--- trunk/Source/WebKit2/Shared/API/c/efl/WKURLRequestEfl.h 2012-07-24 11:08:39 UTC (rev 123453)
+++ trunk/Source/WebKit2/Shared/API/c/efl/WKURLRequestEfl.h 2012-07-24 11:18:12 UTC (rev 123454)
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2012 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WKURLRequestEfl_h
-#define WKURLRequestEfl_h
-
-#include <WebKit2/WKBase.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-WK_EXPORT WKStringRef WKURLRequestEflCopyCookies(WKURLRequestRef);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* WKURLRequestEfl_h */
Deleted: trunk/Source/WebKit2/Shared/API/c/efl/WKURLResponseEfl.cpp (123453 => 123454)
--- trunk/Source/WebKit2/Shared/API/c/efl/WKURLResponseEfl.cpp 2012-07-24 11:08:39 UTC (rev 123453)
+++ trunk/Source/WebKit2/Shared/API/c/efl/WKURLResponseEfl.cpp 2012-07-24 11:18:12 UTC (rev 123454)
@@ -1,32 +0,0 @@
-/*
- * Copyright (C) 2012 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WKURLResponseEfl.h"
-
-#include "WKAPICast.h"
-#include "WebURLResponseEfl.h"
-
-using namespace WebKit;
-
-WKStringRef WKURLResponseEflCopyContentType(WKURLResponseRef responseRef)
-{
- RefPtr<WebURLResponseEfl> responseEfl = WebURLResponseEfl::create(toImpl(responseRef));
- return toCopiedAPI(responseEfl->contentType());
-}
Deleted: trunk/Source/WebKit2/Shared/API/c/efl/WKURLResponseEfl.h (123453 => 123454)
--- trunk/Source/WebKit2/Shared/API/c/efl/WKURLResponseEfl.h 2012-07-24 11:08:39 UTC (rev 123453)
+++ trunk/Source/WebKit2/Shared/API/c/efl/WKURLResponseEfl.h 2012-07-24 11:18:12 UTC (rev 123454)
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2012 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WKURLResponseEfl_h
-#define WKURLResponseEfl_h
-
-#include <WebKit2/WKBase.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-WK_EXPORT WKStringRef WKURLResponseEflCopyContentType(WKURLResponseRef);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* WKURLResponseEfl_h */
Deleted: trunk/Source/WebKit2/Shared/efl/WebURLRequestEfl.cpp (123453 => 123454)
--- trunk/Source/WebKit2/Shared/efl/WebURLRequestEfl.cpp 2012-07-24 11:08:39 UTC (rev 123453)
+++ trunk/Source/WebKit2/Shared/efl/WebURLRequestEfl.cpp 2012-07-24 11:18:12 UTC (rev 123454)
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2012 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WebURLRequestEfl.h"
-
-using namespace WebCore;
-
-namespace WebKit {
-
-WebURLRequestEfl::WebURLRequestEfl(const WebURLRequest* request)
- : m_request(request)
-{
-}
-
-const String WebURLRequestEfl::cookies() const
-{
- if (!m_request)
- return String();
-
- return m_request->resourceRequest().httpHeaderField("Cookie");
-}
-
-} // namespace WebKit
Deleted: trunk/Source/WebKit2/Shared/efl/WebURLRequestEfl.h (123453 => 123454)
--- trunk/Source/WebKit2/Shared/efl/WebURLRequestEfl.h 2012-07-24 11:08:39 UTC (rev 123453)
+++ trunk/Source/WebKit2/Shared/efl/WebURLRequestEfl.h 2012-07-24 11:18:12 UTC (rev 123454)
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2012 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebURLRequestEfl_h
-#define WebURLRequestEfl_h
-
-#include "WebURLRequest.h"
-#include <wtf/Forward.h>
-#include <wtf/RefCounted.h>
-
-namespace WebKit {
-
-class WebURLRequestEfl : public RefCounted<WebURLRequestEfl> {
-public:
- static PassRefPtr<WebURLRequestEfl> create(const WebURLRequest* request)
- {
- return adoptRef(new WebURLRequestEfl(request));
- }
-
- const String cookies() const;
-
-private:
- explicit WebURLRequestEfl(const WebURLRequest*);
-
- const WebURLRequest* m_request;
-};
-
-} // namespace WebKit
-
-#endif // WebURLRequestEfl_h
Deleted: trunk/Source/WebKit2/Shared/efl/WebURLResponseEfl.cpp (123453 => 123454)
--- trunk/Source/WebKit2/Shared/efl/WebURLResponseEfl.cpp 2012-07-24 11:08:39 UTC (rev 123453)
+++ trunk/Source/WebKit2/Shared/efl/WebURLResponseEfl.cpp 2012-07-24 11:18:12 UTC (rev 123454)
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2012 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "WebURLResponseEfl.h"
-
-namespace WebKit {
-
-WebURLResponseEfl::WebURLResponseEfl(const WebURLResponse* response)
- : m_response(response)
-{
-}
-
-const String& WebURLResponseEfl::contentType() const
-{
- if (!m_response)
- return String();
-
- return m_response->resourceResponse().mimeType();
-}
-
-} // namespace WebKit
Deleted: trunk/Source/WebKit2/Shared/efl/WebURLResponseEfl.h (123453 => 123454)
--- trunk/Source/WebKit2/Shared/efl/WebURLResponseEfl.h 2012-07-24 11:08:39 UTC (rev 123453)
+++ trunk/Source/WebKit2/Shared/efl/WebURLResponseEfl.h 2012-07-24 11:18:12 UTC (rev 123454)
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2012 Samsung Electronics
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef WebURLResponseEfl_h
-#define WebURLResponseEfl_h
-
-#include "WebURLResponse.h"
-#include <wtf/Forward.h>
-#include <wtf/RefCounted.h>
-
-namespace WebKit {
-
-class WebURLResponseEfl : public RefCounted<WebURLResponseEfl> {
-public:
- static PassRefPtr<WebURLResponseEfl> create(const WebURLResponse* response)
- {
- return adoptRef(new WebURLResponseEfl(response));
- }
-
- const String& contentType() const;
-
-private:
- explicit WebURLResponseEfl(const WebURLResponse*);
-
- const WebURLResponse* m_response;
-};
-
-} // namespace WebKit
-
-#endif // WebURLResponseEfl_h
Modified: trunk/Source/WebKit2/UIProcess/API/efl/ewk_url_request.cpp (123453 => 123454)
--- trunk/Source/WebKit2/UIProcess/API/efl/ewk_url_request.cpp 2012-07-24 11:08:39 UTC (rev 123453)
+++ trunk/Source/WebKit2/UIProcess/API/efl/ewk_url_request.cpp 2012-07-24 11:18:12 UTC (rev 123454)
@@ -31,7 +31,6 @@
#include "WKURL.h"
#include "WKURLRequest.h"
#include "WebURLRequest.h"
-#include "WebURLRequestEfl.h"
#include "ewk_url_request_private.h"
#include <wtf/text/CString.h>