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

Issue 10837177: Add a menu item to content_shell to open devtools to make it more discoverable. (Closed)

Created:
8 years, 4 months ago by jam
Modified:
8 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Add a menu item to content_shell to open devtools to make it more discoverable. Since the devtools server is running for each content shell browser process, the user doesn't specify a server port anymore. Instead I let the system pick. This made it necessary to plumb the data back from net::HttpServer. For now I only added Windows and Linux UI. Mac UI will be done later. BUG=90445 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150808

Patch Set 1 #

Patch Set 2 : fix android compile, and add gtk support #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -43 lines) Patch
M chrome/common/chrome_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/debugger/devtools_http_handler_impl.h View 1 3 chunks +13 lines, -9 lines 0 comments Download
M content/browser/debugger/devtools_http_handler_impl.cc View 1 3 chunks +24 lines, -6 lines 0 comments Download
M content/public/browser/devtools_http_handler.h View 2 chunks +5 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M content/shell/resource.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/shell.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/shell.cc View 3 chunks +18 lines, -0 lines 0 comments Download
M content/shell/shell.rc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/shell/shell_browser_context.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/shell/shell_browser_main_parts.cc View 2 chunks +2 lines, -15 lines 2 comments Download
M content/shell/shell_content_browser_client.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/shell/shell_devtools_delegate.h View 2 chunks +5 lines, -1 line 0 comments Download
M content/shell/shell_devtools_delegate.cc View 2 chunks +1 line, -4 lines 0 comments Download
M content/shell/shell_devtools_delegate_android.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/shell/shell_gtk.cc View 1 2 chunks +38 lines, -0 lines 0 comments Download
M content/shell/shell_win.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M net/base/stream_listen_socket.h View 2 chunks +5 lines, -0 lines 0 comments Download
M net/base/stream_listen_socket.cc View 2 chunks +17 lines, -0 lines 0 comments Download
M net/server/http_server.h View 2 chunks +4 lines, -0 lines 0 comments Download
M net/server/http_server.cc View 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
jam
ramant: net pfeldman: everything else. also, should I get rid of shell_devtools_discovery_page.html? or leave it ...
8 years, 4 months ago (2012-08-09 00:31:45 UTC) #1
ramant (doing other things)
net code LGTM.
8 years, 4 months ago (2012-08-09 07:45:21 UTC) #2
pfeldman
devtools lgtm. I think it is worth leaving the command line argument for the content ...
8 years, 4 months ago (2012-08-09 12:44:07 UTC) #3
jam
On 2012/08/09 12:44:07, pfeldman wrote: > devtools lgtm. > > I think it is worth ...
8 years, 4 months ago (2012-08-09 15:47:09 UTC) #4
Avi (use Gerrit)
http://codereview.chromium.org/10837177/diff/10003/content/shell/shell_browser_main_parts.cc File content/shell/shell_browser_main_parts.cc (right): http://codereview.chromium.org/10837177/diff/10003/content/shell/shell_browser_main_parts.cc#newcode88 content/shell/shell_browser_main_parts.cc:88: #endif How are these if branches different? I'll fix ...
8 years, 4 months ago (2012-08-09 19:18:00 UTC) #5
jam
8 years, 4 months ago (2012-08-10 16:49:56 UTC) #6
http://codereview.chromium.org/10837177/diff/10003/content/shell/shell_browse...
File content/shell/shell_browser_main_parts.cc (right):

http://codereview.chromium.org/10837177/diff/10003/content/shell/shell_browse...
content/shell/shell_browser_main_parts.cc:88: #endif
On 2012/08/09 19:18:00, Avi wrote:
> How are these if branches different? I'll fix with the Mac version.

I missed that :)

Powered by Google App Engine
This is Rietveld 408576698