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

Issue 8879046: Print preview: Disable the right context menu items in print preview. (Closed)

Created:
9 years ago by Lei Zhang
Modified:
9 years ago
CC:
chromium-reviews, Avi (use Gerrit), ajwong+watch_chromium.org, creis+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Print preview: Disable the right context menu items in print preview. BUG=106876, 106915 TEST=see bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113943

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Patch Set 4 : fix win build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -0 lines) Patch
A chrome/browser/printing/print_preview_context_menu_observer.h View 1 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/browser/printing/print_preview_context_menu_observer.cc View 1 2 3 1 chunk +53 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.cc View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Lei Zhang
http://codereview.chromium.org/8879046/diff/1/chrome/browser/printing/print_preview_message_handler.cc File chrome/browser/printing/print_preview_message_handler.cc (right): http://codereview.chromium.org/8879046/diff/1/chrome/browser/printing/print_preview_message_handler.cc#newcode248 chrome/browser/printing/print_preview_message_handler.cc:248: // This helps prevents the print preview tab from ...
9 years ago (2011-12-09 07:07:49 UTC) #1
vandebo (ex-Chrome)
http://codereview.chromium.org/8879046/diff/1/chrome/browser/tab_contents/render_view_context_menu.cc File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/8879046/diff/1/chrome/browser/tab_contents/render_view_context_menu.cc#newcode983 chrome/browser/tab_contents/render_view_context_menu.cc:983: if (observer->IsCommandIdSupported(id)) Could print preview just be a RenderViewContextMenuObserver ...
9 years ago (2011-12-09 17:40:19 UTC) #2
Lei Zhang
http://codereview.chromium.org/8879046/diff/1/chrome/browser/tab_contents/render_view_context_menu.cc File chrome/browser/tab_contents/render_view_context_menu.cc (right): http://codereview.chromium.org/8879046/diff/1/chrome/browser/tab_contents/render_view_context_menu.cc#newcode983 chrome/browser/tab_contents/render_view_context_menu.cc:983: if (observer->IsCommandIdSupported(id)) On 2011/12/09 17:40:19, vandebo wrote: > Could ...
9 years ago (2011-12-10 01:37:23 UTC) #3
vandebo (ex-Chrome)
http://codereview.chromium.org/8879046/diff/10002/chrome/browser/printing/print_preview_context_menu_observer.cc File chrome/browser/printing/print_preview_context_menu_observer.cc (right): http://codereview.chromium.org/8879046/diff/10002/chrome/browser/printing/print_preview_context_menu_observer.cc#newcode33 chrome/browser/printing/print_preview_context_menu_observer.cc:33: return true; I think IdSupported is the one that ...
9 years ago (2011-12-10 02:18:22 UTC) #4
Lei Zhang
http://codereview.chromium.org/8879046/diff/10002/chrome/browser/printing/print_preview_context_menu_observer.cc File chrome/browser/printing/print_preview_context_menu_observer.cc (right): http://codereview.chromium.org/8879046/diff/10002/chrome/browser/printing/print_preview_context_menu_observer.cc#newcode33 chrome/browser/printing/print_preview_context_menu_observer.cc:33: return true; On 2011/12/10 02:18:22, vandebo wrote: > I ...
9 years ago (2011-12-10 02:31:33 UTC) #5
vandebo (ex-Chrome)
LGTM
9 years ago (2011-12-10 02:33:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/8879046/10006
9 years ago (2011-12-10 02:40:47 UTC) #7
commit-bot: I haz the power
Try job failure for 8879046-10006 (retry) on win_rel for step "compile" (clobber build). It's a ...
9 years ago (2011-12-10 03:45:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/8879046/8012
9 years ago (2011-12-10 03:53:31 UTC) #9
commit-bot: I haz the power
9 years ago (2011-12-10 05:50:57 UTC) #10
Change committed as 113943

Powered by Google App Engine
This is Rietveld 408576698