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

Issue 10831403: TsfTextStore implementation. (Closed)

Created:
8 years, 4 months ago by horo
Modified:
8 years, 3 months ago
CC:
chrome-tsf_google.com
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

TsfTextStore implementation. BUG=141611 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=153453

Patch Set 1 #

Patch Set 2 : fix misstype #

Total comments: 65

Patch Set 3 : Add SendOnLayoutChange() method. #

Patch Set 4 : #

Total comments: 40

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : reflected code review meeting #

Total comments: 14

Patch Set 8 : #

Total comments: 16

Patch Set 9 : #

Total comments: 2

Patch Set 10 : #

Patch Set 11 : Add unit tests. #

Total comments: 2

Patch Set 12 : #

Total comments: 26

Patch Set 13 : #

Total comments: 4

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1770 lines, -45 lines) Patch
M ui/base/win/tsf_text_store.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +150 lines, -6 lines 0 comments Download
M ui/base/win/tsf_text_store.cc View 1 2 3 4 5 6 7 8 9 10 11 12 17 chunks +496 lines, -39 lines 0 comments Download
A ui/base/win/tsf_text_store_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1123 lines, -0 lines 0 comments Download
M ui/ui_unittests.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
horo
8 years, 4 months ago (2012-08-21 09:41:24 UTC) #1
horo
8 years, 4 months ago (2012-08-21 09:44:03 UTC) #2
Seigo Nonaka
initial scan http://codereview.chromium.org/10831403/diff/2003/ui/base/win/tsf_text_store.cc File ui/base/win/tsf_text_store.cc (right): http://codereview.chromium.org/10831403/diff/2003/ui/base/win/tsf_text_store.cc#newcode19 ui/base/win/tsf_text_store.cc:19: nit: remove line. http://codereview.chromium.org/10831403/diff/2003/ui/base/win/tsf_text_store.cc#newcode21 ui/base/win/tsf_text_store.cc:21: CLSCTX_INPROC_SERVER))) { ...
8 years, 4 months ago (2012-08-21 12:22:41 UTC) #3
horo
http://codereview.chromium.org/10831403/diff/2003/ui/base/win/tsf_text_store.cc File ui/base/win/tsf_text_store.cc (right): http://codereview.chromium.org/10831403/diff/2003/ui/base/win/tsf_text_store.cc#newcode19 ui/base/win/tsf_text_store.cc:19: On 2012/08/21 12:22:41, Seigo Nonaka wrote: > nit: remove ...
8 years, 4 months ago (2012-08-21 13:59:57 UTC) #4
Seigo Nonaka
http://codereview.chromium.org/10831403/diff/2003/ui/base/win/tsf_text_store.cc File ui/base/win/tsf_text_store.cc (right): http://codereview.chromium.org/10831403/diff/2003/ui/base/win/tsf_text_store.cc#newcode354 ui/base/win/tsf_text_store.cc:354: text_store_acp_sink_->OnSelectionChange(); Got it, thanks. On 2012/08/21 13:59:57, horo wrote: ...
8 years, 4 months ago (2012-08-21 16:14:06 UTC) #5
horo
http://codereview.chromium.org/10831403/diff/9001/ui/base/win/tsf_text_store.cc File ui/base/win/tsf_text_store.cc (right): http://codereview.chromium.org/10831403/diff/9001/ui/base/win/tsf_text_store.cc#newcode229 ui/base/win/tsf_text_store.cc:229: LONG acp_end, On 2012/08/21 16:14:06, Seigo Nonaka wrote: > ...
8 years, 4 months ago (2012-08-22 02:22:33 UTC) #6
horo
I have updated the code according to the code review meeting.
8 years, 4 months ago (2012-08-22 10:53:45 UTC) #7
Seigo Nonaka
lgtm lgtm with style nits, but please wait other reviewer's lgtm. http://codereview.chromium.org/10831403/diff/18001/ui/base/win/tsf_text_store.cc File ui/base/win/tsf_text_store.cc (right): ...
8 years, 4 months ago (2012-08-22 16:44:19 UTC) #8
horo
http://codereview.chromium.org/10831403/diff/18001/ui/base/win/tsf_text_store.cc File ui/base/win/tsf_text_store.cc (right): http://codereview.chromium.org/10831403/diff/18001/ui/base/win/tsf_text_store.cc#newcode259 ui/base/win/tsf_text_store.cc:259: // equal values of |acp_start| and |acp_end|. So we ...
8 years, 4 months ago (2012-08-23 01:06:51 UTC) #9
Yohei Yukawa
http://codereview.chromium.org/10831403/diff/18002/ui/base/win/tsf_text_store.cc File ui/base/win/tsf_text_store.cc (right): http://codereview.chromium.org/10831403/diff/18002/ui/base/win/tsf_text_store.cc#newcode16 ui/base/win/tsf_text_store.cc:16: } } // namespace http://codereview.chromium.org/10831403/diff/18002/ui/base/win/tsf_text_store.cc#newcode27 ui/base/win/tsf_text_store.cc:27: CLSID_TF_CategoryMgr, NULL, CLSCTX_INPROC_SERVER))) ...
8 years, 4 months ago (2012-08-23 04:10:27 UTC) #10
horo
https://chromiumcodereview.appspot.com/10831403/diff/18002/ui/base/win/tsf_text_store.cc File ui/base/win/tsf_text_store.cc (right): https://chromiumcodereview.appspot.com/10831403/diff/18002/ui/base/win/tsf_text_store.cc#newcode16 ui/base/win/tsf_text_store.cc:16: } On 2012/08/23 04:10:27, Yohei Yukawa wrote: > } ...
8 years, 4 months ago (2012-08-23 04:39:44 UTC) #11
Yohei Yukawa
lgtm http://codereview.chromium.org/10831403/diff/12004/ui/base/win/tsf_text_store.cc File ui/base/win/tsf_text_store.cc (right): http://codereview.chromium.org/10831403/diff/12004/ui/base/win/tsf_text_store.cc#newcode365 ui/base/win/tsf_text_store.cc:365: text_change->acpNewEnd = start_pos + text_buffer_size; text_change->acpNewEnd = new_end_pos;
8 years, 4 months ago (2012-08-23 06:23:15 UTC) #12
horo
https://chromiumcodereview.appspot.com/10831403/diff/12004/ui/base/win/tsf_text_store.cc File ui/base/win/tsf_text_store.cc (right): https://chromiumcodereview.appspot.com/10831403/diff/12004/ui/base/win/tsf_text_store.cc#newcode365 ui/base/win/tsf_text_store.cc:365: text_change->acpNewEnd = start_pos + text_buffer_size; On 2012/08/23 06:23:16, Yohei ...
8 years, 4 months ago (2012-08-23 07:20:43 UTC) #13
Yohei Yukawa
lgtm http://codereview.chromium.org/10831403/diff/19005/ui/base/win/tsf_text_store_unittest.cc File ui/base/win/tsf_text_store_unittest.cc (right): http://codereview.chromium.org/10831403/diff/19005/ui/base/win/tsf_text_store_unittest.cc#newcode107 ui/base/win/tsf_text_store_unittest.cc:107: text_store_->AdviseSink(IID_ITextStoreACPSink, Indent?
8 years, 4 months ago (2012-08-23 10:16:44 UTC) #14
horo
https://chromiumcodereview.appspot.com/10831403/diff/19005/ui/base/win/tsf_text_store_unittest.cc File ui/base/win/tsf_text_store_unittest.cc (right): https://chromiumcodereview.appspot.com/10831403/diff/19005/ui/base/win/tsf_text_store_unittest.cc#newcode107 ui/base/win/tsf_text_store_unittest.cc:107: text_store_->AdviseSink(IID_ITextStoreACPSink, On 2012/08/23 10:16:44, Yohei Yukawa wrote: > Indent? ...
8 years, 4 months ago (2012-08-23 10:36:18 UTC) #15
horo
cpu@ and sky@ Could you please review this CL. Thank you.
8 years, 4 months ago (2012-08-23 10:46:22 UTC) #16
sky
LGTM
8 years, 4 months ago (2012-08-23 16:24:54 UTC) #17
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/10831403/diff/20004/ui/base/win/tsf_text_store.cc File ui/base/win/tsf_text_store.cc (right): http://codereview.chromium.org/10831403/diff/20004/ui/base/win/tsf_text_store.cc#newcode7 ui/base/win/tsf_text_store.cc:7: #include <OleCtl.h> space between the system include and the ...
8 years, 4 months ago (2012-08-23 18:37:47 UTC) #18
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/10831403/diff/20004/ui/base/win/tsf_text_store_unittest.cc File ui/base/win/tsf_text_store_unittest.cc (right): http://codereview.chromium.org/10831403/diff/20004/ui/base/win/tsf_text_store_unittest.cc#newcode264 ui/base/win/tsf_text_store_unittest.cc:264: } how aboout testing also when you call RequestLock(TS_LF_READWRITE, ...
8 years, 4 months ago (2012-08-23 19:36:45 UTC) #19
cpu_(ooo_6.6-7.5)
8 years, 4 months ago (2012-08-23 19:37:29 UTC) #20
horo
Thank you for your review! http://codereview.chromium.org/10831403/diff/20004/ui/base/win/tsf_text_store.cc File ui/base/win/tsf_text_store.cc (right): http://codereview.chromium.org/10831403/diff/20004/ui/base/win/tsf_text_store.cc#newcode7 ui/base/win/tsf_text_store.cc:7: #include <OleCtl.h> On 2012/08/23 ...
8 years, 4 months ago (2012-08-24 11:42:23 UTC) #21
cpu_(ooo_6.6-7.5)
lgtm Thanks for the explanation on the .h file. http://codereview.chromium.org/10831403/diff/21005/ui/base/win/tsf_text_store.h File ui/base/win/tsf_text_store.h (right): http://codereview.chromium.org/10831403/diff/21005/ui/base/win/tsf_text_store.h#newcode31 ui/base/win/tsf_text_store.h:31: ...
8 years, 4 months ago (2012-08-24 21:12:44 UTC) #22
horo
Thank you very much! http://codereview.chromium.org/10831403/diff/21005/ui/base/win/tsf_text_store.h File ui/base/win/tsf_text_store.h (right): http://codereview.chromium.org/10831403/diff/21005/ui/base/win/tsf_text_store.h#newcode31 ui/base/win/tsf_text_store.h:31: // - The user enter ...
8 years, 3 months ago (2012-08-27 03:46:49 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/horo@chromium.org/10831403/12006
8 years, 3 months ago (2012-08-27 03:53:32 UTC) #24
commit-bot: I haz the power
8 years, 3 months ago (2012-08-27 07:24:25 UTC) #25
Change committed as 153453

Powered by Google App Engine
This is Rietveld 408576698