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

Issue 127703002: Add a mechanism to let TracingController invoke JavaScript via TracingUI (Closed)

Created:
6 years, 11 months ago by haraken
Modified:
6 years, 11 months ago
Reviewers:
dsinclair, nduca, Xianzhu, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, dsinclair+watch_chromium.org
Visibility:
Public.

Description

Add a mechanism to let TracingController invoke JavaScript via TracingUI This CL enables TracingController to call JavaScript in about:tracing tabs when a monitoring state is changed. If one tab changes the monitoring state, TracingController notifies the change to all other about:tracing tabs. That way we can keep the monitoring state displayed in all about:tracing tabs consistent. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244709

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 1

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -3 lines) Patch
M content/browser/tracing/tracing_controller_impl.h View 1 2 3 4 5 6 7 8 9 4 chunks +7 lines, -0 lines 0 comments Download
M content/browser/tracing/tracing_controller_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +31 lines, -2 lines 0 comments Download
M content/browser/tracing/tracing_ui.h View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/tracing/tracing_ui.cc View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
haraken
PTAL
6 years, 11 months ago (2014-01-08 07:06:49 UTC) #1
dsinclair
https://codereview.chromium.org/127703002/diff/60001/content/browser/tracing/tracing_controller_impl.cc File content/browser/tracing/tracing_controller_impl.cc (right): https://codereview.chromium.org/127703002/diff/60001/content/browser/tracing/tracing_controller_impl.cc#newcode811 content/browser/tracing/tracing_controller_impl.cc:811: { Should we add a: if (is_monitoring == is_monitoring_) ...
6 years, 11 months ago (2014-01-08 15:57:26 UTC) #2
nduca
lgtm awesome but wait for dans review as well
6 years, 11 months ago (2014-01-08 18:12:27 UTC) #3
dsinclair
I was just nits, so lgtm once those are fixed so you aren't blocked overnight.
6 years, 11 months ago (2014-01-08 19:12:36 UTC) #4
haraken
Thanks, all comments addressed. jam: Would you take a look at the content/public/ change?
6 years, 11 months ago (2014-01-09 00:48:18 UTC) #5
jam
https://codereview.chromium.org/127703002/diff/130001/content/public/browser/tracing_controller.h File content/public/browser/tracing_controller.h (right): https://codereview.chromium.org/127703002/diff/130001/content/public/browser/tracing_controller.h#newcode166 content/public/browser/tracing_controller.h:166: virtual void RegisterTracingUI(TracingUI* tracing_ui) = 0; since these are ...
6 years, 11 months ago (2014-01-09 18:11:45 UTC) #6
haraken
https://codereview.chromium.org/127703002/diff/130001/content/public/browser/tracing_controller.h File content/public/browser/tracing_controller.h (right): https://codereview.chromium.org/127703002/diff/130001/content/public/browser/tracing_controller.h#newcode166 content/public/browser/tracing_controller.h:166: virtual void RegisterTracingUI(TracingUI* tracing_ui) = 0; On 2014/01/09 18:11:45, ...
6 years, 11 months ago (2014-01-10 01:02:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/127703002/210001
6 years, 11 months ago (2014-01-10 01:09:43 UTC) #8
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=44240
6 years, 11 months ago (2014-01-10 01:46:38 UTC) #9
haraken
hmm, android bots are failing with the following compile error: > in function content::TracingControllerImpl::OnMonitoringStateChanged(bool):tracing_controller_impl.cc > ...
6 years, 11 months ago (2014-01-10 13:45:57 UTC) #10
Xianzhu
On 2014/01/10 13:45:57, haraken wrote: > hmm, android bots are failing with the following compile ...
6 years, 11 months ago (2014-01-10 17:16:26 UTC) #11
jam
On 2014/01/10 17:16:26, Xianzhu wrote: > On 2014/01/10 13:45:57, haraken wrote: > > hmm, android ...
6 years, 11 months ago (2014-01-10 20:24:13 UTC) #12
jam
https://codereview.chromium.org/127703002/diff/450001/content/public/browser/tracing_controller.h File content/public/browser/tracing_controller.h (right): https://codereview.chromium.org/127703002/diff/450001/content/public/browser/tracing_controller.h#newcode21 content/public/browser/tracing_controller.h:21: class TracingUI; remove
6 years, 11 months ago (2014-01-10 20:24:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/127703002/610001
6 years, 11 months ago (2014-01-14 06:16:35 UTC) #14
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=245935
6 years, 11 months ago (2014-01-14 08:35:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/127703002/610001
6 years, 11 months ago (2014-01-14 09:29:23 UTC) #16
commit-bot: I haz the power
6 years, 11 months ago (2014-01-14 14:56:02 UTC) #17
Message was sent while issue was closed.
Change committed as 244709

Powered by Google App Engine
This is Rietveld 408576698