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 #import "base/message_loop/message_pump_mac.h" | 5 #import "base/message_loop/message_pump_mac.h" |
6 | 6 |
7 #import <Foundation/Foundation.h> | 7 #import <Foundation/Foundation.h> |
8 | 8 |
9 #include <limits> | 9 #include <limits> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
13 #include "base/time.h" | 13 #include "base/time/time.h" |
14 | 14 |
15 #if !defined(OS_IOS) | 15 #if !defined(OS_IOS) |
16 #import <AppKit/AppKit.h> | 16 #import <AppKit/AppKit.h> |
17 #endif // !defined(OS_IOS) | 17 #endif // !defined(OS_IOS) |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
21 void NoOp(void* info) { | 21 void NoOp(void* info) { |
22 } | 22 } |
23 | 23 |
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 [NSApplication sharedApplication]; | 692 [NSApplication sharedApplication]; |
693 g_not_using_cr_app = true; | 693 g_not_using_cr_app = true; |
694 return new MessagePumpNSApplication; | 694 return new MessagePumpNSApplication; |
695 #endif | 695 #endif |
696 } | 696 } |
697 | 697 |
698 return new MessagePumpNSRunLoop; | 698 return new MessagePumpNSRunLoop; |
699 } | 699 } |
700 | 700 |
701 } // namespace base | 701 } // namespace base |
OLD | NEW |