Title: [88621] trunk/Source/WebKit/gtk
- Revision
- 88621
- Author
- [email protected]
- Date
- 2011-06-12 16:34:10 -0700 (Sun, 12 Jun 2011)
Log Message
2011-06-12 Xan Lopez <[email protected]>
Reviewed by Martin Robinson.
[GTK] Remove webkit_web_view_get_selected_text
https://bugs.webkit.org/show_bug.cgi?id=62512
It's no longer used and it's a private method, so it can be
removed.
* webkit/webkitwebview.cpp: kill it.
* webkit/webkitwebviewprivate.h: ditto.
Modified Paths
Diff
Modified: trunk/Source/WebKit/gtk/ChangeLog (88620 => 88621)
--- trunk/Source/WebKit/gtk/ChangeLog 2011-06-12 21:24:09 UTC (rev 88620)
+++ trunk/Source/WebKit/gtk/ChangeLog 2011-06-12 23:34:10 UTC (rev 88621)
@@ -1,3 +1,16 @@
+2011-06-12 Xan Lopez <[email protected]>
+
+ Reviewed by Martin Robinson.
+
+ [GTK] Remove webkit_web_view_get_selected_text
+ https://bugs.webkit.org/show_bug.cgi?id=62512
+
+ It's no longer used and it's a private method, so it can be
+ removed.
+
+ * webkit/webkitwebview.cpp: kill it.
+ * webkit/webkitwebviewprivate.h: ditto.
+
2011-06-12 Adam Barth <[email protected]>
Reviewed by Alexey Proskuryakov.
Modified: trunk/Source/WebKit/gtk/webkit/webkitwebview.cpp (88620 => 88621)
--- trunk/Source/WebKit/gtk/webkit/webkitwebview.cpp 2011-06-12 21:24:09 UTC (rev 88620)
+++ trunk/Source/WebKit/gtk/webkit/webkitwebview.cpp 2011-06-12 23:34:10 UTC (rev 88621)
@@ -4216,22 +4216,6 @@
}
/**
- * webkit_web_view_get_selected_text:
- * @webView: a #WebKitWebView
- *
- * Retrieves the selected text if any.
- *
- * Return value: a newly allocated string with the selection or %NULL
- */
-gchar* webkit_web_view_get_selected_text(WebKitWebView* webView)
-{
- g_return_val_if_fail(WEBKIT_IS_WEB_VIEW(webView), 0);
-
- Frame* frame = core(webView)->focusController()->focusedOrMainFrame();
- return g_strdup(frame->editor()->selectedText().utf8().data());
-}
-
-/**
* webkit_web_view_select_all:
* @webView: a #WebKitWebView
*
Modified: trunk/Source/WebKit/gtk/webkit/webkitwebviewprivate.h (88620 => 88621)
--- trunk/Source/WebKit/gtk/webkit/webkitwebviewprivate.h 2011-06-12 21:24:09 UTC (rev 88620)
+++ trunk/Source/WebKit/gtk/webkit/webkitwebviewprivate.h 2011-06-12 23:34:10 UTC (rev 88621)
@@ -119,8 +119,6 @@
void webkit_web_view_set_tooltip_text(WebKitWebView*, const char*);
GtkMenu* webkit_web_view_get_context_menu(WebKitWebView*);
-WEBKIT_API gchar* webkit_web_view_get_selected_text(WebKitWebView*);
-
void webViewEnterFullscreen(WebKitWebView* webView, WebCore::Node*);
void webViewExitFullscreen(WebKitWebView* webView);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes