OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // The basis for all native run loops on the Mac is the CFRunLoop. It can be | 5 // The basis for all native run loops on the Mac is the CFRunLoop. It can be |
6 // used directly, it can be used as the driving force behind the similar | 6 // used directly, it can be used as the driving force behind the similar |
7 // Foundation NSRunLoop, and it can be used to implement higher-level event | 7 // Foundation NSRunLoop, and it can be used to implement higher-level event |
8 // loops such as the NSApplication event loop. | 8 // loops such as the NSApplication event loop. |
9 // | 9 // |
10 // This file introduces a basic CFRunLoop-based implementation of the | 10 // This file introduces a basic CFRunLoop-based implementation of the |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 BASE_EXPORT static bool IsHandlingSendEvent(); | 328 BASE_EXPORT static bool IsHandlingSendEvent(); |
329 #endif // !defined(OS_IOS) | 329 #endif // !defined(OS_IOS) |
330 | 330 |
331 private: | 331 private: |
332 DISALLOW_IMPLICIT_CONSTRUCTORS(MessagePumpMac); | 332 DISALLOW_IMPLICIT_CONSTRUCTORS(MessagePumpMac); |
333 }; | 333 }; |
334 | 334 |
335 } // namespace base | 335 } // namespace base |
336 | 336 |
337 #endif // BASE_MESSAGE_PUMP_MAC_H_ | 337 #endif // BASE_MESSAGE_PUMP_MAC_H_ |
OLD | NEW |