Home
last modified time | relevance | path

Searched refs:desktop_config (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/desktop_capture/mac/
Ddesktop_configuration.mm102 MacDesktopConfiguration desktop_config;
114 desktop_config.dip_to_pixel_scale = display_config.dip_to_pixel_scale;
120 InvertRectYOrigin(desktop_config.displays[0].bounds,
125 desktop_config.displays[0].dip_to_pixel_scale;
127 desktop_config.displays[0].pixel_bounds.left() * scaling_factor,
128 desktop_config.displays[0].pixel_bounds.top() * scaling_factor,
129 desktop_config.displays[0].pixel_bounds.right() * scaling_factor,
130 desktop_config.displays[0].pixel_bounds.bottom() * scaling_factor);
135 desktop_config.displays.push_back(display_config);
140 desktop_config.dip_to_pixel_scale) {
[all …]
Dfull_screen_chrome_window_detector.cc53 bool IsWindowFullScreen(const MacDesktopConfiguration& desktop_config, in IsWindowFullScreen() argument
64 desktop_config.displays.begin(); in IsWindowFullScreen()
65 it != desktop_config.displays.end(); ++it) { in IsWindowFullScreen()
138 MacDesktopConfiguration desktop_config = MacDesktopConfiguration::GetCurrent( in FindFullScreenWindowWithSamePidAndTitle() local
170 if (IsWindowFullScreen(desktop_config, window)) { in FindFullScreenWindowWithSamePidAndTitle()
/external/chromium_org/remoting/host/
Dinput_injector_mac.cc246 webrtc::MacDesktopConfiguration desktop_config = in InjectMouseEvent() local
252 webrtc::DesktopVector(desktop_config.pixel_bounds.left(), in InjectMouseEvent()
253 desktop_config.pixel_bounds.top())); in InjectMouseEvent()
257 std::max(desktop_config.pixel_bounds.left(), in InjectMouseEvent()
258 std::min(desktop_config.pixel_bounds.right(), mouse_pos_.x())), in InjectMouseEvent()
259 std::max(desktop_config.pixel_bounds.top(), in InjectMouseEvent()
260 std::min(desktop_config.pixel_bounds.bottom(), mouse_pos_.y()))); in InjectMouseEvent()
263 mouse_pos_.set(mouse_pos_.x() / desktop_config.dip_to_pixel_scale, in InjectMouseEvent()
264 mouse_pos_.y() / desktop_config.dip_to_pixel_scale); in InjectMouseEvent()
Dsingle_window_input_injector_mac.cc78 webrtc::MacDesktopConfiguration desktop_config = in InjectMouseEvent() local
90 webrtc::DesktopVector(desktop_config.pixel_bounds.left(), in InjectMouseEvent()
91 desktop_config.pixel_bounds.top())); in InjectMouseEvent()
98 window_pos.set(window_pos.x() * desktop_config.dip_to_pixel_scale, in InjectMouseEvent()
99 window_pos.y() * desktop_config.dip_to_pixel_scale); in InjectMouseEvent()