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

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

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 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
« no previous file with comments | « ui/app_list/views/pulsing_block_view.h ('k') | ui/base/x/selection_requestor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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
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_
OLDNEW
« no previous file with comments | « ui/app_list/views/pulsing_block_view.h ('k') | ui/base/x/selection_requestor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698