| OLD | NEW |
| 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_requestor.h" | 5 #include "ui/base/x/selection_requestor.h" |
| 6 | 6 |
| 7 #include "base/message_loop/message_pump_x11.h" | |
| 8 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
| 9 #include "ui/base/x/selection_utils.h" | 8 #include "ui/base/x/selection_utils.h" |
| 10 #include "ui/base/x/x11_util.h" | 9 #include "ui/base/x/x11_util.h" |
| 10 #include "ui/gfx/x/x11_types.h" |
| 11 | 11 |
| 12 namespace ui { | 12 namespace ui { |
| 13 | 13 |
| 14 namespace { | 14 namespace { |
| 15 | 15 |
| 16 const char kChromeSelection[] = "CHROME_SELECTION"; | 16 const char kChromeSelection[] = "CHROME_SELECTION"; |
| 17 | 17 |
| 18 const char* kAtomsToCache[] = { | 18 const char* kAtomsToCache[] = { |
| 19 kChromeSelection, | 19 kChromeSelection, |
| 20 NULL | 20 NULL |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 : target(target), | 131 : target(target), |
| 132 quit_closure(quit_closure), | 132 quit_closure(quit_closure), |
| 133 returned_property(None), | 133 returned_property(None), |
| 134 returned(false) { | 134 returned(false) { |
| 135 } | 135 } |
| 136 | 136 |
| 137 SelectionRequestor::PendingRequest::~PendingRequest() { | 137 SelectionRequestor::PendingRequest::~PendingRequest() { |
| 138 } | 138 } |
| 139 | 139 |
| 140 } // namespace ui | 140 } // namespace ui |
| OLD | NEW |