Notify that text is dirty (modified by script etc.) from Blink to browser
Introduce a flag to indicate text is dirty, i.e.,
modified by non-user input (script or autofill)
in order to force update the text input state from renderer
to browser when a field gets dirty.
r226301 introduced distinction for updating text input
state whether the change was made by IME or anything else
for Android to avoid collision between update from
renderer and IME.
Bug 348833 revealed a corner case that that
even an edit is initiated by IME, resulting update
from renderer isn't the same text edited by the IME,
because event handlers for 'input' or 'composition*'
events may modify the text which was from IME but
it was reported back to browser as "non-IME update".
Due to the corner case described above, this caused
inconsistency of editing content between Blink and
Chromium browser process.
Blink side of this change is:
https://codereview.chromium.org/
220733002/
BUG=348833
TEST=manually test crbug.com/348833#c4
TBR=cevans@chromium.org (for view_messages.h), seivers@chromium.org, aelias@chromium.org (RWHV Android)
Review URL: https://codereview.chromium.org/
220723002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262666 0039d316-1c4b-4281-b951-d872f2087c98