Diff
Modified: trunk/Source/WebKit2/ChangeLog (161678 => 161679)
--- trunk/Source/WebKit2/ChangeLog 2014-01-10 22:16:17 UTC (rev 161678)
+++ trunk/Source/WebKit2/ChangeLog 2014-01-10 22:24:00 UTC (rev 161679)
@@ -1,3 +1,16 @@
+2014-01-10 Anders Carlsson <ander...@apple.com>
+
+ Remove dead code
+ https://bugs.webkit.org/show_bug.cgi?id=126782
+
+ Reviewed by Tim Horton.
+
+ * UIProcess/WebPageProxy.cpp:
+ * UIProcess/WebPageProxy.h:
+ * WebProcess/WebPage/WebPage.cpp:
+ * WebProcess/WebPage/WebPage.h:
+ * WebProcess/WebPage/WebPage.messages.in:
+
2014-01-10 Benjamin Poulain <bpoul...@apple.com>
Remove the BlackBerry port from trunk
Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (161678 => 161679)
--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp 2014-01-10 22:16:17 UTC (rev 161678)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp 2014-01-10 22:24:00 UTC (rev 161679)
@@ -4261,11 +4261,6 @@
saveDataToFileInDownloadsFolder(suggestedFilename, "application/pdf", originatingURLString, data.get());
}
-void WebPageProxy::linkClicked(const String& url, const WebMouseEvent& event)
-{
- m_process->send(Messages::WebPage::LinkClicked(url, event), m_pageID, 0);
-}
-
void WebPageProxy::setMinimumLayoutSize(const IntSize& minimumLayoutSize)
{
if (m_minimumLayoutSize == minimumLayoutSize)
Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.h (161678 => 161679)
--- trunk/Source/WebKit2/UIProcess/WebPageProxy.h 2014-01-10 22:16:17 UTC (rev 161678)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.h 2014-01-10 22:24:00 UTC (rev 161679)
@@ -792,8 +792,6 @@
void openPDFFromTemporaryFolderWithNativeApplication(const String& pdfUUID);
#endif
- void linkClicked(const String&, const WebMouseEvent&);
-
WebCore::IntRect visibleScrollerThumbRect() const { return m_visibleScrollerThumbRect; }
uint64_t renderTreeSize() const { return m_renderTreeSize; }
Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (161678 => 161679)
--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp 2014-01-10 22:16:17 UTC (rev 161678)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp 2014-01-10 22:24:00 UTC (rev 161679)
@@ -949,15 +949,6 @@
loadDataImpl(sharedBuffer, ASCIILiteral("application/x-webarchive"), ASCIILiteral("utf-16"), blankURL(), URL(), decoder);
}
-void WebPage::linkClicked(const String& url, const WebMouseEvent& event)
-{
- RefPtr<Event> coreEvent;
- if (event.type() != WebEvent::NoType)
- coreEvent = MouseEvent::create(eventNames().clickEvent, m_page->mainFrame().document()->defaultView(), platform(event), 0, 0);
-
- m_page->mainFrame().loader().loadFrameRequest(FrameLoadRequest(&m_page->mainFrame(), ResourceRequest(url)), false, false, coreEvent.get(), 0, MaybeSendReferrer);
-}
-
void WebPage::stopLoadingFrame(uint64_t frameID)
{
WebFrame* frame = WebProcess::shared().webFrame(frameID);
Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h (161678 => 161679)
--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h 2014-01-10 22:16:17 UTC (rev 161678)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h 2014-01-10 22:24:00 UTC (rev 161679)
@@ -718,7 +718,6 @@
void loadAlternateHTMLString(const String& htmlString, const String& baseURL, const String& unreachableURL, IPC::MessageDecoder&);
void loadPlainTextString(const String&, IPC::MessageDecoder&);
void loadWebArchiveData(const IPC::DataReference&, IPC::MessageDecoder&);
- void linkClicked(const String& url, const WebMouseEvent&);
void reload(bool reloadFromOrigin, const SandboxExtension::Handle&);
void goForward(uint64_t);
void goBack(uint64_t);
Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in (161678 => 161679)
--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in 2014-01-10 22:16:17 UTC (rev 161678)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.messages.in 2014-01-10 22:24:00 UTC (rev 161679)
@@ -86,8 +86,6 @@
LoadPlainTextString(String string, WebKit::WebContextUserMessageEncoder userData) Variadic
LoadWebArchiveData(IPC::DataReference webArchiveData, WebKit::WebContextUserMessageEncoder userData) Variadic
- LinkClicked(String url, WebKit::WebMouseEvent event)
-
Reload(bool reloadFromOrigin, WebKit::SandboxExtension::Handle sandboxExtensionHandle)
StopLoading()