[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

bfulgham at webkit.org bfulgham at webkit.org
Thu Apr 8 00:29:11 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 8bd339d95d17a04ed54484cdfa92d333ced5eae5
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