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

Issue 7057029: For extension context menus, only apply targetUrlPatterns to appropriate contexts. (Closed)

Created:
9 years, 7 months ago by Ben Olmstead
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Avi (use Gerrit), Paweł Hajdan Jr., brettw-cc_chromium.org
Visibility:
Public.

Description

For extension context menus, only apply targetUrlPatterns to appropriate contexts. BUG=63545 TEST=Use contextMenus.create() with "page" context and targetUrlPattern; verify that menu does show. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86628

Patch Set 1 : Normalize Extension Context Menu Logic #

Patch Set 2 : Fix Broken Test #

Total comments: 3

Patch Set 3 : Review Cleanup #

Patch Set 4 : Update Copyright Header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+288 lines, -25 lines) Patch
M chrome/browser/tab_contents/render_view_context_menu.h View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.cc View 1 2 3 chunks +34 lines, -23 lines 0 comments Download
A chrome/browser/tab_contents/render_view_context_menu_unittest.cc View 1 2 1 chunk +240 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/extensions/context_menus/target_urls/test.js View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Ben Olmstead
9 years, 7 months ago (2011-05-20 23:25:55 UTC) #1
Mihai Parparita -not on Chrome
LGTM, just some style nits. http://codereview.chromium.org/7057029/diff/2002/chrome/browser/tab_contents/render_view_context_menu.cc File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/7057029/diff/2002/chrome/browser/tab_contents/render_view_context_menu.cc#newcode215 chrome/browser/tab_contents/render_view_context_menu.cc:215: bool RenderViewContextMenu::ExtensionContextAndPatternMatch( Convention in ...
9 years, 7 months ago (2011-05-24 00:28:33 UTC) #2
commit-bot: I haz the power
9 years, 7 months ago (2011-05-25 15:59:46 UTC) #3
Change committed as 86628

Powered by Google App Engine
This is Rietveld 408576698