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

Issue 174162: Don't show "Inspect Element" in the context menu if we can't inspect. (Closed)

Created:
11 years, 4 months ago by agl
Modified:
9 years, 7 months ago
Reviewers:
tony, Evan Martin, pfeldman, fta
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Don't show "Inspect Element" in the context menu if we can't inspect. Ubuntu want to ship with the inspector files in a separate package and having menu items which are broken isn't nice.

Patch Set 1 #

Patch Set 2 : ... #

Total comments: 9

Patch Set 3 : ... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -8 lines) Patch
M chrome/browser/browser_main.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/browser_process.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/browser_process_impl.h View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 3 chunks +30 lines, -1 line 0 comments Download
M chrome/browser/gtk/standard_menus.cc View 2 4 chunks +14 lines, -3 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/views/toolbar_view.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/test/testing_browser_process.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
agl
11 years, 4 months ago (2009-08-20 20:57:47 UTC) #1
Evan Martin
http://codereview.chromium.org/174162/diff/1001/1002 File chrome/browser/browser_main.cc (right): http://codereview.chromium.org/174162/diff/1001/1002#newcode787 Line 787: browser_process->CheckForInspectorFiles(); Will this regress startup? (More disk contention.) ...
11 years, 4 months ago (2009-08-20 21:07:28 UTC) #2
agl
http://codereview.chromium.org/174162/diff/1001/1002 File chrome/browser/browser_main.cc (right): http://codereview.chromium.org/174162/diff/1001/1002#newcode787 Line 787: browser_process->CheckForInspectorFiles(); On 2009/08/20 21:07:28, Evan Martin wrote: > ...
11 years, 4 months ago (2009-08-20 21:15:38 UTC) #3
Evan Martin
ship it
11 years, 4 months ago (2009-08-20 21:27:32 UTC) #4
Evan Martin
(Note that I wonder when the menu creation happens -- is it when the browser ...
11 years, 4 months ago (2009-08-20 21:28:14 UTC) #5
tony
On 2009/08/20 21:28:14, Evan Martin wrote: > (Note that I wonder when the menu creation ...
11 years, 4 months ago (2009-08-20 21:41:17 UTC) #6
tony
Which is to say, if the startup tests don't regress, seems fine to do it ...
11 years, 4 months ago (2009-08-20 21:42:04 UTC) #7
pfeldman
Do we know why Ubuntu wants it this way? Here is why I think this ...
11 years, 1 month ago (2009-11-12 10:32:21 UTC) #8
Evan Martin
11 years, 1 month ago (2009-11-12 16:55:22 UTC) #9
fta: see comment by pfeldman

Powered by Google App Engine
This is Rietveld 408576698