[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.17-1283-gcf603cf
bfulgham at webkit.org
bfulgham at webkit.org
Tue Jan 5 23:45:57 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit 38eb075c7ea2e70601c98bb97c7076b3d56a1a22
Author: bfulgham at webkit.org <bfulgham at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Dec 9 18:53:32 2009 +0000
Provide an implementation for 'selectAll'
https://bugs.webkit.org/show_bug.cgi?id=32296
Reviewed by Darin Adler.
* WebFrame.cpp:
(WebFrame::selectAll): Implement "SelectAll" command.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/win/ChangeLog b/WebKit/win/ChangeLog
index d002807..74fd372 100644
--- a/WebKit/win/ChangeLog
+++ b/WebKit/win/ChangeLog
@@ -1,3 +1,13 @@
+2009-12-09 Brent Fulgham <bfulgham at webkit.org>
+
+ Reviewed by Darin Adler.
+
+ Provide an implementation for 'selectAll'
+ https://bugs.webkit.org/show_bug.cgi?id=32296
+
+ * WebFrame.cpp:
+ (WebFrame::selectAll): Implement "SelectAll" command.
+
2009-12-08 Chris Marrin <cmarrin at apple.com>
Reviewed by Adam Roben.
diff --git a/WebKit/win/WebFrame.cpp b/WebKit/win/WebFrame.cpp
index a93b572..9063fde 100644
--- a/WebKit/win/WebFrame.cpp
+++ b/WebKit/win/WebFrame.cpp
@@ -986,7 +986,14 @@ HRESULT STDMETHODCALLTYPE WebFrame::selectedString(
HRESULT STDMETHODCALLTYPE WebFrame::selectAll()
{
- return E_NOTIMPL;
+ Frame* coreFrame = core(this);
+ if (!coreFrame)
+ return E_FAIL;
+
+ if (!coreFrame->editor()->command("SelectAll").execute())
+ return E_FAIL;
+
+ return S_OK;
}
HRESULT STDMETHODCALLTYPE WebFrame::deselectAll()
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list