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 #ifndef UI_BASE_X_SELECTION_OWNER_H_ | 5 #ifndef UI_BASE_X_SELECTION_OWNER_H_ |
6 #define UI_BASE_X_SELECTION_OWNER_H_ | 6 #define UI_BASE_X_SELECTION_OWNER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 | 118 |
119 // The maximum size of data we can put in XChangeProperty(). | 119 // The maximum size of data we can put in XChangeProperty(). |
120 size_t max_request_size_; | 120 size_t max_request_size_; |
121 | 121 |
122 // The data we are currently serving. | 122 // The data we are currently serving. |
123 SelectionFormatMap format_map_; | 123 SelectionFormatMap format_map_; |
124 | 124 |
125 std::vector<IncrementalTransfer> incremental_transfers_; | 125 std::vector<IncrementalTransfer> incremental_transfers_; |
126 | 126 |
127 // Used to abort stale incremental data transfers. | 127 // Used to abort stale incremental data transfers. |
128 base::RepeatingTimer<SelectionOwner> incremental_transfer_abort_timer_; | 128 base::RepeatingTimer incremental_transfer_abort_timer_; |
129 | 129 |
130 X11AtomCache atom_cache_; | 130 X11AtomCache atom_cache_; |
131 | 131 |
132 DISALLOW_COPY_AND_ASSIGN(SelectionOwner); | 132 DISALLOW_COPY_AND_ASSIGN(SelectionOwner); |
133 }; | 133 }; |
134 | 134 |
135 } // namespace ui | 135 } // namespace ui |
136 | 136 |
137 #endif // UI_BASE_X_SELECTION_OWNER_H_ | 137 #endif // UI_BASE_X_SELECTION_OWNER_H_ |
OLD | NEW |