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

Issue 10830176: [Mac]: Make dictionary context menu item use system settings for whether to launch Dictionary.app o… (Closed)

Created:
8 years, 4 months ago by Alexei Svitkine (slow)
Modified:
8 years, 4 months ago
Reviewers:
Avi (use Gerrit), Nico
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su
Visibility:
Public.

Description

[Mac]: Make dictionary context menu item use system settings for whether to launch Dictionary.app or show a panel. BUG=65537, 121917 TEST=Open Dictionary.app's preferences and change "Contextual Menu:" to "Open Dictionary Panel". Select a word in the web content area, right click and choose "Look Up in Dictionary". The dictionary panel should appear with the overlay text positioned correctly over the word. Change the setting back in Dictionary.app and observe that choosing "Look Up in Dictionary" brings up Dictionary.app in that case. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150388

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Nit addressed. #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -18 lines) Patch
M chrome/browser/ui/cocoa/tab_contents/render_view_context_menu_mac.mm View 1 2 3 1 chunk +3 lines, -12 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 6 chunks +35 lines, -6 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/render_widget_host_view.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Alexei Svitkine (slow)
8 years, 4 months ago (2012-08-04 02:16:50 UTC) #1
Nico
LGTM with fixed bots You can probably add 121917 to the BUG= line, since I ...
8 years, 4 months ago (2012-08-04 02:34:02 UTC) #2
Alexei Svitkine (slow)
+avi for content/
8 years, 4 months ago (2012-08-06 13:35:54 UTC) #3
Avi (use Gerrit)
Nitting on the comment; LGTM. http://codereview.chromium.org/10830176/diff/5003/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): http://codereview.chromium.org/10830176/diff/5003/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode1415 content/browser/renderer_host/render_widget_host_view_mac.mm:1415: // Set |rect.origin| to ...
8 years, 4 months ago (2012-08-07 14:18:30 UTC) #4
Alexei Svitkine (slow)
Nit addressed.
8 years, 4 months ago (2012-08-07 15:17:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/10830176/7003
8 years, 4 months ago (2012-08-07 17:34:50 UTC) #6
commit-bot: I haz the power
8 years, 4 months ago (2012-08-07 19:17:16 UTC) #7
Change committed as 150388

Powered by Google App Engine
This is Rietveld 408576698