Home
last modified time | relevance | path

Searched refs:x_display_ (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/ui/base/x/
Dselection_requestor_unittest.cc33 : x_display_(gfx::GetXDisplay()), in SelectionRequestorTest()
57 xev.xselection.display = x_display_; in SendSelectionNotify()
70 XSynchronize(x_display_, True); in SetUp()
73 x_window_ = XCreateWindow(x_display_, in SetUp()
74 DefaultRootWindow(x_display_), in SetUp()
85 requestor_.reset(new SelectionRequestor(x_display_, x_window_, NULL)); in SetUp()
91 XDestroyWindow(x_display_, x_window_); in TearDown()
92 XSynchronize(x_display_, False); in TearDown()
95 Display* x_display_; member in ui::SelectionRequestorTest
Dselection_owner.cc103 : x_display_(x_display), in SelectionOwner()
107 atom_cache_(x_display_, kAtomsToCache) { in SelectionOwner()
114 if (XGetSelectionOwner(x_display_, selection_name_) == x_window_) in ~SelectionOwner()
115 XSetSelectionOwner(x_display_, selection_name_, None, CurrentTime); in ~SelectionOwner()
127 XSetSelectionOwner(x_display_, selection_name_, x_window_, CurrentTime); in TakeOwnershipOfSelection()
129 if (XGetSelectionOwner(x_display_, selection_name_) == x_window_) { in TakeOwnershipOfSelection()
136 XSetSelectionOwner(x_display_, selection_name_, None, CurrentTime); in ClearSelectionOwner()
175 x_display_, in OnSelectionRequest()
192 XSendEvent(x_display_, requestor, False, 0, &reply); in OnSelectionRequest()
237 XChangeProperty(x_display_, requestor, property, XA_ATOM, 32, in ProcessTarget()
[all …]
Dselection_requestor.cc66 : x_display_(x_display), in SelectionRequestor()
71 atom_cache_(x_display_, kAtomsToCache) { in SelectionRequestor()
152 XDeleteProperty(x_display_, x_window_, event_property); in OnSelectionNotify()
170 XDeleteProperty(x_display_, x_window_, event_property); in OnSelectionNotify()
218 XDeleteProperty(x_display_, x_window_, x_property_); in OnPropertyEvent()
258 XConvertSelection(x_display_, in ConvertSelectionForCurrentRequest()
291 if (XPending(x_display_)) { in BlockTillSelectionNotifyForRequest()
293 XNextEvent(x_display_, &event); in BlockTillSelectionNotifyForRequest()
Dselection_owner.h113 XDisplay* x_display_; variable
Dselection_requestor.h124 XDisplay* x_display_; variable
/external/chromium_org/ui/views/test/
Dui_controls_factory_desktop_aurax11.cc57 : x_display_(gfx::GetXDisplay()), in UIControlsDesktopX11()
58 x_root_window_(DefaultRootWindow(x_display_)), in UIControlsDesktopX11()
60 x_display_, x_root_window_, in UIControlsDesktopX11()
68 XStoreName(x_display_, x_window_, "Chromium UIControlsDesktopX11 Window"); in UIControlsDesktopX11()
72 XDestroyWindow(x_display_, x_window_); in ~UIControlsDesktopX11()
108 XKeysymToKeycode(x_display_, in SendKeyPressNotifyWhenDone()
225 marker_event->xclient.display = x_display_; in RunClosureAfterAllPendingUIEvents()
230 XSendEvent(x_display_, x_window_, False, 0, marker_event); in RunClosureAfterAllPendingUIEvents()
258 xevent->xkey.keycode = XKeysymToKeycode(x_display_, keysym); in SetKeycodeAndSendThenMask()
268 xevent->xkey.keycode = XKeysymToKeycode(x_display_, keysym); in UnmaskAndSetKeycodeThenSend()
[all …]
/external/chromium_org/chrome/browser/extensions/
Dglobal_shortcut_listener_x11.cc56 x_display_(gfx::GetXDisplay()), in GlobalShortcutListenerX11()
57 x_root_window_(DefaultRootWindow(x_display_)) { in GlobalShortcutListenerX11()
104 KeyCode keycode = XKeysymToKeycode(x_display_, in RegisterAcceleratorImpl()
112 XGrabKey(x_display_, keycode, modifiers | kModifiersMasks[i], in RegisterAcceleratorImpl()
119 XUngrabKey(x_display_, keycode, modifiers | kModifiersMasks[i], in RegisterAcceleratorImpl()
135 KeyCode keycode = XKeysymToKeycode(x_display_, in UnregisterAcceleratorImpl()
139 XUngrabKey(x_display_, keycode, modifiers | kModifiersMasks[i], in UnregisterAcceleratorImpl()
Dglobal_shortcut_listener_x11.h45 ::Display* x_display_;
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
Dmouse_cursor_monitor_x11.cc73 Display* display() { return x_display_->display(); } in display()
78 scoped_refptr<SharedXDisplay> x_display_; member in webrtc::MouseCursorMonitorX11
93 : x_display_(options.x_display()), in MouseCursorMonitorX11()
103 x_display_->RemoveEventHandler(xfixes_event_base_ + XFixesCursorNotify, in ~MouseCursorMonitorX11()
122 x_display_->AddEventHandler(xfixes_event_base_ + XFixesCursorNotify, this); in Init()
134 x_display_->ProcessPendingXEvents(); in Capture()
Ddesktop_capture_options.h41 SharedXDisplay* x_display() const { return x_display_; } in x_display()
43 x_display_ = x_display; in set_x_display()
89 scoped_refptr<SharedXDisplay> x_display_;
Dwindow_capturer_x11.cc107 Display* display() { return x_display_->display(); } in display()
122 scoped_refptr<SharedXDisplay> x_display_; member in webrtc::__anond332a5ff0111::WindowCapturerLinux
137 x_display_(options.x_display()), in WindowCapturerLinux()
156 x_display_->AddEventHandler(ConfigureNotify, this); in WindowCapturerLinux()
160 x_display_->RemoveEventHandler(ConfigureNotify, this); in ~WindowCapturerLinux()
287 x_display_->ProcessPendingXEvents(); in Capture()
/external/chromium_org/content/common/gpu/media/
Dvaapi_video_decode_accelerator.cc109 Display* x_display_; member in content::VaapiVideoDecodeAccelerator::TFPPicture
131 x_display_(x_display), in TFPPicture()
166 int screen = DefaultScreen(x_display_); in Initialize()
167 XGetWindowAttributes(x_display_, RootWindow(x_display_, screen), &win_attr); in Initialize()
169 x_pixmap_ = XCreatePixmap(x_display_, RootWindow(x_display_, screen), in Initialize()
182 glx_pixmap_ = glXCreatePixmap(x_display_, fb_config, x_pixmap_, pixmap_attr); in Initialize()
196 glXReleaseTexImageEXT(x_display_, glx_pixmap_, GLX_FRONT_LEFT_EXT); in ~TFPPicture()
197 glXDestroyPixmap(x_display_, glx_pixmap_); in ~TFPPicture()
201 XFreePixmap(x_display_, x_pixmap_); in ~TFPPicture()
202 XSync(x_display_, False); // Needed to work around buggy vdpau-driver. in ~TFPPicture()
[all …]
Dvaapi_h264_decoder_unittest.cc92 Display* x_display_; member in content::__anon0352b68a0111::VaapiH264DecoderLoop
99 : x_display_(NULL), num_outputted_pictures_(0), num_surfaces_(0) { in VaapiH264DecoderLoop()
110 if (x_display_) { in ~VaapiH264DecoderLoop()
111 XCloseDisplay(x_display_); in ~VaapiH264DecoderLoop()
121 x_display_ = XOpenDisplay(NULL); in Initialize()
122 if (!x_display_) { in Initialize()
131 VaapiWrapper::kDecode, profile, x_display_, report_error_cb); in Initialize()
Dvaapi_video_decode_accelerator.h152 Display* x_display_; variable
Dvaapi_video_encode_accelerator.h181 Display* x_display_; variable
Dvaapi_video_encode_accelerator.cc117 x_display_, base::Bind(&base::DoNothing)); in GetSupportedProfiles()
147 x_display_(x_display), in VaapiVideoEncodeAccelerator()
220 x_display_, in Initialize()
/external/chromium_org/ui/base/dragdrop/
Dos_exchange_data_provider_aurax11.cc51 : x_display_(gfx::GetXDisplay()), in OSExchangeDataProviderAuraX11()
52 x_root_window_(DefaultRootWindow(x_display_)), in OSExchangeDataProviderAuraX11()
55 atom_cache_(x_display_, kAtomsToCache), in OSExchangeDataProviderAuraX11()
57 selection_owner_(x_display_, x_window_, in OSExchangeDataProviderAuraX11()
64 : x_display_(gfx::GetXDisplay()), in OSExchangeDataProviderAuraX11()
65 x_root_window_(DefaultRootWindow(x_display_)), in OSExchangeDataProviderAuraX11()
68 x_display_, in OSExchangeDataProviderAuraX11()
77 atom_cache_(x_display_, kAtomsToCache), in OSExchangeDataProviderAuraX11()
79 selection_owner_(x_display_, x_window_, in OSExchangeDataProviderAuraX11()
84 XStoreName(x_display_, x_window_, "Chromium Drag & Drop Window"); in OSExchangeDataProviderAuraX11()
[all …]
Dos_exchange_data_provider_aurax11.h120 Display* x_display_; variable
/external/chromium_org/ui/base/clipboard/
Dclipboard_aurax11.cc297 Display* x_display_; member in ui::Clipboard::AuraX11Details
319 : x_display_(gfx::GetXDisplay()), in AuraX11Details()
320 x_root_window_(DefaultRootWindow(x_display_)), in AuraX11Details()
322 x_display_, x_root_window_, in AuraX11Details()
330 atom_cache_(x_display_, kAtomsToCache), in AuraX11Details()
331 selection_requestor_(x_display_, x_window_, this), in AuraX11Details()
332 clipboard_owner_(x_display_, x_window_, atom_cache_.GetAtom(kClipboard)), in AuraX11Details()
333 primary_owner_(x_display_, x_window_, XA_PRIMARY) { in AuraX11Details()
337 XStoreName(x_display_, x_window_, "Chromium clipboard"); in AuraX11Details()
338 XSelectInput(x_display_, x_window_, PropertyChangeMask); in AuraX11Details()
[all …]