| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #include "chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h" | 7 #include "chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h" |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/i18n/rtl.h" | 10 #include "base/i18n/rtl.h" |
| 11 #include "base/mac/bundle_locations.h" | 11 #include "base/mac/bundle_locations.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 "grit/generated_resources.h" | 14 #include "grit/generated_resources.h" |
| 15 #include "ui/base/l10n/l10n_util.h" | 15 #include "ui/base/l10n/l10n_util.h" |
| 16 | 16 |
| 17 @interface ScreenCaptureNotificationController() | 17 @interface ScreenCaptureNotificationController() |
| 18 - (void)Hide; | 18 - (void)Hide; |
| 19 @end | 19 @end |
| 20 | 20 |
| 21 class ScreenCaptureNotificationUICocoa : public ScreenCaptureNotificationUI { | 21 class ScreenCaptureNotificationUICocoa : public ScreenCaptureNotificationUI { |
| 22 public: | 22 public: |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 path = [NSBezierPath bezierPath]; | 248 path = [NSBezierPath bezierPath]; |
| 249 [path moveToPoint:top]; | 249 [path moveToPoint:top]; |
| 250 [path lineToPoint:bottom]; | 250 [path lineToPoint:bottom]; |
| 251 [light setStroke]; | 251 [light setStroke]; |
| 252 [path stroke]; | 252 [path stroke]; |
| 253 | 253 |
| 254 [context setShouldAntialias:alias]; | 254 [context setShouldAntialias:alias]; |
| 255 } | 255 } |
| 256 | 256 |
| 257 @end | 257 @end |
| OLD | NEW |