Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: Source/web/WebViewImpl.cpp

Issue 469693003: Cleanup: Remove getSmartClipData function from WebView API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebViewImpl.h ('k') | public/web/WebView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index a9bcedbe1c70647f54161363b2e0ab1b01d175e1..7123e7c77aacf34921d947c0b24af59ae91a6b88 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -3570,16 +3570,6 @@ void WebViewImpl::showContextMenu()
m_contextMenuAllowed = false;
}
-void WebViewImpl::getSmartClipData(WebRect rect, WebString& clipText, WebRect& clipRect)
-{
- LocalFrame* frame = toLocalFrame(focusedWebCoreFrame());
- if (!frame)
- return;
- SmartClipData clipData = blink::SmartClip(frame).dataForRect(rect);
- clipText = clipData.clipData();
- clipRect = clipData.rect();
-}
-
void WebViewImpl::extractSmartClipData(WebRect rect, WebString& clipText, WebString& clipHtml, WebRect& clipRect)
{
LocalFrame* localFrame = toLocalFrame(focusedWebCoreFrame());
« no previous file with comments | « Source/web/WebViewImpl.h ('k') | public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698