summaryrefslogtreecommitdiffstats
path: root/content/renderer/devtools/render_widget_screen_metrics_emulator.h
Commit message (Collapse)AuthorAgeFilesLines
* Propagate window coordinates to out-of-process iframes renderers.lfg2016-03-041-0/+1
| | | | | | | | | | | | | This change also adds a Page message IPC class, which can be used by an interface in WebContentsImpl::SendPageMessage(IPC::Message*) to send an IPC message to every renderer in the FrameTree. CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Review URL: https://codereview.chromium.org/1685213002 Cr-Commit-Position: refs/heads/master@{#379384}
* Handle emulated device scale factor and original device scale factor ↵oshima2016-03-041-2/+2
| | | | | | | | | | | | | | | | | | properly in use-zoom-for-dsf mode. * The zoom level is set to the original device scale factor (m_compositorDeviceScaleFactorOverride). * Sets the page's dsf to emulated dsf / original dsf so that device pixel ratio becomes emulated dsf. * Explicitly call ScreenMetricsEmuation::Apply so that RenderWidget can tell if it's in emulation mode. * Remove DevToolsHost.convertLengthForEmbedder because it's no longer necessary. BUG=584709 TEST=RenderViewImplScaleFactorTest.ScreenMetricsEmulation* (existing ScreenMetricsEmulation has been migrated to RenderViewImplScakeFactirTest.ScreenMetricsEmulationWithOriginalDSF1) also tested manually Review URL: https://codereview.chromium.org/1737733002 Cr-Commit-Position: refs/heads/master@{#379277}
* Reland of Decouple ScreenMetricsEmulator From RenderWidgetmfomitchev2016-02-171-0/+88
| | | | | | | | | | | | | | | | | | > Original issue's description: > > Decouple ScreenMetricsEmulator From RenderWidget > > > > This is part of the ongoing effort to thin down RenderWidget to be just IPC transport. > > Started in http://crrev.com/1599583002 > > > > BUG=577321 TBR=dgozman@chromium.org,fsamuel@chromium.org,jam@chromium.org,pfeldman@chromium.org BUG=577321 Review URL: https://codereview.chromium.org/1697263008 Cr-Commit-Position: refs/heads/master@{#375977}
* Revert of Decouple ScreenMetricsEmulator From RenderWidget (patchset #9 ↵pfeldman2016-02-121-88/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | id:160001 of https://codereview.chromium.org/1675783002/ ) Reason for revert: speculative revert: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=inspector/elements/styles-4/styles-update-links.html Original issue's description: > Decouple ScreenMetricsEmulator From RenderWidget > > This is part of the ongoing effort to thin down RenderWidget to be just IPC transport. > Started in http://crrev.com/1599583002 > > BUG=577321 TBR=dgozman@chromium.org,fsamuel@chromium.org,jam@chromium.org,mfomitchev@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=577321 Review URL: https://codereview.chromium.org/1692083003 Cr-Commit-Position: refs/heads/master@{#375078}
* Decouple ScreenMetricsEmulator From RenderWidgetmfomitchev2016-02-111-0/+88
This is part of the ongoing effort to thin down RenderWidget to be just IPC transport. Started in http://crrev.com/1599583002 BUG=577321 Review URL: https://codereview.chromium.org/1675783002 Cr-Commit-Position: refs/heads/master@{#375020}