|
|
Created:
7 years, 1 month ago by yoichio Modified:
7 years, 1 month ago CC:
chromium-reviews, extensions-reviews_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, nona+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, nkostylev+watch_chromium.org Base URL:
svn://svn.chromium.org/chrome/trunk/src Visibility:
Public. |
DescriptionSet focused TextInputType to the Ime extension.
Input elements typed "text", "search", "tel", "url", "email" and "number" are text input field: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#attr-input-type
context.type should represent those types.
BUG=311514
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233521
Patch Set 1 #
Total comments: 4
Patch Set 2 : delete password enum #
Total comments: 4
Messages
Total messages: 21 (0 generated)
Could you take a look?
lgtm with nit. https://codereview.chromium.org/47553010/diff/1/chrome/browser/chromeos/input... File chrome/browser/chromeos/input_method/input_method_engine_ibus.cc (right): https://codereview.chromium.org/47553010/diff/1/chrome/browser/chromeos/input... chrome/browser/chromeos/input_method/input_method_engine_ibus.cc:420: case ibus::TEXT_INPUT_TYPE_SEARCH: nit: need two-space indent. https://codereview.chromium.org/47553010/diff/1/chrome/common/extensions/api/... File chrome/common/extensions/api/input_ime.json (right): https://codereview.chromium.org/47553010/diff/1/chrome/common/extensions/api/... chrome/common/extensions/api/input_ime.json:32: "type": {"type": "string", "description": "Type of value this text field edits, (Text, Number, Password, etc)", "enum": ["text", "search", "tel", "url", "email", "password", "number"]} Please drop "password" from this, input method framework does not forward keyboard event on password field.
https://codereview.chromium.org/47553010/diff/1/chrome/browser/chromeos/input... File chrome/browser/chromeos/input_method/input_method_engine_ibus.cc (right): https://codereview.chromium.org/47553010/diff/1/chrome/browser/chromeos/input... chrome/browser/chromeos/input_method/input_method_engine_ibus.cc:420: case ibus::TEXT_INPUT_TYPE_SEARCH: On 2013/10/30 04:00:00, Seigo Nonaka wrote: > nit: need two-space indent. Done. https://codereview.chromium.org/47553010/diff/1/chrome/common/extensions/api/... File chrome/common/extensions/api/input_ime.json (right): https://codereview.chromium.org/47553010/diff/1/chrome/common/extensions/api/... chrome/common/extensions/api/input_ime.json:32: "type": {"type": "string", "description": "Type of value this text field edits, (Text, Number, Password, etc)", "enum": ["text", "search", "tel", "url", "email", "password", "number"]} On 2013/10/30 04:00:00, Seigo Nonaka wrote: > Please drop "password" from this, input method framework does not forward > keyboard event on password field. Done.
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoichio@chromium.org/47553010/110001
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_p...
Add kalman@ as an OWNER for chrome/common/extensions/api/input_ime.json. The change to the file is to modify enum. Could you review?
https://codereview.chromium.org/47553010/diff/110001/chrome/common/extensions... File chrome/common/extensions/api/input_ime.json (right): https://codereview.chromium.org/47553010/diff/110001/chrome/common/extensions... chrome/common/extensions/api/input_ime.json:32: "type": {"type": "string", "description": "Type of value this text field edits, (Text, Number, URL, etc)", "enum": ["text", "search", "tel", "url", "email", "number"]} what happened to password?
On 2013/10/30 13:58:31, kalman wrote: > https://codereview.chromium.org/47553010/diff/110001/chrome/common/extensions... > File chrome/common/extensions/api/input_ime.json (right): > > https://codereview.chromium.org/47553010/diff/110001/chrome/common/extensions... > chrome/common/extensions/api/input_ime.json:32: "type": {"type": "string", > "description": "Type of value this text field edits, (Text, Number, URL, etc)", > "enum": ["text", "search", "tel", "url", "email", "number"]} > what happened to password? The input method framework does not forward events on a password field to the IME extension. So the password enum doesn't make sense.
https://codereview.chromium.org/47553010/diff/110001/chrome/common/extensions... File chrome/common/extensions/api/input_ime.json (right): https://codereview.chromium.org/47553010/diff/110001/chrome/common/extensions... chrome/common/extensions/api/input_ime.json:32: "type": {"type": "string", "description": "Type of value this text field edits, (Text, Number, URL, etc)", "enum": ["text", "search", "tel", "url", "email", "number"]} On 2013/10/30 13:58:31, kalman wrote: > what happened to password? It's already in the API though, you can't remove it.
https://codereview.chromium.org/47553010/diff/110001/chrome/common/extensions... File chrome/common/extensions/api/input_ime.json (right): https://codereview.chromium.org/47553010/diff/110001/chrome/common/extensions... chrome/common/extensions/api/input_ime.json:32: "type": {"type": "string", "description": "Type of value this text field edits, (Text, Number, URL, etc)", "enum": ["text", "search", "tel", "url", "email", "number"]} On 2013/10/31 02:40:30, kalman wrote: > On 2013/10/30 13:58:31, kalman wrote: > > what happened to password? > > It's already in the API though, you can't remove it. Even if it is never used?
lgtm https://codereview.chromium.org/47553010/diff/110001/chrome/common/extensions... File chrome/common/extensions/api/input_ime.json (right): https://codereview.chromium.org/47553010/diff/110001/chrome/common/extensions... chrome/common/extensions/api/input_ime.json:32: "type": {"type": "string", "description": "Type of value this text field edits, (Text, Number, URL, etc)", "enum": ["text", "search", "tel", "url", "email", "number"]} On 2013/10/31 03:05:41, yoichio wrote: > On 2013/10/31 02:40:30, kalman wrote: > > On 2013/10/30 13:58:31, kalman wrote: > > > what happened to password? > > > > It's already in the API though, you can't remove it. > > Even if it is never used? It probably doesn't matter come to think about it, because this data is coming from the browser, so that if an extension does try to handle 'password' here at least it won't break. If the extension were passing 'password' in anywhere then it'd need to stay.
On 2013/10/31 14:59:58, kalman wrote: > lgtm > > https://codereview.chromium.org/47553010/diff/110001/chrome/common/extensions... > File chrome/common/extensions/api/input_ime.json (right): > > https://codereview.chromium.org/47553010/diff/110001/chrome/common/extensions... > chrome/common/extensions/api/input_ime.json:32: "type": {"type": "string", > "description": "Type of value this text field edits, (Text, Number, URL, etc)", > "enum": ["text", "search", "tel", "url", "email", "number"]} > On 2013/10/31 03:05:41, yoichio wrote: > > On 2013/10/31 02:40:30, kalman wrote: > > > On 2013/10/30 13:58:31, kalman wrote: > > > > what happened to password? > > > > > > It's already in the API though, you can't remove it. > > > > Even if it is never used? > > It probably doesn't matter come to think about it, because this data is coming > from the browser, so that if an extension does try to handle 'password' here at > least it won't break. If the extension were passing 'password' in anywhere then > it'd need to stay. Thanks! Yes, the "context.type" value is only passed from the browser to the extension.
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoichio@chromium.org/47553010/110001
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoichio@chromium.org/47553010/110001
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoichio@chromium.org/47553010/110001
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura...
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoichio@chromium.org/47553010/110001
Commit queue rejected this change because the description was changed between the time the change entered the commit queue and the time it was ready to commit. You can safely check the commit box again.
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoichio@chromium.org/47553010/110001
Message was sent while issue was closed.
Change committed as 233521 |