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

Issue 12218134: Introduce intercepting and handling devtools messages in the renderer. (Closed)

Created:
7 years, 10 months ago by kkania
Modified:
7 years, 10 months ago
CC:
chromium-reviews, vsevik, jam, yurys, joi+watch-content_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Introduce intercepting and handling devtools messages in the renderer. Add interception for DOM.setFileInputFiles, that gives appropriate permissions. BUG=167100 TBR=jam Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183735

Patch Set 1 : . #

Total comments: 14

Patch Set 2 : just rebase #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -108 lines) Patch
M chrome/test/data/extensions/api_test/debugger/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/devtools/devtools_browser_target.h View 1 2 3 chunks +6 lines, -47 lines 0 comments Download
M content/browser/devtools/devtools_browser_target.cc View 1 2 2 chunks +13 lines, -48 lines 0 comments Download
M content/browser/devtools/devtools_http_handler_impl.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/devtools/devtools_protocol.h View 1 2 3 chunks +36 lines, -0 lines 0 comments Download
M content/browser/devtools/devtools_protocol.cc View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
M content/browser/devtools/devtools_tracing_handler.h View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/devtools/devtools_tracing_handler.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M content/browser/devtools/render_view_devtools_agent_host.h View 3 chunks +2 lines, -2 lines 0 comments Download
M content/browser/devtools/render_view_devtools_agent_host.cc View 1 2 3 chunks +18 lines, -3 lines 0 comments Download
A content/browser/devtools/renderer_overrides_handler.h View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A content/browser/devtools/renderer_overrides_handler.cc View 1 2 3 1 chunk +64 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
kkania
Let me know if this is an ok approach. I couldn't do exactly what you ...
7 years, 10 months ago (2013-02-13 01:57:51 UTC) #1
pfeldman
Overall looks good. A couple of suggestions below. https://codereview.chromium.org/12218134/diff/4002/content/browser/devtools/devtools_browser_target.cc File content/browser/devtools/devtools_browser_target.cc (right): https://codereview.chromium.org/12218134/diff/4002/content/browser/devtools/devtools_browser_target.cc#newcode33 content/browser/devtools/devtools_browser_target.cc:33: return ...
7 years, 10 months ago (2013-02-13 17:38:24 UTC) #2
kkania
addressed all comments (except I didn't make a constant for the command name) +jam for ...
7 years, 10 months ago (2013-02-13 19:17:19 UTC) #3
pfeldman
lgtm I'd like to see constants extracted at least for overridden method names so that ...
7 years, 10 months ago (2013-02-13 19:23:19 UTC) #4
kkania
thanks for quick review; made it a constant; will commit once dependent cl is in
7 years, 10 months ago (2013-02-13 19:37:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkania@chromium.org/12218134/14003
7 years, 10 months ago (2013-02-14 16:41:08 UTC) #6
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=99740
7 years, 10 months ago (2013-02-14 19:11:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kkania@chromium.org/12218134/28001
7 years, 10 months ago (2013-02-21 01:34:50 UTC) #8
commit-bot: I haz the power
7 years, 10 months ago (2013-02-21 03:55:11 UTC) #9
Message was sent while issue was closed.
Change committed as 183735

Powered by Google App Engine
This is Rietveld 408576698