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

Issue 150139: [chromium-reviews] Change the use of "Language" in Spell Check files to "SpellCheckLanguage". "L... (Closed)

Created:
11 years, 5 months ago by sidchat (Google)
Modified:
9 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews_googlegroups.com, John Grabowski, Ben Goodger (Google)
Visibility:
Public.

Description

Change the use of typedef Language in Spell Check files back to std::string. It is unnecessary, and is conflicting with enum Language definition for compact language detection library. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20042

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -51 lines) Patch
M chrome/browser/spellcheck_worditerator.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/spellchecker.h View 1 2 3 5 chunks +8 lines, -11 lines 0 comments Download
M chrome/browser/spellchecker.cc View 1 2 3 7 chunks +25 lines, -22 lines 2 comments Download
M chrome/browser/spellchecker_common.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/spellchecker_linux.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker_mac.mm View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/spellchecker_platform_engine.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/spellchecker_win.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.cc View 3 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/views/options/languages_page_view.cc View 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
sidchat (Google)
11 years, 5 months ago (2009-06-30 23:09:09 UTC) #1
brettw
http://codereview.chromium.org/150139/diff/24/29 File chrome/browser/spellchecker_common.h (right): http://codereview.chromium.org/150139/diff/24/29#newcode14 Line 14: typedef std::string SpellCheckLanguage; Why is the typedef both ...
11 years, 5 months ago (2009-07-01 15:54:13 UTC) #2
sidchat (Google)
http://codereview.chromium.org/150139/diff/24/29 File chrome/browser/spellchecker_common.h (right): http://codereview.chromium.org/150139/diff/24/29#newcode14 Line 14: typedef std::string SpellCheckLanguage; Yes, these were also used ...
11 years, 5 months ago (2009-07-01 19:33:19 UTC) #3
brettw
On 2009/07/01 19:33:19, sidchat (Google) wrote: > http://codereview.chromium.org/150139/diff/24/29 > File chrome/browser/spellchecker_common.h (right): > > http://codereview.chromium.org/150139/diff/24/29#newcode14 ...
11 years, 5 months ago (2009-07-01 20:19:42 UTC) #4
sidchat (Google)
What I meant was SpellCheckLanguage is now declared _only_ in spellchecker_common.h, and not in SpellChecker ...
11 years, 5 months ago (2009-07-01 20:41:15 UTC) #5
brettw
This typedef just seems unnecessary. The old "Language" was clearly a bad idea, and I ...
11 years, 5 months ago (2009-07-01 21:11:15 UTC) #6
sidchat (Google)
OK, I see. Made changes as per your suggestions. Please have a look again. -Sid ...
11 years, 5 months ago (2009-07-01 23:01:20 UTC) #7
brettw
11 years, 5 months ago (2009-07-01 23:11:33 UTC) #8
Thanks! LGTM

http://codereview.chromium.org/150139/diff/60/62
File chrome/browser/spellchecker.cc (right):

http://codereview.chromium.org/150139/diff/60/62#newcode119
Line 119: GetCorrespondingSpellCheckLanguage(const std::string& language) {
Can you wrap this like it used to be?

http://codereview.chromium.org/150139/diff/60/62#newcode337
Line 337: FilePath SpellChecker::GetVersionedFileName(
I think the old wrapping was better here.

Powered by Google App Engine
This is Rietveld 408576698