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

/external/chromium_org/third_party/webrtc/modules/desktop_capture/mac/
H A 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
[all...]
H A Dfull_screen_chrome_window_detector.cc53 bool IsWindowFullScreen(const MacDesktopConfiguration& desktop_config, argument
64 desktop_config.displays.begin();
65 it != desktop_config.displays.end(); ++it) {
138 MacDesktopConfiguration desktop_config = MacDesktopConfiguration::GetCurrent( local
170 if (IsWindowFullScreen(desktop_config, window)) {
/external/chromium_org/remoting/host/
H A Dsingle_window_input_injector_mac.cc78 webrtc::MacDesktopConfiguration desktop_config = local
90 webrtc::DesktopVector(desktop_config.pixel_bounds.left(),
91 desktop_config.pixel_bounds.top()));
98 window_pos.set(window_pos.x() * desktop_config.dip_to_pixel_scale,
99 window_pos.y() * desktop_config.dip_to_pixel_scale);
H A Dinput_injector_mac.cc246 webrtc::MacDesktopConfiguration desktop_config = local
252 webrtc::DesktopVector(desktop_config.pixel_bounds.left(),
253 desktop_config.pixel_bounds.top()));
257 std::max(desktop_config.pixel_bounds.left(),
258 std::min(desktop_config.pixel_bounds.right(), mouse_pos_.x())),
259 std::max(desktop_config.pixel_bounds.top(),
260 std::min(desktop_config.pixel_bounds.bottom(), mouse_pos_.y())));
263 mouse_pos_.set(mouse_pos_.x() / desktop_config.dip_to_pixel_scale,
264 mouse_pos_.y() / desktop_config.dip_to_pixel_scale);

Completed in 372 milliseconds