Chromium Code Reviews| Index: Source/web/tests/WebViewTest.cpp |
| diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp |
| index 17f20ee5eb6c2677056f97ff6d0531ef7e65ae74..ef865ae3e33d5302533c9ff74e0069cd01eb7f4e 100644 |
| --- a/Source/web/tests/WebViewTest.cpp |
| +++ b/Source/web/tests/WebViewTest.cpp |
| @@ -1129,6 +1129,8 @@ public: |
| virtual ~MockAutofillClient() { } |
| virtual void setIgnoreTextChanges(bool ignore) OVERRIDE { m_ignoreTextChanges = ignore; } |
| + // TODO(ziran.sun): This function is to be removed once both chromium and blink changes |
|
tkent
2014/03/05 23:18:39
TODO() -> FIXME
|
| + // for BUG332557 are in. |
| virtual void textFieldDidChange(const WebInputElement&) OVERRIDE |
| { |
| if (m_ignoreTextChanges) |
| @@ -1136,6 +1138,13 @@ public: |
| else |
| ++m_textChangesWhileNotIgnored; |
| } |
| + virtual void textFieldDidChange(const WebFormControlElement&) OVERRIDE |
| + { |
| + if (m_ignoreTextChanges) |
| + ++m_textChangesWhileIgnored; |
| + else |
| + ++m_textChangesWhileNotIgnored; |
| + } |
| void clearChangeCounts() |
| { |