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 #import "chrome/browser/ui/cocoa/applescript/apple_event_util.h" | 5 #import "chrome/browser/ui/cocoa/applescript/apple_event_util.h" |
6 | 6 |
7 #import <Carbon/Carbon.h> | 7 #import <Carbon/Carbon.h> |
| 8 #include <stddef.h> |
8 | 9 |
9 #include "base/logging.h" | 10 #include "base/logging.h" |
10 #include "base/strings/sys_string_conversions.h" | 11 #include "base/strings/sys_string_conversions.h" |
11 #include "base/values.h" | 12 #include "base/values.h" |
12 | 13 |
13 namespace chrome { | 14 namespace chrome { |
14 namespace mac { | 15 namespace mac { |
15 | 16 |
16 NSAppleEventDescriptor* ValueToAppleEventDescriptor(const base::Value* value) { | 17 NSAppleEventDescriptor* ValueToAppleEventDescriptor(const base::Value* value) { |
17 NSAppleEventDescriptor* descriptor = nil; | 18 NSAppleEventDescriptor* descriptor = nil; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 } | 92 } |
92 break; | 93 break; |
93 } | 94 } |
94 } | 95 } |
95 | 96 |
96 return descriptor; | 97 return descriptor; |
97 } | 98 } |
98 | 99 |
99 } // namespace mac | 100 } // namespace mac |
100 } // namespace chrome | 101 } // namespace chrome |
OLD | NEW |