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

Issue 309473002: [DevTools] Cleanup inspector overlay and make it work with virtual viewport. (Closed)

Created:
6 years, 6 months ago by dgozman
Modified:
6 years, 6 months ago
Reviewers:
bokan, pfeldman
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[DevTools] Cleanup inspector overlay and make it work with virtual viewport. This also fixes "inspect element" for virtual viewport. BUG=371843 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175109

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -55 lines) Patch
M Source/core/inspector/InspectorController.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorController.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/inspector/InspectorOverlay.h View 3 chunks +1 line, -3 lines 0 comments Download
M Source/core/inspector/InspectorOverlay.cpp View 5 chunks +6 lines, -16 lines 4 comments Download
M Source/core/inspector/InspectorOverlayPage.html View 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/inspector/InspectorPageAgent.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/inspector/InspectorPageAgent.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/web/WebDevToolsAgentImpl.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/web/WebDevToolsAgentImpl.cpp View 2 chunks +0 lines, -7 lines 0 comments Download
M Source/web/WebDevToolsAgentPrivate.h View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 2 chunks +5 lines, -8 lines 2 comments Download

Messages

Total messages: 9 (0 generated)
dgozman
Could you please take a look? https://codereview.chromium.org/309473002/diff/1/Source/core/inspector/InspectorOverlay.cpp File Source/core/inspector/InspectorOverlay.cpp (right): https://codereview.chromium.org/309473002/diff/1/Source/core/inspector/InspectorOverlay.cpp#newcode738 Source/core/inspector/InspectorOverlay.cpp:738: resetData->setNumber("pageScaleFactor", m_page->settings().pinchVirtualViewportEnabled() ? ...
6 years, 6 months ago (2014-05-29 13:58:12 UTC) #1
bokan
I don't know this code at all so I can't comment on the details but ...
6 years, 6 months ago (2014-05-29 15:09:05 UTC) #2
dgozman
https://codereview.chromium.org/309473002/diff/1/Source/core/inspector/InspectorOverlay.cpp File Source/core/inspector/InspectorOverlay.cpp (right): https://codereview.chromium.org/309473002/diff/1/Source/core/inspector/InspectorOverlay.cpp#newcode738 Source/core/inspector/InspectorOverlay.cpp:738: resetData->setNumber("pageScaleFactor", m_page->settings().pinchVirtualViewportEnabled() ? 1 : m_page->pageScaleFactor()); On 2014/05/29 15:09:06, ...
6 years, 6 months ago (2014-05-29 15:15:08 UTC) #3
pfeldman
lgtm https://codereview.chromium.org/309473002/diff/1/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/309473002/diff/1/Source/web/WebViewImpl.cpp#newcode3314 Source/web/WebViewImpl.cpp:3314: WebMouseEvent dummyEvent; Why do we have to do ...
6 years, 6 months ago (2014-05-29 15:20:30 UTC) #4
bokan
https://codereview.chromium.org/309473002/diff/1/Source/core/inspector/InspectorOverlay.cpp File Source/core/inspector/InspectorOverlay.cpp (right): https://codereview.chromium.org/309473002/diff/1/Source/core/inspector/InspectorOverlay.cpp#newcode738 Source/core/inspector/InspectorOverlay.cpp:738: resetData->setNumber("pageScaleFactor", m_page->settings().pinchVirtualViewportEnabled() ? 1 : m_page->pageScaleFactor()); On 2014/05/29 15:15:08, ...
6 years, 6 months ago (2014-05-29 15:21:16 UTC) #5
dgozman
https://codereview.chromium.org/309473002/diff/1/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/309473002/diff/1/Source/web/WebViewImpl.cpp#newcode3314 Source/web/WebViewImpl.cpp:3314: WebMouseEvent dummyEvent; On 2014/05/29 15:20:30, pfeldman_ooo wrote: > Why ...
6 years, 6 months ago (2014-05-29 15:28:37 UTC) #6
dgozman
The CQ bit was checked by dgozman@chromium.org
6 years, 6 months ago (2014-05-29 16:44:12 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dgozman@chromium.org/309473002/1
6 years, 6 months ago (2014-05-29 16:46:48 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 07:58:14 UTC) #9
Message was sent while issue was closed.
Change committed as 175109

Powered by Google App Engine
This is Rietveld 408576698