Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: ui/base/x/selection_owner.cc

Issue 2319933002: X11: Remove calls to XSelectInput (Closed)
Patch Set: Remove XWindowEventManager Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/base/x/selection_owner.h" 5 #include "ui/base/x/selection_owner.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 #include <X11/Xatom.h> 9 #include <X11/Xatom.h>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "ui/base/x/selection_utils.h" 12 #include "ui/base/x/selection_utils.h"
13 #include "ui/base/x/x11_scoped_event_selector.h"
13 #include "ui/base/x/x11_util.h" 14 #include "ui/base/x/x11_util.h"
14 #include "ui/base/x/x11_window_event_manager.h"
15 #include "ui/events/platform/x11/x11_event_source.h" 15 #include "ui/events/platform/x11/x11_event_source.h"
16 16
17 namespace ui { 17 namespace ui {
18 18
19 namespace { 19 namespace {
20 20
21 const char kAtomPair[] = "ATOM_PAIR"; 21 const char kAtomPair[] = "ATOM_PAIR";
22 const char kIncr[] = "INCR"; 22 const char kIncr[] = "INCR";
23 const char kMultiple[] = "MULTIPLE"; 23 const char kMultiple[] = "MULTIPLE";
24 const char kSaveTargets[] = "SAVE_TARGETS"; 24 const char kSaveTargets[] = "SAVE_TARGETS";
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 offset(offset), 374 offset(offset),
375 timeout(timeout) {} 375 timeout(timeout) {}
376 376
377 SelectionOwner::IncrementalTransfer::IncrementalTransfer( 377 SelectionOwner::IncrementalTransfer::IncrementalTransfer(
378 const IncrementalTransfer& other) = default; 378 const IncrementalTransfer& other) = default;
379 379
380 SelectionOwner::IncrementalTransfer::~IncrementalTransfer() { 380 SelectionOwner::IncrementalTransfer::~IncrementalTransfer() {
381 } 381 }
382 382
383 } // namespace ui 383 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698