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 <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
6 | 6 |
7 #import "remoting/host/disconnect_window_mac.h" | 7 #import "remoting/host/disconnect_window_mac.h" |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/i18n/rtl.h" | 11 #include "base/i18n/rtl.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
14 #include "base/strings/sys_string_conversions.h" | 15 #include "base/strings/sys_string_conversions.h" |
15 #include "remoting/base/string_resources.h" | 16 #include "remoting/base/string_resources.h" |
16 #include "remoting/host/client_session_control.h" | 17 #include "remoting/host/client_session_control.h" |
17 #include "remoting/host/host_window.h" | 18 #include "remoting/host/host_window.h" |
18 #include "ui/base/l10n/l10n_util_mac.h" | 19 #include "ui/base/l10n/l10n_util_mac.h" |
19 | 20 |
20 @interface DisconnectWindowController() | 21 @interface DisconnectWindowController() |
21 - (BOOL)isRToL; | 22 - (BOOL)isRToL; |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 path = [NSBezierPath bezierPath]; | 284 path = [NSBezierPath bezierPath]; |
284 [path moveToPoint:top]; | 285 [path moveToPoint:top]; |
285 [path lineToPoint:bottom]; | 286 [path lineToPoint:bottom]; |
286 [light setStroke]; | 287 [light setStroke]; |
287 [path stroke]; | 288 [path stroke]; |
288 | 289 |
289 [context setShouldAntialias:alias]; | 290 [context setShouldAntialias:alias]; |
290 } | 291 } |
291 | 292 |
292 @end | 293 @end |
OLD | NEW |