Home
last modified time | relevance | path

Searched refs:ObjCCastStrict (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium_org/base/mac/
Dfoundation_util_unittest.mm235 // ObjCCastStrict: correct cast results in correct pointer being returned.
236 EXPECT_EQ(test_array, ObjCCastStrict<NSArray>(test_array));
238 ObjCCastStrict<NSArray>(test_array_mutable));
239 EXPECT_EQ(test_data, ObjCCastStrict<NSData>(test_data));
241 ObjCCastStrict<NSData>(test_data_mutable));
242 EXPECT_EQ(test_date, ObjCCastStrict<NSDate>(test_date));
243 EXPECT_EQ(test_dict, ObjCCastStrict<NSDictionary>(test_dict));
245 ObjCCastStrict<NSDictionary>(test_dict_mutable));
246 EXPECT_EQ(test_number, ObjCCastStrict<NSNumber>(test_number));
247 EXPECT_EQ(test_null, ObjCCastStrict<NSNull>(test_null));
[all …]
Dfoundation_util.h330 T* ObjCCastStrict(id objc_val) { in ObjCCastStrict() function
/external/chromium_org/chrome/browser/ui/cocoa/browser/
Dzoom_bubble_controller_unittest.mm47 [base::mac::ObjCCastStrict<InfoBubbleWindow>([controller window])
66 [base::mac::ObjCCastStrict<InfoBubbleWindow>([controller window])
83 [base::mac::ObjCCastStrict<InfoBubbleWindow>([controller window])
Dzoom_bubble_controller.mm116 base::mac::ObjCCastStrict<InfoBubbleWindow>([self window]);
165 base::mac::ObjCCastStrict<InfoBubbleWindow>([self window]);
/external/chromium_org/ui/base/cocoa/controls/
Dhover_image_menu_button_unittest.mm39 normal_.reset([base::mac::ObjCCastStrict<NSImage>(
41 pressed_.reset([base::mac::ObjCCastStrict<NSImage>(
43 hovered_.reset([base::mac::ObjCCastStrict<NSImage>(
Dhover_image_menu_button.mm33 return base::mac::ObjCCastStrict<HoverImageMenuButtonCell>([self cell]);
Dhyperlink_button_cell_unittest.mm43 NSNumber* number = base::mac::ObjCCastStrict<NSNumber>(
Dblue_label_button.mm105 [base::mac::ObjCCastStrict<HoverButton>(controlView) hoverState];
/external/chromium_org/ui/app_list/cocoa/test/
Dapps_grid_controller_test_helper.mm61 AppsGridViewItem* item = base::mac::ObjCCastStrict<AppsGridViewItem>(
80 AppsGridViewItem* item = base::mac::ObjCCastStrict<AppsGridViewItem>(
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_section_container_unittest.mm100 NSPopUpButton* popup = base::mac::ObjCCastStrict<NSPopUpButton>(
109 NSPopUpButton* yearPopup = base::mac::ObjCCastStrict<NSPopUpButton>(
139 NSPopUpButton* popup = base::mac::ObjCCastStrict<NSPopUpButton>(
Dautofill_dialog_window_controller.mm65 base::mac::ObjCCastStrict<AutofillDialogWindowController>(
96 base::mac::ObjCCastStrict<AutofillTextField>([self delegate]);
106 base::mac::ObjCCastStrict<AutofillTextField>([self delegate]);
263 return base::mac::ObjCCastStrict<AutofillDialogWindow>([self window]);
Dautofill_main_container.mm129 int index = [base::mac::ObjCCastStrict<NSNumber>(link) intValue];
273 NSButton* button = base::mac::ObjCCastStrict<NSButton>(
276 button = base::mac::ObjCCastStrict<NSButton>(
Dgenerated_credit_card_bubble_cocoa.mm104 base::mac::ObjCCastStrict<InfoBubbleWindow>([self window]);
Dnew_credit_card_bubble_cocoa.mm272 return base::mac::ObjCCastStrict<InfoBubbleWindow>(
Dautofill_notification_controller.mm160 return base::mac::ObjCCastStrict<AutofillNotificationView>([self view]);
/external/chromium_org/chrome/browser/storage_monitor/
Dimage_capture_device.mm119 [camera_ requestDownloadFile:base::mac::ObjCCastStrict<ICCameraFile>(item)
138 info.size = [base::mac::ObjCCastStrict<ICCameraFile>(item) fileSize];
Dimage_capture_device_manager.mm96 base::mac::ObjCCastStrict<ICCameraDevice>(addedDevice);
/external/chromium_org/ui/app_list/cocoa/
Dapps_grid_view_item.mm167 return base::mac::ObjCCastStrict<NSButton>([[self subviews] objectAtIndex:0]);
358 base::mac::ObjCCastStrict<AppsGridController>([collectionView delegate]);
404 return base::mac::ObjCCastStrict<AppsGridItemBackgroundView>([self view]);
Dapps_grid_controller.mm391 return base::mac::ObjCCastStrict<AppsGridViewItem>(
419 return base::mac::ObjCCastStrict<NSScrollView>([self view]);
470 AppsGridViewItem* item = base::mac::ObjCCastStrict<AppsGridViewItem>(
485 AppsGridViewItem* item = base::mac::ObjCCastStrict<AppsGridViewItem>(
Dapp_list_pager_view.mm145 base::mac::ObjCCastStrict<AppListPagerView>(controlView);
Dapps_collection_view_drag_manager.mm209 NSCollectionView* pageView = base::mac::ObjCCastStrict<NSCollectionView>(
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_button.mm364 base::mac::ObjCCastStrict<GradientButtonCell>([self cell]);
465 base::mac::ObjCCastStrict<GradientButtonCell>([self cell]);
/external/chromium_org/ui/message_center/cocoa/
Dpopup_controller.mm63 base::mac::ObjCCastStrict<MCPopupController>([self windowController]);
Dnotification_controller_unittest.mm68 return base::mac::ObjCCastStrict<NSButton>(view);
/external/chromium_org/chrome/browser/ui/cocoa/
Dvalidation_message_bubble_cocoa.mm144 BaseView* view = base::mac::ObjCCastStrict<BaseView>(

12