/external/chromium_org/chrome/browser/ui/cocoa/browser/ |
edit_search_engine_cocoa_controller_unittest.mm | 89 controller_ = 99 ASSERT_TRUE([controller_ window]); 101 [controller_ close]; 105 FakeEditSearchEngineController* controller_; 109 EXPECT_TRUE([controller_ window]); // Force the window to load. 111 EXPECT_TRUE([[controller_ goodImage] isKindOfClass:[NSImage class]]); 112 EXPECT_TRUE([[controller_ badImage] isKindOfClass:[NSImage class]]); 117 EXPECT_NSEQ(title, [[controller_ window] title]); 121 EXPECT_TRUE([controller_ window]); // Force the window to load. 122 EXPECT_EQ([controller_ badImage], [[controller_ nameImage] image]) [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/tabs/ |
tab_strip_model_observer_bridge.mm | 13 : controller_(controller), model_(model) { 16 // |controller_| about them in the future. 28 if ([controller_ respondsToSelector: 30 [controller_ insertTabWithContents:contents 39 if ([controller_ respondsToSelector: 41 [controller_ tabClosingWithContents:contents atIndex:index]; 47 if ([controller_ respondsToSelector: 49 [controller_ tabDetachedWithContents:contents atIndex:index]; 54 if ([controller_ respondsToSelector:@selector(tabDeactivatedWithContents:)]) 55 [controller_ tabDeactivatedWithContents:contents] [all...] |
/external/chromium/chrome/browser/ui/cocoa/tabs/ |
tab_strip_model_observer_bridge.mm | 11 : controller_(controller), model_(model) { 14 // |controller_| about them in the future. 26 if ([controller_ respondsToSelector: 28 [controller_ insertTabWithContents:contents 37 if ([controller_ respondsToSelector: 39 [controller_ tabClosingWithContents:contents atIndex:index]; 45 if ([controller_ respondsToSelector: 47 [controller_ tabDetachedWithContents:contents atIndex:index]; 56 if ([controller_ respondsToSelector: 59 [controller_ selectTabWithContents:new_content [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
autofill_notification_controller_unittest.mm | 26 controller_.reset( 30 [[test_window() contentView] setSubviews:@[[controller_ view]]]; 34 base::scoped_nsobject<AutofillNotificationController> controller_; 39 TEST_VIEW(AutofillNotificationControllerTest, [controller_ view]) 42 NSView* view = [controller_ view]; 50 EXPECT_NSEQ([controller_ textview], 52 EXPECT_NSEQ([controller_ checkbox], 54 EXPECT_NSEQ([controller_ tooltipView], 58 [controller_ performLayout]; 67 EXPECT_FALSE([[controller_ textview] isHidden]) [all...] |
autofill_tooltip_controller_unittest.mm | 17 controller_.reset([[AutofillTooltipController alloc] init]); 18 [[test_window() contentView] addSubview:[controller_ view]]; 22 base::scoped_nsobject<AutofillTooltipController> controller_; 27 TEST_VIEW(AutofillTooltipControllerTest, [controller_ view])
|
/external/chromium_org/ui/app_list/cocoa/ |
app_list_window_controller_unittest.mm | 24 base::scoped_nsobject<AppListWindowController> controller_; 28 [[controller_ appListViewController] delegate]); 39 controller_.reset([[AppListWindowController alloc] init]); 40 [[controller_ appListViewController] setDelegate:delegate.Pass()]; 44 EXPECT_TRUE(controller_.get()); 45 [[controller_ window] close]; 46 [[controller_ appListViewController] 48 controller_.reset(); 56 EXPECT_TRUE([controller_ window]); 57 [[controller_ window] makeKeyAndOrderFront:nil] [all...] |
/external/chromium/chrome/browser/ui/cocoa/notifications/ |
balloon_view_bridge.mm | 14 controller_(NULL) { 21 [controller_ closeBalloon:by_user]; 25 if (controller_) 26 return gfx::Size([controller_ desiredTotalWidth], 27 [controller_ desiredTotalHeight]); 33 [controller_ repositionToBalloon]; 37 controller_ = [[BalloonController alloc] initWithBalloon:balloon]; 38 [controller_ setShouldCascadeWindows:NO]; 39 [controller_ showWindow:nil]; 43 return [controller_ getHost] [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/notifications/ |
balloon_view_bridge.mm | 14 controller_(NULL) { 21 [controller_ closeBalloon:by_user]; 25 if (controller_) 26 return gfx::Size([controller_ desiredTotalWidth], 27 [controller_ desiredTotalHeight]); 33 [controller_ repositionToBalloon]; 37 controller_ = [[BalloonController alloc] initWithBalloon:balloon]; 38 [controller_ setShouldCascadeWindows:NO]; 39 [controller_ showWindow:nil]; 43 return [controller_ getHost] [all...] |
/external/chromium/chrome/browser/ui/cocoa/infobars/ |
infobar_container_controller_unittest.mm | 23 controller_ = 25 NSView* view = [controller_ view]; 30 [[controller_ view] removeFromSuperviewWithoutNeedingDisplay]; 31 [controller_ release]; 37 InfoBarContainerController* controller_; 40 TEST_VIEW(InfoBarContainerControllerTest, [controller_ view]) 46 [controller_ positionInfoBarsAndRedraw]; 51 NSView* view = [controller_ view]; 59 [controller_ addInfoBar:&linkDelegate animate:NO]; 62 [controller_ addInfoBar:&confirmDelegate animate:NO] [all...] |
infobar_controller_unittest.mm | 39 InfoBarController* controller_; 50 controller_ = controller; 56 [controller_ close]; 63 DCHECK(controller_ == controller); 64 controller_ = nil; 78 controller_.reset( 81 [[InfoBarContainerTest alloc] initWithController:controller_]); 82 [controller_ setContainerController:container_]; 83 [[test_window() contentView] addSubview:[controller_ view]]; 89 scoped_nsobject<LinkInfoBarController> controller_; [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/infobars/ |
infobar_container_cocoa.mm | 13 controller_(controller) { 23 [controller_ addInfoBar:infobar_cocoa position:position]; 28 [controller_ removeInfoBar:infobar_cocoa]; 36 [controller_ positionInfoBarsAndRedraw:is_animating]; 41 *x = [controller_ infobarArrowX]; 42 return ![controller_ shouldSuppressTopInfoBarTip];
|
/external/chromium_org/ash/wm/ |
power_button_controller.cc | 27 controller_(controller) { 41 if (controller_->ShutdownRequested()) 58 !controller_->LockRequested()) { 59 controller_->StartLockAnimationAndLockImmediately(); 61 controller_->RequestShutdown(); 67 if (controller_->LockRequested()) 72 controller_->StartLockAnimation(true); 74 controller_->StartShutdownAnimation(); 77 if (controller_->CanCancelLockAnimation()) 78 controller_->CancelLockAnimation() [all...] |
/external/chromium_org/ui/views/corewm/ |
tooltip_controller_test_helper.cc | 16 : controller_(controller) { 23 return controller_->tooltip_text_; 27 return controller_->tooltip_window_; 31 controller_->TooltipTimerFired(); 35 return controller_->tooltip_timer_.IsRunning(); 39 controller_->tooltip_shown_timer_.Stop(); 40 controller_->TooltipShownTimerFired(); 44 return controller_->tooltip_shown_timer_.IsRunning(); 48 return controller_->IsTooltipVisible();
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
base_bubble_controller_unittest.mm | 32 controller_ = [[BaseBubbleController alloc] 36 EXPECT_TRUE([controller_ bubble]); 41 [controller_ close]; 48 BaseBubbleController* controller_; 54 [[controller_ bubble] setArrowLocation:info_bubble::kTopLeft]; 55 [[controller_ bubble] setAlignment:info_bubble::kAlignEdgeToAnchorEdge]; 56 [controller_ showWindow:nil]; 58 NSRect frame = [[controller_ window] frame]; 70 [[controller_ bubble] setArrowLocation:info_bubble::kTopRight]; 71 [[controller_ bubble] setAlignment:info_bubble::kAlignEdgeToAnchorEdge] [all...] |
profile_signin_confirmation_view_controller_browsertest.mm | 45 controller_.reset([[ProfileSigninConfirmationViewController alloc] 51 [[window_ contentView] addSubview:[controller_ view]]; 75 base::scoped_nsobject<ProfileSigninConfirmationViewController> controller_; 92 [controller_ ok:nil]; 95 EXPECT_FALSE([controller_ delegate]); 100 [controller_ ok:nil]; 110 [controller_ cancel:nil]; 113 EXPECT_FALSE([controller_ delegate]); 118 [controller_ cancel:nil]; 128 [controller_ createProfile:nil] [all...] |
browser_window_cocoa_unittest.mm | 28 controller_ = [[BrowserWindowController alloc] initWithBrowser:browser() 33 [controller_ close]; 38 BrowserWindowController* controller_; 43 new BrowserWindowCocoa(browser(), controller_)); 123 : controller_( 126 [[[controller_ stub] andReturn:nil] overlayWindow]; 130 BrowserWindowCocoa browser_window(browser(), controller_); 144 id controller_; 149 [[[window_ stub] andReturn:controller_] delegate]; 150 [[[controller_ stub] andReturn:window_] window] [all...] |
/external/chromium_org/ui/gfx/ozone/dri/ |
hardware_display_controller_unittest.cc | 173 scoped_ptr<gfx::HardwareDisplayController> controller_; member in class:HardwareDisplayControllerTest 181 controller_.reset(new gfx::HardwareDisplayController()); 186 controller_.reset(); 192 controller_->get_state()); 197 controller_->SetControllerInfo( 202 controller_->get_state()); 206 controller_->SetControllerInfo( 209 new MockDriSurface(controller_.get())); 212 EXPECT_TRUE(controller_->BindSurfaceToController(surface.Pass())); 216 controller_->get_state()) [all...] |
/external/chromium/chrome/browser/ui/cocoa/find_bar/ |
find_bar_cocoa_controller_unittest.mm | 51 controller_.reset([[FindBarCocoaController alloc] init]); 52 [[test_window() contentView] addSubview:[controller_ view]]; 57 [controller_ stopAnimation]; 61 scoped_nsobject<FindBarCocoaController> controller_; 64 TEST_VIEW(FindBarCocoaControllerTest, [controller_ view]) 67 EXPECT_TRUE([[[controller_ nextButton] image] isValid]); 68 EXPECT_TRUE([[[controller_ previousButton] image] isValid]); 72 NSView* findBarView = [controller_ findBarView]; 75 ASSERT_FALSE([controller_ isFindBarVisible]); 77 [controller_ showFindBar:NO] [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/find_bar/ |
find_bar_cocoa_controller_unittest.mm | 41 controller_.reset([[FindBarCocoaController alloc] initWithBrowser:nil]); 42 [[test_window() contentView] addSubview:[controller_ view]]; 47 [controller_ stopAnimation]; 51 base::scoped_nsobject<FindBarCocoaController> controller_; 54 TEST_VIEW(FindBarCocoaControllerTest, [controller_ view]) 57 EXPECT_TRUE([[[controller_ nextButton] image] isValid]); 58 EXPECT_TRUE([[[controller_ previousButton] image] isValid]); 62 NSView* findBarView = [controller_ findBarView]; 65 ASSERT_FALSE([controller_ isFindBarVisible]); 67 [controller_ showFindBar:NO] [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/media_picker/ |
desktop_media_picker_controller_unittest.mm | 55 controller_.reset( 63 controller_.reset(); 85 base::scoped_nsobject<DesktopMediaPickerController> controller_; 89 [controller_ showWindow:nil]; 95 NSArray* items = [controller_ items]; 104 [controller_ showWindow:nil]; 111 EXPECT_EQ(2U, [[controller_ items] count]); 112 EXPECT_FALSE([[controller_ okButton] isEnabled]); 115 [[controller_ sourceBrowser] setSelectionIndexes:indexSet 117 EXPECT_TRUE([[controller_ okButton] isEnabled]) [all...] |
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_bar_bridge.mm | 12 : controller_(controller), 28 [controller_ loaded:model]; 32 [controller_ beingDeleted:model]; 40 [controller_ nodeMoved:model 49 [controller_ nodeAdded:model parent:parent index:index]; 57 [controller_ nodeRemoved:model parent:parent index:old_index]; 62 [controller_ nodeChanged:model node:node]; 67 [controller_ nodeFaviconLoaded:model node:node]; 72 [controller_ nodeChildrenReordered:model node:node]; 81 [controller_ loaded:model] [all...] |
/external/chromium_org/chrome/browser/ui/views/autofill/ |
autofill_popup_view_views.cc | 43 : controller_(controller), 47 if (controller_) { 48 controller_->ViewDestroyed(); 56 controller_ = NULL; 72 if (!controller_) 78 for (size_t i = 0; i < controller_->names().size(); ++i) { 79 gfx::Rect line_rect = controller_->GetRowBounds(i); 81 if (controller_->identifiers()[i] == 91 if (controller_) 92 controller_->SelectionCleared() [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
browser_window_controller_unittest.mm | 69 controller_ = [[BrowserWindowController alloc] initWithBrowser:browser 74 [controller_ close]; 80 BrowserWindowController* controller_; 95 [controller_ saveWindowPositionToPrefs:prefs]; 105 EXPECT_TRUE([controller_ createFullscreenWindow]); 112 [controller_ updateBookmarkBarVisibilityWithAnimation:NO]; 115 EXPECT_TRUE([controller_ isNormalWindow]); 116 EXPECT_TRUE([controller_ hasTabStrip]); 117 EXPECT_FALSE([controller_ hasTitleBar]); 118 EXPECT_TRUE([controller_ isBookmarkBarVisible]) [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_bar_bridge.mm | 18 : controller_(controller), 34 [controller_ updateAppsPageShortcutButtonVisibility]; 42 [controller_ loaded:model]; 46 [controller_ beingDeleted:model]; 55 [controller_ nodeMoved:model 65 [controller_ nodeAdded:model parent:parent index:index]; 73 [controller_ nodeRemoved:model parent:parent index:old_index]; 77 [controller_ loaded:model]; 83 [controller_ nodeChanged:model node:node]; 89 [controller_ nodeFaviconLoaded:model node:node] [all...] |
bookmark_editor_controller_unittest.mm | 25 BookmarkEditorController* controller_; 38 controller_ = [[BookmarkEditorController alloc] 46 [controller_ runAsModalSheet]; 50 controller_ = NULL; 56 [controller_ cancel:nil]; 64 [controller_ setDisplayName:@"whamma jamma bamma"]; 65 [controller_ ok:nil]; 73 EXPECT_TRUE([controller_ okButtonEnabled]); 74 [controller_ setDisplayURL:@"http://yellow-sneakers.com/"]; 75 EXPECT_TRUE([controller_ okButtonEnabled]) [all...] |