Title: [144185] trunk/Source/WebKit/chromium
Revision
144185
Author
[email protected]
Date
2013-02-27 07:35:09 -0800 (Wed, 27 Feb 2013)

Log Message

Unreviewed, rolling out r144179.
http://trac.webkit.org/changeset/144179
https://bugs.webkit.org/show_bug.cgi?id=110980

Breaks compilation (Requested by vsevik on #webkit).

Patch by Sheriff Bot <[email protected]> on 2013-02-27

* public/WebTextInputType.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::textInputInfo):
(WebKit::WebViewImpl::textInputType):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (144184 => 144185)


--- trunk/Source/WebKit/chromium/ChangeLog	2013-02-27 15:29:52 UTC (rev 144184)
+++ trunk/Source/WebKit/chromium/ChangeLog	2013-02-27 15:35:09 UTC (rev 144185)
@@ -1,3 +1,16 @@
+2013-02-27  Sheriff Bot  <[email protected]>
+
+        Unreviewed, rolling out r144179.
+        http://trac.webkit.org/changeset/144179
+        https://bugs.webkit.org/show_bug.cgi?id=110980
+
+        Breaks compilation (Requested by vsevik on #webkit).
+
+        * public/WebTextInputType.h:
+        * src/WebViewImpl.cpp:
+        (WebKit::WebViewImpl::textInputInfo):
+        (WebKit::WebViewImpl::textInputType):
+
 2013-02-27  Stephen Chenney  <[email protected]>
 
         [chromium] GIFImageDecoderTest.parseAndDecodeByteByByte failing on Android

Modified: trunk/Source/WebKit/chromium/public/WebTextInputType.h (144184 => 144185)


--- trunk/Source/WebKit/chromium/public/WebTextInputType.h	2013-02-27 15:29:52 UTC (rev 144184)
+++ trunk/Source/WebKit/chromium/public/WebTextInputType.h	2013-02-27 15:35:09 UTC (rev 144185)
@@ -48,7 +48,6 @@
     WebTextInputTypeNumber,
     WebTextInputTypeTelephone,
     WebTextInputTypeURL,
-    WebTextInputTypeDateTimeField,
 
     // FIXME: Remove these types once Date like types are not
     // seen as Text. For now they also exist in WebTextInputType

Modified: trunk/Source/WebKit/chromium/src/WebViewImpl.cpp (144184 => 144185)


--- trunk/Source/WebKit/chromium/src/WebViewImpl.cpp	2013-02-27 15:29:52 UTC (rev 144184)
+++ trunk/Source/WebKit/chromium/src/WebViewImpl.cpp	2013-02-27 15:35:09 UTC (rev 144185)
@@ -2291,10 +2291,6 @@
     if (!focused)
         return info;
 
-    info.type = textInputType();
-    if (info.type == WebTextInputTypeNone)
-        return info;
-
     Editor* editor = focused->editor();
     if (!editor || !editor->canEdit())
         return info;
@@ -2307,6 +2303,10 @@
     if (!node)
         return info;
 
+    info.type = textInputType();
+    if (info.type == WebTextInputTypeNone)
+        return info;
+
     info.value = plainText(rangeOfContents(node).get());
 
     if (info.value.isEmpty())
@@ -2376,14 +2376,6 @@
         return WebTextInputTypeTextArea;
     }
 
-#if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
-    if (node->isHTMLElement()) {
-        HTMLElement* element = toHTMLElement(node);
-        if (element->isDateTimeFieldElement())
-            return WebTextInputTypeDateTimeField;
-    }
-#endif
-
     if (node->shouldUseInputMethod())
         return WebTextInputTypeContentEditable;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to