[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.17-1283-gcf603cf
eric at webkit.org
eric at webkit.org
Tue Jan 5 23:46:00 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit cbdebed5ae26dd801f5f4ae8d6a41147e3de6376
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Dec 9 20:06:59 2009 +0000
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.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51911 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/win/ChangeLog b/WebKit/win/ChangeLog
index 74fd372..4d0fdf3 100644
--- a/WebKit/win/ChangeLog
+++ b/WebKit/win/ChangeLog
@@ -8,6 +8,16 @@
* WebFrame.cpp:
(WebFrame::selectAll): Implement "SelectAll" command.
+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 9063fde..0d16b21 100644
--- a/WebKit/win/WebFrame.cpp
+++ b/WebKit/win/WebFrame.cpp
@@ -998,7 +998,14 @@ HRESULT STDMETHODCALLTYPE WebFrame::selectAll()
HRESULT STDMETHODCALLTYPE WebFrame::deselectAll()
{
- return E_NOTIMPL;
+ Frame* coreFrame = core(this);
+ if (!coreFrame)
+ return E_FAIL;
+
+ if (!coreFrame->editor()->command("SelectAll").execute())
+ return E_FAIL;
+
+ return S_OK;
}
// WebFrame ---------------------------------------------------------------
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list