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

Issue 2702113006: [DevTools] Full-size screenshots in device mode. (Closed)

Created:
3 years, 10 months ago by dgozman
Modified:
3 years, 9 months ago
Reviewers:
Eric Seckler, pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Full-size screenshots in device mode. Based on the patch https://codereview.chromium.org/2612913002/ from Ahmet Emir Ercin (ahmetemiremir@gmail.com). BUG=638281 Review-Url: https://codereview.chromium.org/2702113006 Cr-Commit-Position: refs/heads/master@{#452383} Committed: https://chromium.googlesource.com/chromium/src/+/0936d31d01cc3ff8e9f46e47f807dbe05dffc59b

Patch Set 1 #

Total comments: 2

Messages

Total messages: 18 (10 generated)
dgozman
Take a look please.
3 years, 10 months ago (2017-02-22 00:34:01 UTC) #4
pfeldman
lgtm
3 years, 10 months ago (2017-02-23 01:09:06 UTC) #8
pfeldman
Could you migrate regular screenshot to the same code?
3 years, 10 months ago (2017-02-23 01:09:23 UTC) #9
dgozman
On 2017/02/23 01:09:23, pfeldman wrote: > Could you migrate regular screenshot to the same code? ...
3 years, 10 months ago (2017-02-23 01:47:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2702113006/1
3 years, 10 months ago (2017-02-23 01:47:37 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/0936d31d01cc3ff8e9f46e47f807dbe05dffc59b
3 years, 10 months ago (2017-02-23 04:01:12 UTC) #15
Eric Seckler
https://codereview.chromium.org/2702113006/diff/1/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp File third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp (right): https://codereview.chromium.org/2702113006/diff/1/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp#newcode873 third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp:873: *outContentSize = protocol::DOM::Rect::create() FWIW, do we actually need this? ...
3 years, 9 months ago (2017-03-13 10:41:29 UTC) #17
dgozman
3 years, 9 months ago (2017-03-13 15:04:04 UTC) #18
Message was sent while issue was closed.
https://codereview.chromium.org/2702113006/diff/1/third_party/WebKit/Source/c...
File third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp (right):

https://codereview.chromium.org/2702113006/diff/1/third_party/WebKit/Source/c...
third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp:873:
*outContentSize = protocol::DOM::Rect::create()
On 2017/03/13 10:41:28, Eric Seckler wrote:
> FWIW, do we actually need this? Could we not get the same value by querying
> document.scrollingElement.scrollWidth/Height via js?

We could! But since we already have getLayoutMetrics, I feel like exposing this
information does not hurt.

Powered by Google App Engine
This is Rietveld 408576698