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_aurax11.h" | 7 #include "base/message_pump_aurax11.h" |
8 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
9 #include "ui/base/x/selection_utils.h" | 9 #include "ui/base/x/selection_utils.h" |
10 | 10 |
11 namespace ui { | 11 namespace ui { |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 const char kChromeSelection[] = "CHROME_SELECTION"; | 15 const char kChromeSelection[] = "CHROME_SELECTION"; |
16 | 16 |
17 const char* kAtomsToCache[] = { | 17 const char* kAtomsToCache[] = { |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 // I am assuming that if some other client sent us a message after we've | 153 // I am assuming that if some other client sent us a message after we've |
154 // asked for data, but it's malformed, we should just treat as if they sent | 154 // asked for data, but it's malformed, we should just treat as if they sent |
155 // us an error message. | 155 // us an error message. |
156 returned_property_ = None; | 156 returned_property_ = None; |
157 } | 157 } |
158 | 158 |
159 quit_closure_.Run(); | 159 quit_closure_.Run(); |
160 } | 160 } |
161 | 161 |
162 } // namespace ui | 162 } // namespace ui |
OLD | NEW |