| 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/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/string_util.h" | 12 #include "base/strings/string_util.h" |
| 13 #include "base/strings/sys_string_conversions.h" | 13 #include "base/strings/sys_string_conversions.h" |
| 14 #include "remoting/host/client_session_control.h" | 14 #include "remoting/host/client_session_control.h" |
| 15 #include "remoting/host/host_window.h" | 15 #include "remoting/host/host_window.h" |
| 16 #include "remoting/host/ui_strings.h" | 16 #include "remoting/host/ui_strings.h" |
| 17 | 17 |
| 18 @interface DisconnectWindowController() | 18 @interface DisconnectWindowController() |
| 19 - (BOOL)isRToL; | 19 - (BOOL)isRToL; |
| 20 - (void)Hide; | 20 - (void)Hide; |
| 21 @end | 21 @end |
| 22 | 22 |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 path = [NSBezierPath bezierPath]; | 293 path = [NSBezierPath bezierPath]; |
| 294 [path moveToPoint:top]; | 294 [path moveToPoint:top]; |
| 295 [path lineToPoint:bottom]; | 295 [path lineToPoint:bottom]; |
| 296 [light setStroke]; | 296 [light setStroke]; |
| 297 [path stroke]; | 297 [path stroke]; |
| 298 | 298 |
| 299 [context setShouldAntialias:alias]; | 299 [context setShouldAntialias:alias]; |
| 300 } | 300 } |
| 301 | 301 |
| 302 @end | 302 @end |
| OLD | NEW |