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 2591073002: Simplify context menu for misspelled words + add metrics to this context (Closed)

Created:
4 years ago by edwardjung
Modified:
3 years, 4 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify context menu for misspelled words + Add metrics for misspelled word context to measure usage of menu items. BUG=678655 Review-Url: https://codereview.chromium.org/2591073002 Cr-Commit-Position: refs/heads/master@{#442545} Committed: https://chromium.googlesource.com/chromium/src/+/8bedca0b30c55f439af1f13f580dcfb352856d8b

Patch Set 1 #

Patch Set 2 : Add histogram for misspelled word context menu #

Patch Set 3 : Update browser tests #

Patch Set 4 : Merge #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -31 lines) Patch
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 1 2 3 8 chunks +28 lines, -12 lines 2 comments Download
M chrome/browser/renderer_context_menu/spelling_menu_observer.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc View 1 2 7 chunks +10 lines, -18 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (28 generated)
edwardjung
@avi PTAL at: c/b/renderer_context_menu/render_view_context_menu.cc c/b/renderer_context_menu/spelling_menu_observer.cc c/b/renderer_context_menu/spelling_menu_observer_browsertest.cc @holte PTAL at: tools/metrics/histograms/histograms.xml Thanks
3 years, 11 months ago (2017-01-09 10:25:31 UTC) #15
Avi (use Gerrit)
lgtm
3 years, 11 months ago (2017-01-09 16:02:17 UTC) #16
edwardjung
@holte PTAL at: tools/metrics/histograms/histograms.xml
3 years, 11 months ago (2017-01-09 19:15:51 UTC) #18
Steven Holte
lgtm
3 years, 11 months ago (2017-01-09 21:03:31 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2591073002/60001
3 years, 11 months ago (2017-01-10 10:07:03 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/8bedca0b30c55f439af1f13f580dcfb352856d8b
3 years, 11 months ago (2017-01-10 10:11:09 UTC) #33
Lei Zhang
https://codereview.chromium.org/2591073002/diff/60001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right): https://codereview.chromium.org/2591073002/diff/60001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#newcode1295 chrome/browser/renderer_context_menu/render_view_context_menu.cc:1295: params_.misspelled_word.empty()) { Why does printing care if there's misspelled ...
3 years, 4 months ago (2017-08-02 01:37:17 UTC) #35
edwardjung
3 years, 4 months ago (2017-08-02 13:10:25 UTC) #36
Message was sent while issue was closed.
https://codereview.chromium.org/2591073002/diff/60001/chrome/browser/renderer...
File chrome/browser/renderer_context_menu/render_view_context_menu.cc (right):

https://codereview.chromium.org/2591073002/diff/60001/chrome/browser/renderer...
chrome/browser/renderer_context_menu/render_view_context_menu.cc:1295:
params_.misspelled_word.empty()) {
On 2017/08/02 01:37:17, Lei Zhang wrote:
> Why does printing care if there's misspelled words or not?

We're trying to optimise the context menu so that we don't have items like print
on context menu click on a misspelled word. It's highly unlikely you don't want
to print a misspelled word.

Powered by Google App Engine
This is Rietveld 408576698