[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

commit-queue at webkit.org commit-queue at webkit.org
Wed Dec 22 16:13:58 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 9fa7156d004fd56098ed0f1b318e239b89bb5c60
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Nov 19 22:13:55 2010 +0000

    2010-11-19  Ilya Sherman  <isherman at chromium.org>
    
            Reviewed by Darin Fisher.
    
            Expose default value of maxLength in Chromium API
            https://bugs.webkit.org/show_bug.cgi?id=49723
    
            * public/WebInputElement.h: Added constant defaultMaximumLength
            * src/WebInputElement.cpp:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72436 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/chromium/ChangeLog b/WebKit/chromium/ChangeLog
index 3b2ddf4..73230bc 100644
--- a/WebKit/chromium/ChangeLog
+++ b/WebKit/chromium/ChangeLog
@@ -1,3 +1,13 @@
+2010-11-19  Ilya Sherman  <isherman at chromium.org>
+
+        Reviewed by Darin Fisher.
+
+        Expose default value of maxLength in Chromium API
+        https://bugs.webkit.org/show_bug.cgi?id=49723
+
+        * public/WebInputElement.h: Added constant defaultMaximumLength
+        * src/WebInputElement.cpp:
+
 2010-11-18  Zhenyao Mo  <zmo at google.com>
 
         Reviewed by Kenneth Russell.
diff --git a/WebKit/chromium/public/WebInputElement.h b/WebKit/chromium/public/WebInputElement.h
index 0c0764c..3dd7e40 100644
--- a/WebKit/chromium/public/WebInputElement.h
+++ b/WebKit/chromium/public/WebInputElement.h
@@ -80,6 +80,9 @@ namespace WebKit {
         WEBKIT_API int selectionEnd() const;
         WEBKIT_API bool isValidValue(const WebString&) const;
 
+        // Exposes the default value of the maxLength attribute.
+        WEBKIT_API static const int defaultMaxLength;
+
 #if WEBKIT_IMPLEMENTATION
         WebInputElement(const WTF::PassRefPtr<WebCore::HTMLInputElement>&);
         WebInputElement& operator=(const WTF::PassRefPtr<WebCore::HTMLInputElement>&);
diff --git a/WebKit/chromium/src/WebInputElement.cpp b/WebKit/chromium/src/WebInputElement.cpp
index d032ef8..8d89c60 100644
--- a/WebKit/chromium/src/WebInputElement.cpp
+++ b/WebKit/chromium/src/WebInputElement.cpp
@@ -160,6 +160,8 @@ bool WebInputElement::isValidValue(const WebString& value) const
     return constUnwrap<HTMLInputElement>()->isValidValue(value);
 }
 
+const int WebInputElement::defaultMaxLength = HTMLInputElement::s_maximumLength;
+
 WebInputElement::WebInputElement(const PassRefPtr<HTMLInputElement>& elem)
     : WebFormControlElement(elem)
 {

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list