[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198
commit-queue at webkit.org
commit-queue at webkit.org
Sun Feb 20 23:49:19 UTC 2011
The following commit has been merged in the webkit-1.3 branch:
commit 6429a177986182b92e2f7a8044ba7f7b91a5137e
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Jan 25 17:43:34 2011 +0000
2011-01-25 Ilya Sherman <isherman at chromium.org>
Reviewed by Darin Fisher.
Chromium WebKit API: Move dispatchFormControlChangeEvent() from WebInputElement to WebFormControlElement
In service of https://code.google.com/p/chromium/issues/detail?id=42716
https://bugs.webkit.org/show_bug.cgi?id=53069
* public/WebFormControlElement.h:
* public/WebInputElement.h:
* src/WebFormControlElement.cpp:
(WebKit::WebFormControlElement::dispatchFormControlChangeEvent): Moved from WebInputElement
* src/WebInputElement.cpp:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebKit/chromium/ChangeLog b/Source/WebKit/chromium/ChangeLog
index d8a332d..7630958 100644
--- a/Source/WebKit/chromium/ChangeLog
+++ b/Source/WebKit/chromium/ChangeLog
@@ -1,3 +1,17 @@
+2011-01-25 Ilya Sherman <isherman at chromium.org>
+
+ Reviewed by Darin Fisher.
+
+ Chromium WebKit API: Move dispatchFormControlChangeEvent() from WebInputElement to WebFormControlElement
+ In service of https://code.google.com/p/chromium/issues/detail?id=42716
+ https://bugs.webkit.org/show_bug.cgi?id=53069
+
+ * public/WebFormControlElement.h:
+ * public/WebInputElement.h:
+ * src/WebFormControlElement.cpp:
+ (WebKit::WebFormControlElement::dispatchFormControlChangeEvent): Moved from WebInputElement
+ * src/WebInputElement.cpp:
+
2011-01-24 Chris Marrin <cmarrin at apple.com>
Reviewed by Eric Seidel.
diff --git a/Source/WebKit/chromium/public/WebFormControlElement.h b/Source/WebKit/chromium/public/WebFormControlElement.h
index 56a02dd..e70b995 100644
--- a/Source/WebKit/chromium/public/WebFormControlElement.h
+++ b/Source/WebKit/chromium/public/WebFormControlElement.h
@@ -57,6 +57,8 @@ public:
WEBKIT_API WebString formControlName() const;
WEBKIT_API WebString formControlType() const;
+ WEBKIT_API void dispatchFormControlChangeEvent();
+
// Returns the name that should be used for the specified |element| when
// storing autofill data. This is either the field name or its id, an empty
// string if it has no name and no id.
diff --git a/Source/WebKit/chromium/public/WebInputElement.h b/Source/WebKit/chromium/public/WebInputElement.h
index be8623c..60499c1 100644
--- a/Source/WebKit/chromium/public/WebInputElement.h
+++ b/Source/WebKit/chromium/public/WebInputElement.h
@@ -74,7 +74,6 @@ namespace WebKit {
WEBKIT_API WebString placeholder() const;
WEBKIT_API bool isAutofilled() const;
WEBKIT_API void setAutofilled(bool);
- WEBKIT_API void dispatchFormControlChangeEvent();
WEBKIT_API void setSelectionRange(int, int);
WEBKIT_API int selectionStart() const;
WEBKIT_API int selectionEnd() const;
diff --git a/Source/WebKit/chromium/src/WebFormControlElement.cpp b/Source/WebKit/chromium/src/WebFormControlElement.cpp
index a75fe5c..d2bc8ab 100644
--- a/Source/WebKit/chromium/src/WebFormControlElement.cpp
+++ b/Source/WebKit/chromium/src/WebFormControlElement.cpp
@@ -53,6 +53,11 @@ WebString WebFormControlElement::formControlType() const
return constUnwrap<HTMLFormControlElement>()->type();
}
+void WebFormControlElement::dispatchFormControlChangeEvent()
+{
+ unwrap<HTMLFormControlElement>()->dispatchFormControlChangeEvent();
+}
+
WebString WebFormControlElement::nameForAutofill() const
{
String name = constUnwrap<HTMLFormControlElement>()->name();
diff --git a/Source/WebKit/chromium/src/WebInputElement.cpp b/Source/WebKit/chromium/src/WebInputElement.cpp
index 8d89c60..697c096 100644
--- a/Source/WebKit/chromium/src/WebInputElement.cpp
+++ b/Source/WebKit/chromium/src/WebInputElement.cpp
@@ -135,11 +135,6 @@ void WebInputElement::setAutofilled(bool autoFilled)
unwrap<HTMLInputElement>()->setAutofilled(autoFilled);
}
-void WebInputElement::dispatchFormControlChangeEvent()
-{
- unwrap<HTMLInputElement>()->dispatchFormControlChangeEvent();
-}
-
void WebInputElement::setSelectionRange(int start, int end)
{
unwrap<HTMLInputElement>()->setSelectionRange(start, end);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list