/external/chromium/chrome/browser/ui/cocoa/infobars/ |
infobar.h | 19 // controller directly rather than pass messages through a bridge. 26 // InfoBarController* controller = infobar->controller(); 27 // // Do something with the controller, and save a pointer so it can be 32 InfoBar(InfoBarController* controller) { 33 DCHECK(controller); 34 controller_ = controller; 37 InfoBarController* controller() { function in class:InfoBar 42 // Pointer to the infobar controller. Is never null.
|
infobar_container_controller.mm | 19 // notifications and proxies them back to |controller|. 22 InfoBarNotificationObserver(InfoBarContainerController* controller) 23 : controller_(controller) { 105 - (void)willRemoveController:(InfoBarController*)controller { 106 [closingInfoBars_ addObject:controller]; 109 - (void)removeController:(InfoBarController*)controller { 110 if (![infobarControllers_ containsObject:controller]) 114 // we retain and autorelease the controller to prevent it from being 116 [[controller retain] autorelease]; 117 [[controller view] removeFromSuperview] [all...] |
/external/chromium_org/chrome/browser/notifications/ |
message_center_settings_controller_unittest.cc | 52 MessageCenterSettingsController* controller() { return controller_.get(); } function in class:MessageCenterSettingsControllerTest 96 controller()->ActiveUserChanged(GetFakeUserManager()->GetActiveUser()); 117 EXPECT_EQ(controller()->GetNotifierGroupCount(), 2u); 119 EXPECT_EQ(controller()->GetNotifierGroupAt(0).name, UTF8ToUTF16("Profile-1")); 120 EXPECT_EQ(controller()->GetNotifierGroupAt(0).index, 0u); 122 EXPECT_EQ(controller()->GetNotifierGroupAt(1).name, UTF8ToUTF16("Profile-2")); 123 EXPECT_EQ(controller()->GetNotifierGroupAt(1).index, 1u); 125 EXPECT_EQ(controller()->GetActiveNotifierGroup().name, 127 EXPECT_EQ(controller()->GetActiveNotifierGroup().index, 0u); 129 controller()->SwitchToNotifierGroup(1) [all...] |
/external/chromium/chrome/browser/ui/cocoa/tab_contents/ |
sad_tab_controller_unittest.mm | 52 // Creates the controller and adds its view to contents, caller has ownership. 55 SadTabController* controller = 58 EXPECT_TRUE(controller); 59 NSView* view = [controller view]; 62 return controller; 65 NSButton* GetLinkButton(SadTabController* controller) { 66 SadTabView* view = static_cast<SadTabView*>([controller view]); 78 scoped_nsobject<SadTabController> controller(CreateController()); 79 EXPECT_TRUE(controller); 80 NSButton* link = GetLinkButton(controller); [all...] |
/external/chromium/chrome/browser/ui/toolbar/ |
encoding_menu_controller_unittest.cc | 22 EncodingMenuController controller; local 25 ASSERT_FALSE(controller.DoesCommandBelongToEncodingMenu(0)); 26 ASSERT_FALSE(controller.DoesCommandBelongToEncodingMenu(-1)); 28 int num_valid_encoding_ids = controller.NumValidGUIEncodingIDs(); 29 const int* valid_encodings = controller.ValidGUIEncodingIDs(); 30 ASSERT_TRUE(controller.DoesCommandBelongToEncodingMenu( 34 ASSERT_TRUE(controller.DoesCommandBelongToEncodingMenu(valid_encodings[i])); 42 ASSERT_FALSE(controller.DoesCommandBelongToEncodingMenu(one_past_largest_id)); 47 EncodingMenuController controller; local 52 controller.GetEncodingMenuItems(&profile_en, &english_items) 67 EncodingMenuController controller; local [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/tab_contents/ |
sad_tab_controller_unittest.mm | 52 // Creates the controller and adds its view to contents, caller has ownership. 54 SadTabController* controller = 56 EXPECT_TRUE(controller); 57 NSView* view = [controller view]; 62 return controller; 65 HyperlinkTextView* GetHelpTextView(SadTabController* controller) { 66 SadTabView* view = static_cast<SadTabView*>([controller view]); 78 base::scoped_nsobject<SadTabController> controller(CreateController()); 79 EXPECT_TRUE(controller); 80 HyperlinkTextView* help = GetHelpTextView(controller); [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
about_ipc_controller_unittest.mm | 22 AboutIPCController* controller = [[AboutIPCController alloc] init]; 23 EXPECT_TRUE([controller window]); // force nib load. 34 EXPECT_FALSE([controller filterOut:cdata.get()]); 41 [controller setDisplayViewMessages:NO]; 42 EXPECT_TRUE([controller filterOut:cdata.get()]); 43 [controller setDisplayViewMessages:YES]; 44 EXPECT_FALSE([controller filterOut:cdata.get()]); 45 [controller close];
|
confirm_quit_panel_controller_unittest.mm | 30 ConfirmQuitPanelController* controller = 33 EXPECT_EQ(controller, [ConfirmQuitPanelController sharedController]); 34 [controller showWindow:nil]; 35 [controller dismissPanel]; // Releases self. 36 // The controller should still be the singleton instance until after the 39 EXPECT_EQ(controller, [ConfirmQuitPanelController sharedController]); 43 Class controller = [ConfirmQuitPanelController class]; 47 [controller keyCombinationForAccelerator:item]); 51 [controller keyCombinationForAccelerator:item]); 56 [controller keyCombinationForAccelerator:item]) [all...] |
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_name_folder_controller_unittest.mm | 29 controller([[BookmarkNameFolderController alloc] 34 [controller window]; // force nib load 37 [controller cancel:nil]; 41 [controller setFolderName:@"Bozo"]; 42 [controller cancel:nil]; 46 [controller ok:nil]; 65 controller([[BookmarkNameFolderController alloc] 70 [controller window]; // force nib load 73 [controller setFolderName:@"middle"]; 74 [controller ok:nil] [all...] |
/external/chromium/chrome/browser/ui/webui/chromeos/ |
enterprise_enrollment_ui.h | 20 class Controller { 22 virtual ~Controller() {} 42 // Gets the controller the given |web_ui| is associated with. Returns NULL if 43 // there is no controller set. 44 static Controller* GetController(WebUI* web_ui); 46 // Sets the controller on a tab contents. 47 static void SetController(TabContents* contents, Controller* controller);
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_name_folder_controller_unittest.mm | 27 base::scoped_nsobject<BookmarkNameFolderController> controller( 32 [controller window]; // force nib load 35 [controller cancel:nil]; 39 [controller setFolderName:@"Bozo"]; 40 [controller cancel:nil]; 44 [controller ok:nil]; 62 base::scoped_nsobject<BookmarkNameFolderController> controller( 67 [controller window]; // force nib load 70 [controller setFolderName:@"middle"]; 71 [controller ok:nil] [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_filename_controller/ |
manifest.json | 1 {"name": "Download Filename Controller", 2 "description": "Download Filename Controller",
|
/external/chromium/chrome/browser/chromeos/login/ |
wizard_controller_browsertest.cc | 54 mock_var = CreateMockWizardScreenHelper<mocked_class>::Create(controller()); \ 55 controller()->screen_name.reset(mock_var); \ 74 WizardController* const wizard = controller(); 126 EXPECT_EQ(NULL, controller()->current_screen()); 128 controller()->ShowFirstScreen(WizardController::kNetworkScreenName); 134 controller()->OnExit(exit_code); 150 EXPECT_EQ(controller()->GetNetworkScreen(), controller()->current_screen()); 155 EXPECT_EQ(controller()->GetEulaScreen(), controller()->current_screen()) [all...] |
update_screen_browsertest.cc | 87 ASSERT_TRUE(controller() != NULL); 89 controller()->set_observer(mock_screen_observer.get()); 90 UpdateScreen* update_screen = controller()->GetUpdateScreen(); 92 ASSERT_EQ(controller()->current_screen(), update_screen); 95 controller()->set_observer(NULL); 99 ASSERT_TRUE(controller() != NULL); 101 controller()->set_observer(mock_screen_observer.get()); 102 UpdateScreen* update_screen = controller()->GetUpdateScreen(); 104 ASSERT_EQ(controller()->current_screen(), update_screen); 115 controller()->set_observer(NULL) [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
autofill_bubble_controller_unittest.mm | 14 AutofillBubbleController* controller = 17 EXPECT_FALSE([[controller window] isVisible]); 19 [controller showWindow:nil]; 20 EXPECT_TRUE([[controller window] isVisible]); 24 [controller close];
|
/external/chromium/chrome/browser/ui/cocoa/extensions/ |
extension_install_dialog_controller_unittest.mm | 113 controller([[ExtensionInstallDialogController alloc] 122 [controller window]; // force nib load 125 EXPECT_NSEQ(@"ExtensionInstallPrompt", [controller windowNibName]); 131 EXPECT_TRUE([controller iconView] != nil); 132 EXPECT_TRUE([[controller iconView] image] != nil); 134 EXPECT_TRUE([controller titleField] != nil); 135 EXPECT_NE(0u, [[[controller titleField] stringValue] length]); 137 EXPECT_TRUE([controller subtitleField] != nil); 138 EXPECT_NE(0u, [[[controller subtitleField] stringValue] length]); 139 EXPECT_NE('^', [[[controller subtitleField] stringValue] characterAtIndex:0]) [all...] |
/external/chromium_org/ui/message_center/cocoa/ |
settings_controller_unittest.mm | 54 // Notifiers are owned by settings controller. 61 base::scoped_nsobject<MCSettingsController> controller( 64 [controller view]; 66 EXPECT_EQ(notifiers.size(), [controller scrollViewItemCount]); 70 // Notifiers are owned by settings controller. 77 base::scoped_nsobject<MCSettingsController> controller( 80 [controller view]; 82 MCSettingsEntryView* toggleView = [controller bottomMostButton]; 92 controller.reset(); 97 // Notifiers are owned by settings controller [all...] |
notification_controller_unittest.mm | 124 base::scoped_nsobject<MCNotificationController> controller( 127 [controller view]; 129 EXPECT_EQ(TestIcon(), [[controller iconView] image]); 130 EXPECT_EQ(base::SysNSStringToUTF16([[controller titleView] string]), 132 EXPECT_EQ(base::SysNSStringToUTF16([[controller messageView] string]), 134 EXPECT_EQ(controller.get(), [[controller closeButton] target]); 152 base::scoped_nsobject<MCNotificationController> controller( 155 [controller view]; 157 EXPECT_GT(NSHeight([[controller view] frame]) [all...] |
/external/chromium_org/cc/scheduler/ |
frame_rate_controller_unittest.cc | 39 FrameRateController controller(time_source); 41 controller.SetClient(&client); 42 controller.SetActive(true); 53 // Tell the controller we drew 54 controller.DidSwapBuffers(); 56 // Tell the controller the frame ended 5ms later 59 controller.DidSwapBuffersComplete(); 78 FrameRateController controller(time_source); 80 controller.SetClient(&client); 81 controller.SetActive(true) [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
autofill_dialog_controller_unittest.cc | 400 // Creates a new controller for |form_data|. 418 // Creates a new controller for |form_data| and sets up some initial wallet 422 controller()->Show(); 425 EXPECT_CALL(*controller()->GetTestingWalletClient(), GetWalletItems()); 426 controller()->OnDidFetchWalletCookieValue(std::string()); 427 controller()->OnDidGetWalletItems(CompleteAndValidWalletItems()); 435 controller()->RequestedFieldsForSection(SECTION_CC); 440 controller()->GetView()->SetUserInput(SECTION_CC, cc_outputs); 447 controller()->RequestedFieldsForSection(SECTION_CC_BILLING); 457 controller()->GetView()->SetUserInput(SECTION_CC_BILLING, outputs) 551 TestAutofillDialogController* controller() { return controller_.get(); } function in class:autofill::__anon5940::AutofillDialogControllerTest [all...] |
/external/chromium_org/ash/accelerators/ |
focus_manager_factory.cc | 24 AcceleratorController* controller = local 26 if (controller) 27 return controller->Process(accelerator); 34 AcceleratorController* controller = local 36 if (controller && controller->IsRegistered(accelerator)) 37 return controller;
|
/external/chromium_org/chrome/browser/extensions/api/tabs/ |
windows_util.cc | 20 extensions::WindowController** controller) { 24 // If there is a window controller associated with this extension, use that. 26 *controller = extension_window_controller; 29 *controller = extensions::WindowControllerList::GetInstance()-> 32 if (!(*controller)) { 37 *controller = extensions::WindowControllerList::GetInstance()-> 39 if (!(*controller)) {
|
/external/chromium_org/chrome/browser/ui/cocoa/tabs/ |
tab_controller_target.h | 19 // Dispatch context menu commands for the given tab controller. 21 forController:(TabController*)controller; 23 // controller. 25 forController:(TabController*)controller; 27 // Returns a context menu model for a given controller. Caller owns the result. 28 - (ui::SimpleMenuModel*)contextMenuModelForController:(TabController*)controller 31 // Returns a weak reference to the controller that manages dragging of tabs.
|
/packages/apps/Browser/tests/src/com/android/browser/ |
IntentHandlerTests.java | 41 Controller controller = getActivity().getController(); local 42 Tab tabGoogle = controller.getCurrentTab(); 45 assertEquals(1, controller.getTabs().size()); 48 Tab tabMaps = controller.getCurrentTab(); 51 assertEquals(2, controller.getTabs().size()); 54 assertEquals(tabGoogle, controller.getCurrentTab()); 55 assertEquals(2, controller.getTabs().size()); 61 Controller controller = getActivity().getController() local 88 Controller controller = getActivity().getController(); local [all...] |
/external/chromium/chrome/browser/ |
repost_form_warning_controller.cc | 14 NavigationController* controller = &tab_contents->controller(); local 16 Source<NavigationController>(controller)); 18 Source<NavigationController>(controller)); 20 Source<NavigationController>(controller)); 38 tab_contents_->controller().CancelPendingReload(); 45 tab_contents_->controller().ContinuePendingReload(); 55 // a navigation controller anymore. 61 &tab_contents_->controller());
|