3 years, 8 months ago
(2017-04-27 03:52:21 UTC)
#1
Patchset #1 (id:1) has been deleted
luoe
Patchset #1 (id:20001) has been deleted
3 years, 8 months ago
(2017-04-27 03:52:27 UTC)
#2
Patchset #1 (id:20001) has been deleted
luoe
Description was changed from ========== DevTools: add rendering overlay options to command menu BUG=695986 ========== ...
3 years, 8 months ago
(2017-04-27 03:54:59 UTC)
#3
Description was changed from
==========
DevTools: add rendering overlay options to command menu
BUG=695986
==========
to
==========
DevTools: add rendering overlay options to command menu
This CL adds existing rendering controls to show paint flashing, FPS meter,
layout borders, scroll performance bottlenecks, and CSS media type emulation
into the command menu.
BUG=695986
==========
ptal https://codereview.chromium.org/2839413002/diff/80001/third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js File third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js (right): https://codereview.chromium.org/2839413002/diff/80001/third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js#newcode62 third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js:62: var mediaOptions = emulateMediaExtension.descriptor().options; On 2017/05/10 20:55:19, pfeldman ...
3 years, 7 months ago
(2017-05-11 21:40:02 UTC)
#10
ptal
https://codereview.chromium.org/2839413002/diff/80001/third_party/WebKit/Sour...
File third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js
(right):
https://codereview.chromium.org/2839413002/diff/80001/third_party/WebKit/Sour...
third_party/WebKit/Source/devtools/front_end/main/RenderingOptions.js:62: var
mediaOptions = emulateMediaExtension.descriptor().options;
On 2017/05/10 20:55:19, pfeldman wrote:
> I'm seeing the same code in SettingsScreen.js - can we have something that
> creates the setting based on the id or description in SettingsUI?
We can do a settingExtensionToControl that holds common control builder logic.
3 years, 7 months ago
(2017-05-16 00:05:48 UTC)
#13
Ptal
https://codereview.chromium.org/2839413002/diff/100001/third_party/WebKit/Sou...
File third_party/WebKit/Source/devtools/front_end/sdk/module.json (right):
https://codereview.chromium.org/2839413002/diff/100001/third_party/WebKit/Sou...
third_party/WebKit/Source/devtools/front_end/sdk/module.json:182: "settingName":
"emulateCSSMedia",
On 2017/05/15 19:07:44, dgozman wrote:
> - emulatedCSSMedia
> - if we define a setting in sdk, EmulationModel should now respect it (similar
> to other rendering settings)
Done.
https://codereview.chromium.org/2839413002/diff/100001/third_party/WebKit/Sou...
third_party/WebKit/Source/devtools/front_end/sdk/module.json:194: "text":
"Print",
On 2017/05/15 19:07:44, dgozman wrote:
> Let's not capitalize it, as it's something used in source code.
Done.
https://codereview.chromium.org/2839413002/diff/100001/third_party/WebKit/Sou...
File third_party/WebKit/Source/devtools/front_end/ui/SettingsUI.js (right):
https://codereview.chromium.org/2839413002/diff/100001/third_party/WebKit/Sou...
third_party/WebKit/Source/devtools/front_end/ui/SettingsUI.js:145:
UI.SettingsUI.settingExtensionToControl = function(extension) {
On 2017/05/15 19:07:44, dgozman wrote:
> Let's pass setting instance here, and let it have extension() getter.
Done.
Introducing an extension() getter feels a little strange to me. It solves the
problem and we only pass Settings around. However, some Settings made by
createSetting() will not have an extension, and it isn't clear that one UI
property 'title' is accessible on a Setting while another 'Options' is only
accessible on the extension.
`setting.title()`
`setting.extension().descriptor()['options']`
Perhaps it's better to remove `.title()` or introduce `setting.options()`?
https://codereview.chromium.org/2839413002/diff/100001/third_party/WebKit/Sou...
third_party/WebKit/Source/devtools/front_end/ui/SettingsUI.js:153: return
UI.SettingsUI.createSettingSelect(uiTitle, descriptor['options'], setting);
On 2017/05/15 19:07:44, dgozman wrote:
> Let's do some validation here - that options exist, etc.
Done in the previous patch, since it falls within scope of generalizing
UI-building.
CQ is committing da patch. Bot data: {"patchset_id": 140001, "attempt_start_ts": 1496183482107830, "parent_rev": "a3671ded59ef375816a99cf890b0e1171720485c", "commit_rev": "b28399760d8a875871a0a156543a2f5069dcdd47"}
3 years, 6 months ago
(2017-05-31 00:51:51 UTC)
#20
CQ is committing da patch.
Bot data: {"patchset_id": 140001, "attempt_start_ts": 1496183482107830,
"parent_rev": "a3671ded59ef375816a99cf890b0e1171720485c", "commit_rev":
"b28399760d8a875871a0a156543a2f5069dcdd47"}
commit-bot: I haz the power
Description was changed from ========== DevTools: add rendering overlay options to command menu This CL ...
3 years, 6 months ago
(2017-05-31 00:52:00 UTC)
#21
Message was sent while issue was closed.
Description was changed from
==========
DevTools: add rendering overlay options to command menu
This CL adds existing rendering controls to show paint flashing, FPS meter,
layout borders, scroll performance bottlenecks, and CSS media type emulation
into the command menu.
BUG=695986
==========
to
==========
DevTools: add rendering overlay options to command menu
This CL adds existing rendering controls to show paint flashing, FPS meter,
layout borders, scroll performance bottlenecks, and CSS media type emulation
into the command menu.
BUG=695986
Review-Url: https://codereview.chromium.org/2839413002
Cr-Commit-Position: refs/heads/master@{#475710}
Committed:
https://chromium.googlesource.com/chromium/src/+/b28399760d8a875871a0a156543a...
==========
commit-bot: I haz the power
Committed patchset #6 (id:140001) as https://chromium.googlesource.com/chromium/src/+/b28399760d8a875871a0a156543a2f5069dcdd47
3 years, 6 months ago
(2017-05-31 00:52:01 UTC)
#22
Issue 2839413002: DevTools: add rendering overlay options to command menu
(Closed)
Created 3 years, 8 months ago by luoe
Modified 3 years, 6 months ago
Reviewers: pfeldman, lushnikov, dgozman
Base URL:
Comments: 19