ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { Disposable } from '../../../base/common/lifecycle.js';
import { Emitter, Event } from '../../../base/common/event.js';
import { IBrowserDeviceProfile } from '../common/browserView.js';
import { ILogService } from '../../log/common/log.js';
import type { BrowserView } from './browserView.js';
import { ICDPConnection } from '../common/cdp/types.js';
/**
* Manages device emulation for a browser view. The renderer is authoritative
* for the on-screen container size and scale; this class derives the emulated
* viewport from the current device profile (falling back to container size /
* scale when width/height are unset) and forwards values to
* `webContents.enableDeviceEmulation`. It also manages the touch / media /
* user-agent overrides that have no native Electron equivalent.
*/
_device IBrowserDeviceProfile
_defaultUserAgent
_lastLayout containerWidth containerHeight scale hostZoom
_lastApplied viewportWidth viewportHeight scale hostZoom mobile
_onDidChange
onDidChange EventIBrowserDeviceProfile _onDidChangeevent
browser BrowserView
logService ILogService
_defaultUserAgent browserwebContents
_lastApplied
browserwebContents onNavigate
browserdebuggermethod params session method params session
IBrowserDeviceProfile
_device
_lastLayout
_lastLayoutscale _lastLayouthostZoom
device IBrowserDeviceProfile
prev _device
_device device
nextUA deviceuserAgent
prevuserAgent nextUA
browserwebContentsnextUA _defaultUserAgent
prev device
browserwebContents
_lastApplied
device
_onDidChangedevice
containerWidth containerHeight scale hostZoom
_lastLayout containerWidth containerHeight scale hostZoom
_device
containerWidth containerHeight scale hostZoom _lastLayout
s Math scale
z Math hostZoom
w Math Math_devicewidth containerWidth s
h Math Math_deviceheight containerHeight s
mobile _devicemobile
last _lastApplied
last lastviewportWidth w lastviewportHeight h
Mathlastscale s MathlasthostZoom z
lastmobile mobile
_lastApplied viewportWidth w viewportHeight h scale s hostZoom z mobile
params ElectronParameters
screenPosition mobile
screenSize width w height h
viewSize width w height h
deviceScaleFactor _devicedeviceScaleFactor
viewPosition x y
scale s z
mobile last
browserwebContents
params
screenPosition
browserwebContentsparams
mobile lastmobile
browserwebContents browserwebContents
device _device
mobile _devicemobile
browserdebugger enabled mobile maxTouchPoints mobile
device device
browserdebugger features _device name value mobile
device device
browserdebugger enabled mobile
err
logService err
method params session ICDPConnection
session sessiontargetId browserdebuggertargetId
method
p params width height mobile deviceScaleFactor
next IBrowserDeviceProfile
_device
width pwidth
height pheight
mobile pmobile _devicemobile
deviceScaleFactor pdeviceScaleFactor _devicedeviceScaleFactor
next
_device
width height mobile deviceScaleFactor rest _device
hasRest Objectrestv v
hasRest rest
p params userAgent acceptLanguage platform userAgentMetadata
pacceptLanguage pplatform puserAgentMetadata
ua puserAgent
_device userAgent ua
params
params
scale emulatedScaleFactor
p params
x
y
deltaX
deltaY
xDistance
yDistance
touchPoints x y
px
px scale
py
py scale
pdeltaX
pdeltaX scale
pdeltaY
pdeltaY scale
pxDistance
pxDistance scale
pyDistance
pyDistance scale
ptouchPoints
ptouchPoints ptouchPointst
t
x tx scale
y ty scale