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

Issue 9368052: Removed WebTextCheckingResult legacy API use. (Closed)

Created:
8 years, 10 months ago by Hajime Morrita
Modified:
8 years, 10 months ago
CC:
chromium-reviews, Avi (use Gerrit), ajwong+watch_chromium.org, creis+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Removed WebTextCheckingResult legacy API use. BUG=none TEST=unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=122429

Patch Set 1 #

Patch Set 2 : Updated to ToT. #

Total comments: 2

Patch Set 3 : Added IPC serialization traits for WebString, Fixed mac build break. #

Total comments: 1

Patch Set 4 : Updated to address feedback. #

Total comments: 3

Patch Set 5 : Addressed Darin's comment. #

Patch Set 6 : Elimianted ParamTrais<WebString>. #

Total comments: 1

Patch Set 7 : Introduced SpellCheckResult as a mirror of WebTextCheckingResult. #

Patch Set 8 : Fixed a build break on Mac. #

Total comments: 12

Patch Set 9 : Another attempt to fix mac build failure.wq #

Patch Set 10 : Addressed the feedback. #

Patch Set 11 : Trying to fix the build failure. #

Patch Set 12 : Trying mac build fix... #

Patch Set 13 : Another trial... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -93 lines) Patch
M chrome/browser/spellchecker/spellcheck_message_filter.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/spellchecker/spellcheck_platform_mac.mm View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/spellchecker/spelling_service_client.h View 1 2 3 4 5 6 7 8 9 4 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/spellchecker/spelling_service_client.cc View 1 2 3 4 5 6 7 8 9 5 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/tab_contents/spelling_menu_observer.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/tab_contents/spelling_menu_observer.cc View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/spellcheck_messages.h View 1 2 3 4 5 6 7 8 9 3 chunks +9 lines, -8 lines 0 comments Download
A chrome/common/spellcheck_result.h View 1 2 3 4 5 6 7 8 9 1 chunk +45 lines, -0 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck.cc View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider.cc View 1 2 3 4 5 6 7 8 9 5 chunks +49 lines, -6 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/spellchecker/spellcheck_unittest.cc View 1 2 3 4 5 6 7 8 9 7 chunks +29 lines, -28 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
Hajime Morrita
Hi Bono-san, could you take a look at this when you have time? This trivial ...
8 years, 10 months ago (2012-02-10 02:05:20 UTC) #1
Hironori Bono
Greetings Morita-san, Thanks for your change. I notice we need to change 'content/public/common/webkit_param_traits.h' so we ...
8 years, 10 months ago (2012-02-10 06:44:20 UTC) #2
Hajime Morrita
Bono-san, thank you for taking a look... and catch the ball. I updated the patch. ...
8 years, 10 months ago (2012-02-10 07:01:55 UTC) #3
Hironori Bono
Greetings Morita-san, Thanks for your quick update. I notice SimilarTypeTraits causes a crash when Reading ...
8 years, 10 months ago (2012-02-10 08:12:51 UTC) #4
Hajime Morrita
Done. Thanks for the catch again!
8 years, 10 months ago (2012-02-10 08:29:20 UTC) #5
Hironori Bono
LGTM (for chrome/browser/spellchecker and chrome/common/). Greetings Avi and John, Would it be possible to review ...
8 years, 10 months ago (2012-02-10 10:18:46 UTC) #6
jam
http://codereview.chromium.org/9368052/diff/4005/content/public/common/webkit_param_traits.h File content/public/common/webkit_param_traits.h (right): http://codereview.chromium.org/9368052/diff/4005/content/public/common/webkit_param_traits.h#newcode235 content/public/common/webkit_param_traits.h:235: struct CONTENT_EXPORT ParamTraits<WebKit::WebString> { I think it was by ...
8 years, 10 months ago (2012-02-10 18:00:09 UTC) #7
darin (slow to review)
http://codereview.chromium.org/9368052/diff/4005/content/public/common/webkit_param_traits.h File content/public/common/webkit_param_traits.h (right): http://codereview.chromium.org/9368052/diff/4005/content/public/common/webkit_param_traits.h#newcode237 content/public/common/webkit_param_traits.h:237: static void Write(Message* m, const param_type& p); yes, please ...
8 years, 10 months ago (2012-02-13 17:40:43 UTC) #8
darin (slow to review)
http://codereview.chromium.org/9368052/diff/4005/chrome/common/spellcheck_messages.h File chrome/common/spellcheck_messages.h (right): http://codereview.chromium.org/9368052/diff/4005/chrome/common/spellcheck_messages.h#newcode14 chrome/common/spellcheck_messages.h:14: IPC_ENUM_TRAITS(WebKit::WebTextCheckingType) serialization of webkit stuff should be in webkit_param_traits.h ...
8 years, 10 months ago (2012-02-13 17:42:37 UTC) #9
gmorrita
On 2012/02/13 17:42:37, darin wrote: > http://codereview.chromium.org/9368052/diff/4005/chrome/common/spellcheck_messages.h > File chrome/common/spellcheck_messages.h (right): > > http://codereview.chromium.org/9368052/diff/4005/chrome/common/spellcheck_messages.h#newcode14 > ...
8 years, 10 months ago (2012-02-14 11:25:09 UTC) #10
jam
On 2012/02/14 11:25:09, morrita wrote: > On 2012/02/13 17:42:37, darin wrote: > > > http://codereview.chromium.org/9368052/diff/4005/chrome/common/spellcheck_messages.h ...
8 years, 10 months ago (2012-02-14 16:15:10 UTC) #11
gmorrita
Hi John, thanks for the comment. > as a hack to avoid creating a wrapper ...
8 years, 10 months ago (2012-02-15 04:57:20 UTC) #12
darin (slow to review)
http://codereview.chromium.org/9368052/diff/21001/content/public/common/webkit_param_traits.cc File content/public/common/webkit_param_traits.cc (right): http://codereview.chromium.org/9368052/diff/21001/content/public/common/webkit_param_traits.cc#newcode333 content/public/common/webkit_param_traits.cc:333: p->replacement.assign(replacement); I don't think we want this. It means ...
8 years, 10 months ago (2012-02-15 05:54:26 UTC) #13
Hajime Morrita
> Some suggestions: > 1- Break replacement out of WebTextCheckingResult. (This sounds bad since you ...
8 years, 10 months ago (2012-02-16 02:45:46 UTC) #14
Hironori Bono
Morita-san, Many thanks for your hard work. These comments are just for fixing build breaks ...
8 years, 10 months ago (2012-02-16 04:22:45 UTC) #15
darin (slow to review)
https://chromiumcodereview.appspot.com/9368052/diff/28002/chrome/common/spellcheck_result.h File chrome/common/spellcheck_result.h (right): https://chromiumcodereview.appspot.com/9368052/diff/28002/chrome/common/spellcheck_result.h#newcode20 chrome/common/spellcheck_result.h:20: struct SpellCheckResult { Do we care that "spell check ...
8 years, 10 months ago (2012-02-16 04:59:28 UTC) #16
Hajime Morrita
Bono-san, Darin, thanks for your quick feedback! I updated the patch to address your points. ...
8 years, 10 months ago (2012-02-16 06:17:58 UTC) #17
darin (slow to review)
On Wed, Feb 15, 2012 at 10:17 PM, <morrita@chromium.org> wrote: > Bono-san, Darin, thanks for ...
8 years, 10 months ago (2012-02-16 19:03:21 UTC) #18
Hajime Morrita
> > Because of its consistency. I prefer the name of SpellCheckResult even > > ...
8 years, 10 months ago (2012-02-16 23:43:27 UTC) #19
darin (slow to review)
LGTM On Thu, Feb 16, 2012 at 3:43 PM, <morrita@chromium.org> wrote: > > > Because ...
8 years, 10 months ago (2012-02-16 23:53:47 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/9368052/36001
8 years, 10 months ago (2012-02-17 00:19:10 UTC) #21
commit-bot: I haz the power
8 years, 10 months ago (2012-02-17 02:14:55 UTC) #22
Change committed as 122429

Powered by Google App Engine
This is Rietveld 408576698