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

eric at webkit.org eric at webkit.org
Thu Apr 8 00:29:16 UTC 2010


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