Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Issue 21157006: change tsf_input_scopes::SetInputScopeForTsfUnawareWindow to SetInputScopesForTsfUnawareWindow (Closed)

Created:
7 years, 4 months ago by yoichio
Modified:
7 years, 4 months ago
CC:
chromium-reviews, nona+watch_chromium.org, James Su, penghuang+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

change tsf_input_scopes::SetInputScopeForTsfUnawareWindow to SetInputScopesForTsfUnawareWindow function to set InputScopes representing both TextInputType and TextInputMode. implementation: change GetSetInputScope to GetSetInputScopes function to get SetInputScopes procedure address from msctf.dll. BUG=244688 TEST=Manually done on Windows 8 with on-screen keyboard Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215880

Patch Set 1 #

Patch Set 2 : update #

Total comments: 13

Patch Set 3 : modify #

Total comments: 2

Patch Set 4 : rename functions to avoid overloading #

Total comments: 2

Patch Set 5 : rename args #

Total comments: 8

Patch Set 6 : Thread safe #

Total comments: 4

Patch Set 7 : Remove singleton and add thread checking #

Total comments: 4

Patch Set 8 : modify comments #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -20 lines) Patch
M content/browser/renderer_host/render_widget_host_view_win.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M ui/base/ime/win/tsf_input_scope.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -3 lines 0 comments Download
M ui/base/ime/win/tsf_input_scope.cc View 1 2 3 4 5 6 7 8 4 chunks +59 lines, -15 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
yoichio
7 years, 4 months ago (2013-07-31 04:20:11 UTC) #1
yoichio
On 2013/07/31 04:20:11, yoichio wrote: This cl is just adding a new function. Please review.
7 years, 4 months ago (2013-07-31 04:20:50 UTC) #2
Yohei Yukawa
https://chromiumcodereview.appspot.com/21157006/diff/2001/ui/base/ime/win/tsf_input_scope.cc File ui/base/ime/win/tsf_input_scope.cc (right): https://chromiumcodereview.appspot.com/21157006/diff/2001/ui/base/ime/win/tsf_input_scope.cc#newcode91 ui/base/ime/win/tsf_input_scope.cc:91: Proc GetTSFProcedure(LPCSTR procedure_name) { We prefer to use |const ...
7 years, 4 months ago (2013-07-31 05:47:35 UTC) #3
yoichio
https://chromiumcodereview.appspot.com/21157006/diff/2001/ui/base/ime/win/tsf_input_scope.cc File ui/base/ime/win/tsf_input_scope.cc (right): https://chromiumcodereview.appspot.com/21157006/diff/2001/ui/base/ime/win/tsf_input_scope.cc#newcode91 ui/base/ime/win/tsf_input_scope.cc:91: Proc GetTSFProcedure(LPCSTR procedure_name) { On 2013/07/31 05:47:35, Yohei Yukawa ...
7 years, 4 months ago (2013-07-31 06:13:54 UTC) #4
Yohei Yukawa
https://chromiumcodereview.appspot.com/21157006/diff/2001/ui/base/ime/win/tsf_input_scope.cc File ui/base/ime/win/tsf_input_scope.cc (right): https://chromiumcodereview.appspot.com/21157006/diff/2001/ui/base/ime/win/tsf_input_scope.cc#newcode146 ui/base/ime/win/tsf_input_scope.cc:146: case TEXT_INPUT_MODE_VERBATIM: So what happens when MS-IME finds IS_ALPHANUMERIC_HALFWIDTH? ...
7 years, 4 months ago (2013-07-31 06:23:19 UTC) #5
yoichio
On 2013/07/31 06:23:19, Yohei Yukawa wrote: > https://chromiumcodereview.appspot.com/21157006/diff/2001/ui/base/ime/win/tsf_input_scope.cc > File ui/base/ime/win/tsf_input_scope.cc (right): > > https://chromiumcodereview.appspot.com/21157006/diff/2001/ui/base/ime/win/tsf_input_scope.cc#newcode146 ...
7 years, 4 months ago (2013-07-31 06:27:16 UTC) #6
Yohei Yukawa
https://chromiumcodereview.appspot.com/21157006/diff/11001/ui/base/ime/win/tsf_input_scope.cc File ui/base/ime/win/tsf_input_scope.cc (right): https://chromiumcodereview.appspot.com/21157006/diff/11001/ui/base/ime/win/tsf_input_scope.cc#newcode144 ui/base/ime/win/tsf_input_scope.cc:144: InputScope GetInputScopeType(TextInputMode text_input_mode) { We prefer to avoid function ...
7 years, 4 months ago (2013-07-31 06:44:15 UTC) #7
yoichio
https://chromiumcodereview.appspot.com/21157006/diff/11001/ui/base/ime/win/tsf_input_scope.cc File ui/base/ime/win/tsf_input_scope.cc (right): https://chromiumcodereview.appspot.com/21157006/diff/11001/ui/base/ime/win/tsf_input_scope.cc#newcode144 ui/base/ime/win/tsf_input_scope.cc:144: InputScope GetInputScopeType(TextInputMode text_input_mode) { On 2013/07/31 06:44:15, Yohei Yukawa ...
7 years, 4 months ago (2013-07-31 06:49:34 UTC) #8
Yohei Yukawa
https://chromiumcodereview.appspot.com/21157006/diff/18001/ui/base/ime/win/tsf_input_scope.cc File ui/base/ime/win/tsf_input_scope.cc (right): https://chromiumcodereview.appspot.com/21157006/diff/18001/ui/base/ime/win/tsf_input_scope.cc#newcode137 ui/base/ime/win/tsf_input_scope.cc:137: const InputScope *pInputScopes, Please keep consistency about naming with ...
7 years, 4 months ago (2013-07-31 06:54:15 UTC) #9
yoichio
https://chromiumcodereview.appspot.com/21157006/diff/18001/ui/base/ime/win/tsf_input_scope.cc File ui/base/ime/win/tsf_input_scope.cc (right): https://chromiumcodereview.appspot.com/21157006/diff/18001/ui/base/ime/win/tsf_input_scope.cc#newcode137 ui/base/ime/win/tsf_input_scope.cc:137: const InputScope *pInputScopes, On 2013/07/31 06:54:15, Yohei Yukawa wrote: ...
7 years, 4 months ago (2013-07-31 07:09:23 UTC) #10
Yohei Yukawa
lgtm
7 years, 4 months ago (2013-07-31 07:14:39 UTC) #11
yoichio
+nona@ as OWNER.
7 years, 4 months ago (2013-07-31 07:17:37 UTC) #12
Seigo Nonaka
https://chromiumcodereview.appspot.com/21157006/diff/23001/ui/base/ime/win/tsf_input_scope.cc File ui/base/ime/win/tsf_input_scope.cc (right): https://chromiumcodereview.appspot.com/21157006/diff/23001/ui/base/ime/win/tsf_input_scope.cc#newcode94 ui/base/ime/win/tsf_input_scope.cc:94: // Thread safety is not required. Sorry this is ...
7 years, 4 months ago (2013-07-31 13:23:09 UTC) #13
yoichio
+yukawa. I changed large part of this CL so appreciate if you could re-review. Thanks ...
7 years, 4 months ago (2013-08-01 10:29:21 UTC) #14
Seigo Nonaka
https://chromiumcodereview.appspot.com/21157006/diff/23001/ui/base/ime/win/tsf_input_scope.cc File ui/base/ime/win/tsf_input_scope.cc (right): https://chromiumcodereview.appspot.com/21157006/diff/23001/ui/base/ime/win/tsf_input_scope.cc#newcode94 ui/base/ime/win/tsf_input_scope.cc:94: // Thread safety is not required. Sorry for confusing ...
7 years, 4 months ago (2013-08-01 17:07:59 UTC) #15
yoichio
After all, CL looks simplified. https://chromiumcodereview.appspot.com/21157006/diff/30001/ui/base/ime/win/tsf_input_scope.cc File ui/base/ime/win/tsf_input_scope.cc (right): https://chromiumcodereview.appspot.com/21157006/diff/30001/ui/base/ime/win/tsf_input_scope.cc#newcode99 ui/base/ime/win/tsf_input_scope.cc:99: class TSFProceduresSingleton { On ...
7 years, 4 months ago (2013-08-05 08:19:49 UTC) #16
Yohei Yukawa
https://chromiumcodereview.appspot.com/21157006/diff/37001/ui/base/ime/win/tsf_input_scope.cc File ui/base/ime/win/tsf_input_scope.cc (right): https://chromiumcodereview.appspot.com/21157006/diff/37001/ui/base/ime/win/tsf_input_scope.cc#newcode104 ui/base/ime/win/tsf_input_scope.cc:104: // Thread safety is not required because this function ...
7 years, 4 months ago (2013-08-05 08:25:50 UTC) #17
yoichio
https://chromiumcodereview.appspot.com/21157006/diff/37001/ui/base/ime/win/tsf_input_scope.cc File ui/base/ime/win/tsf_input_scope.cc (right): https://chromiumcodereview.appspot.com/21157006/diff/37001/ui/base/ime/win/tsf_input_scope.cc#newcode104 ui/base/ime/win/tsf_input_scope.cc:104: // Thread safety is not required because this function ...
7 years, 4 months ago (2013-08-05 08:30:40 UTC) #18
Yohei Yukawa
lgtm
7 years, 4 months ago (2013-08-05 08:31:40 UTC) #19
Seigo Nonaka
lgtm
7 years, 4 months ago (2013-08-05 16:30:57 UTC) #20
yoichio
+jochen@ as OWNER.
7 years, 4 months ago (2013-08-05 22:49:07 UTC) #21
jochen (gone - plz use gerrit)
lgtm
7 years, 4 months ago (2013-08-06 01:12:11 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoichio@chromium.org/21157006/45001
7 years, 4 months ago (2013-08-06 01:14:58 UTC) #23
commit-bot: I haz the power
Failed to apply patch for ui/base/ime/win/tsf_input_scope.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 4 months ago (2013-08-06 03:07:03 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoichio@chromium.org/21157006/67001
7 years, 4 months ago (2013-08-06 08:28:14 UTC) #25
commit-bot: I haz the power
7 years, 4 months ago (2013-08-06 12:43:15 UTC) #26
Message was sent while issue was closed.
Change committed as 215880

Powered by Google App Engine
This is Rietveld 408576698