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

Issue 10548022: Synchronize the check status of the "Check Spelling While Typing" item. (Closed)

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

Description

Synchronize the check status of the "Check Spelling While Typing" item. This change uses the profile value for "browser.enable_spellcheck" to check/uncheck the "Check Spelling While Typing" item not only for saving its status but also for synchronizing its status between a context mnu and a menu bar. BUG=131712 TEST=SpellCheckerSubMenuObserverTest.ToggleSpelling Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144114

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : #

Total comments: 10

Patch Set 6 : #

Total comments: 5

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -38 lines) Patch
M chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm View 1 2 3 4 5 6 7 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/spellchecker_submenu_observer.h View 1 2 3 4 5 6 7 1 chunk +1 line, -9 lines 0 comments Download
A chrome/browser/tab_contents/spellchecker_submenu_observer_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +155 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/spellchecker_submenu_observer_hunspell.cc View 1 2 3 4 5 6 7 7 chunks +11 lines, -13 lines 0 comments Download
M chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc View 1 2 3 4 5 6 7 5 chunks +10 lines, -16 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Hironori Bono
Greetings Jeremy and Avi, I would like to use the "browser.enable_spellcheck" to synchronize the check ...
8 years, 6 months ago (2012-06-13 11:09:17 UTC) #1
jeremy
I only reviewed the Mac side of this change. http://codereview.chromium.org/10548022/diff/1/chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc File chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc (left): http://codereview.chromium.org/10548022/diff/1/chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc#oldcode89 chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc:89: ...
8 years, 6 months ago (2012-06-13 17:43:30 UTC) #2
Hironori Bono
Greetings Jeremy, Thanks for your review and comments. I have updated my change to apply ...
8 years, 6 months ago (2012-06-14 08:16:03 UTC) #3
jeremy
Do you know under what case the profile can be null? http://codereview.chromium.org/10548022/diff/8003/chrome/browser/tab_contents/spellchecker_submenu_observer_hunspell.cc File chrome/browser/tab_contents/spellchecker_submenu_observer_hunspell.cc (right): ...
8 years, 6 months ago (2012-06-14 14:49:50 UTC) #4
Hironori Bono
Greetings Jeremy, Thanks for your comments. In brief, |profile| became NULL on the old version ...
8 years, 6 months ago (2012-06-18 07:23:55 UTC) #5
jeremy
http://codereview.chromium.org/10548022/diff/15001/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm File chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm (right): http://codereview.chromium.org/10548022/diff/15001/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm#newcode299 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm:299: if (profile) { Is this null check still needed? ...
8 years, 6 months ago (2012-06-19 12:14:43 UTC) #6
Hironori Bono
Greetings Jeremy, Thanks for your comments. I have updated my change to apply them as ...
8 years, 6 months ago (2012-06-21 09:38:18 UTC) #7
jeremy
LGTM http://codereview.chromium.org/10548022/diff/28001/chrome/browser/tab_contents/spellchecker_submenu_observer_browsertest.cc File chrome/browser/tab_contents/spellchecker_submenu_observer_browsertest.cc (right): http://codereview.chromium.org/10548022/diff/28001/chrome/browser/tab_contents/spellchecker_submenu_observer_browsertest.cc#newcode44 chrome/browser/tab_contents/spellchecker_submenu_observer_browsertest.cc:44: } I think that for these empty functions ...
8 years, 6 months ago (2012-06-21 09:48:35 UTC) #8
Hironori Bono
Greetings Jeremy, Thanks for your review and comments. I have applied most of them. Greetings ...
8 years, 6 months ago (2012-06-25 06:54:08 UTC) #9
Avi (use Gerrit)
lgtm
8 years, 6 months ago (2012-06-25 13:07:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hbono@chromium.org/10548022/51001
8 years, 6 months ago (2012-06-26 03:51:23 UTC) #11
commit-bot: I haz the power
8 years, 6 months ago (2012-06-26 05:05:18 UTC) #12
Change committed as 144114

Powered by Google App Engine
This is Rietveld 408576698