| 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 "chrome/browser/ui/cocoa/media_picker/desktop_media_picker_item.h" | 5 #import "chrome/browser/ui/cocoa/media_picker/desktop_media_picker_item.h" |
| 6 | 6 |
| 7 #import <Quartz/Quartz.h> | 7 #import <Quartz/Quartz.h> |
| 8 | 8 |
| 9 #include "chrome/browser/media/desktop_media_list.h" | 9 #include "chrome/browser/media/webrtc/desktop_media_list.h" |
| 10 | 10 |
| 11 @implementation DesktopMediaPickerItem | 11 @implementation DesktopMediaPickerItem |
| 12 | 12 |
| 13 @synthesize titleHidden = titleHidden_; | 13 @synthesize titleHidden = titleHidden_; |
| 14 | 14 |
| 15 - (id)initWithSourceId:(content::DesktopMediaID)sourceID | 15 - (id)initWithSourceId:(content::DesktopMediaID)sourceID |
| 16 imageUID:(int)imageUID | 16 imageUID:(int)imageUID |
| 17 imageTitle:(NSString*)imageTitle { | 17 imageTitle:(NSString*)imageTitle { |
| 18 if ((self = [super init])) { | 18 if ((self = [super init])) { |
| 19 sourceID_ = sourceID; | 19 sourceID_ = sourceID; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 52 |
| 53 - (NSUInteger)imageVersion { | 53 - (NSUInteger)imageVersion { |
| 54 return imageVersion_; | 54 return imageVersion_; |
| 55 } | 55 } |
| 56 | 56 |
| 57 - (id)imageRepresentation { | 57 - (id)imageRepresentation { |
| 58 return image_.get(); | 58 return image_.get(); |
| 59 } | 59 } |
| 60 | 60 |
| 61 @end // @interface DesktopMediaPickerItem | 61 @end // @interface DesktopMediaPickerItem |
| OLD | NEW |