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

Issue 146683003: Settings should not call into inspector (Closed)

Created:
6 years, 11 months ago by gnana
Modified:
6 years, 10 months ago
CC:
blink-reviews, apavlov+blink_chromium.org, adamk+blink_chromium.org, aandrey+blink_chromium.org, Nils Barth (inactive), caseq+blink_chromium.org, Nate Chapin, arv+blink, yurys+blink_chromium.org, abarth-chromium, marja+watch_chromium.org, devtools-reviews_chromium.org, loislo+blink_chromium.org, sof, lushnikov+blink_chromium.org, eustas+blink_chromium.org, paulirish+reviews_chromium.org, haraken, kojih, jsbell+bindings_chromium.org, alph+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, Inactive, watchdog-blink-watchlist_google.com
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Settings should not call into inspector Settings should not call into inspector, Inspector calls in settings are moved into actual call sites. BUG=327476 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166295

Patch Set 1 : #

Total comments: 8

Patch Set 2 : incorporated review comments #

Total comments: 2

Patch Set 3 : rebase & incorporated review comments #

Total comments: 4

Patch Set 4 : incorporated review comments #

Patch Set 5 : rebase #

Patch Set 6 : incorporated review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -81 lines) Patch
M Source/bindings/v8/ScriptController.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/ResourceFetcher.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/frame/Settings.h View 1 2 3 chunks +2 lines, -23 lines 0 comments Download
M Source/core/frame/Settings.cpp View 1 2 6 chunks +1 line, -34 lines 0 comments Download
M Source/core/frame/Settings.in View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M Source/core/frame/SettingsDelegate.h View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M Source/core/inspector/InspectorController.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorController.cpp View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorInstrumentation.idl View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorPageAgent.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/Page.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/page/Page.cpp View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/rendering/FastTextAutosizer.cpp View 1 2 3 3 chunks +9 lines, -6 lines 0 comments Download
M Source/core/rendering/TextAutosizer.cpp View 1 2 3 3 chunks +8 lines, -3 lines 0 comments Download
M Source/core/testing/InternalSettings.cpp View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M Source/web/WebFrameImpl.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebHelperPluginImpl.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
gnana
Please have a look.
6 years, 11 months ago (2014-01-24 14:29:11 UTC) #1
pfeldman
I think this approach breaks scenarios such as: 1) User disables scripts from devtools while ...
6 years, 11 months ago (2014-01-24 16:25:20 UTC) #2
gnana
Thanks pfeldman for the review. I verified the two usecases mentioned above after the patch ...
6 years, 11 months ago (2014-01-27 16:31:06 UTC) #3
pfeldman
On 2014/01/27 16:31:06, gnana wrote: > Thanks pfeldman for the review. > I verified the ...
6 years, 11 months ago (2014-01-27 16:43:03 UTC) #4
gnana
On 2014/01/27 16:43:03, pfeldman wrote: > On 2014/01/27 16:31:06, gnana wrote: > > Thanks pfeldman ...
6 years, 11 months ago (2014-01-27 19:28:06 UTC) #5
pfeldman
To make sure I understand things properly. Steps: 1. enable font scale override in inspector, ...
6 years, 11 months ago (2014-01-27 20:17:58 UTC) #6
eseidel
looks fine to me. Please answer pfeldman's concerns before landing. https://codereview.chromium.org/146683003/diff/290001/Source/core/frame/Settings.cpp File Source/core/frame/Settings.cpp (right): https://codereview.chromium.org/146683003/diff/290001/Source/core/frame/Settings.cpp#newcode70 ...
6 years, 11 months ago (2014-01-27 20:33:57 UTC) #7
gnana
Thanks pfeldman, you were right. Thanks for pointing this one. I modified the source to ...
6 years, 10 months ago (2014-01-30 16:03:01 UTC) #8
pfeldman
https://codereview.chromium.org/146683003/diff/450001/Source/core/inspector/InspectorPageAgent.cpp File Source/core/inspector/InspectorPageAgent.cpp (right): https://codereview.chromium.org/146683003/diff/450001/Source/core/inspector/InspectorPageAgent.cpp#newcode1058 Source/core/inspector/InspectorPageAgent.cpp:1058: m_frontend->scriptsEnabled(settings->scriptEnabled()); We don't want to call scriptsEnabled with the ...
6 years, 10 months ago (2014-01-30 16:34:08 UTC) #9
gnana
Please have a look https://codereview.chromium.org/146683003/diff/450001/Source/core/inspector/InspectorPageAgent.cpp File Source/core/inspector/InspectorPageAgent.cpp (right): https://codereview.chromium.org/146683003/diff/450001/Source/core/inspector/InspectorPageAgent.cpp#newcode1066 Source/core/inspector/InspectorPageAgent.cpp:1066: settings->setTextAutosizingEnabled(overrideTextAutosizing()); On 2014/01/30 16:34:08, pfeldman ...
6 years, 10 months ago (2014-01-31 14:21:09 UTC) #10
pfeldman
lgtm with a nit.
6 years, 10 months ago (2014-01-31 14:59:16 UTC) #11
gnana
The CQ bit was checked by gnanasekar.s@samsung.com
6 years, 10 months ago (2014-02-03 06:34:55 UTC) #12
gnana
The CQ bit was unchecked by gnanasekar.s@samsung.com
6 years, 10 months ago (2014-02-03 06:35:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gnanasekar.s@samsung.com/146683003/560020
6 years, 10 months ago (2014-02-03 06:35:07 UTC) #14
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 06:35:08 UTC) #15
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 06:35:10 UTC) #16
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 06:35:16 UTC) #17
gnana
The CQ bit was checked by gnanasekar.s@samsung.com
6 years, 10 months ago (2014-02-03 06:35:24 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gnanasekar.s@samsung.com/146683003/560020
6 years, 10 months ago (2014-02-03 06:35:37 UTC) #19
commit-bot: I haz the power
Change committed as 166295
6 years, 10 months ago (2014-02-03 08:46:15 UTC) #20
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 08:46:15 UTC) #21
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 08:46:15 UTC) #22
commit-bot: I haz the power
6 years, 10 months ago (2014-02-03 08:46:17 UTC) #23
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698