Home
last modified time | relevance | path

Searched refs:controller (Results 1 – 25 of 1175) sorted by relevance

12345678910>>...47

/external/chromium_org/content/browser/frame_host/
Dnavigation_controller_impl_unittest.cc213 return static_cast<NavigationControllerImpl&>(controller()); in controller_impl()
222 NavigationController* controller) { in RegisterForAllNavNotifications() argument
224 Source<NavigationController>(controller)); in RegisterForAllNavNotifications()
226 Source<NavigationController>(controller)); in RegisterForAllNavNotifications()
256 NavigationControllerImpl& controller = controller_impl(); in TEST_F() local
258 EXPECT_FALSE(controller.GetPendingEntry()); in TEST_F()
259 EXPECT_FALSE(controller.GetVisibleEntry()); in TEST_F()
260 EXPECT_FALSE(controller.GetLastCommittedEntry()); in TEST_F()
261 EXPECT_EQ(controller.GetPendingEntryIndex(), -1); in TEST_F()
262 EXPECT_EQ(controller.GetLastCommittedEntryIndex(), -1); in TEST_F()
[all …]
/external/chromium_org/cc/animation/
Dlayer_animation_controller_unittest.cc40 scoped_refptr<LayerAnimationController> controller( in TEST() local
42 controller->AddValueObserver(&dummy); in TEST()
46 AddOpacityTransitionToController(controller.get(), 1, 0, 1, false); in TEST()
47 int group_id = controller->GetAnimation(Animation::Opacity)->group(); in TEST()
49 controller->PushAnimationUpdatesTo(controller_impl.get()); in TEST()
65 scoped_refptr<LayerAnimationController> controller( in TEST() local
67 controller->AddValueObserver(&dummy); in TEST()
71 AddOpacityTransitionToController(controller.get(), 1, 0, 1, false); in TEST()
72 int group_id = controller->GetAnimation(Animation::Opacity)->group(); in TEST()
74 controller->PushAnimationUpdatesTo(controller_impl.get()); in TEST()
[all …]
Danimation_registrar.cc35 LayerAnimationController* controller) { in DidActivateAnimationController() argument
36 active_animation_controllers_[controller->id()] = controller; in DidActivateAnimationController()
40 LayerAnimationController* controller) { in DidDeactivateAnimationController() argument
41 if (ContainsKey(active_animation_controllers_, controller->id())) in DidDeactivateAnimationController()
42 active_animation_controllers_.erase(controller->id()); in DidDeactivateAnimationController()
46 LayerAnimationController* controller) { in RegisterAnimationController() argument
47 all_animation_controllers_[controller->id()] = controller; in RegisterAnimationController()
51 LayerAnimationController* controller) { in UnregisterAnimationController() argument
52 if (ContainsKey(all_animation_controllers_, controller->id())) in UnregisterAnimationController()
53 all_animation_controllers_.erase(controller->id()); in UnregisterAnimationController()
[all …]
/external/chromium-trace/trace-viewer/src/tracing/
Dfind_control_test.js60 ctl.controller = {
88 var controller = new tracing.FindController();
89 controller.findNext();
90 controller.findPrevious();
95 var controller = new tracing.FindController();
96 controller.timeline = timeline;
99 controller.findNext();
101 controller.findPrevious();
107 var controller = new tracing.FindController();
108 controller.timeline = timeline;
[all …]
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_controller_unittest.cc422 controller()->Show(); in SetUpControllerWithFormData()
425 EXPECT_CALL(*controller()->GetTestingWalletClient(), GetWalletItems()); in SetUpControllerWithFormData()
426 controller()->OnDidFetchWalletCookieValue(std::string()); in SetUpControllerWithFormData()
427 controller()->OnDidGetWalletItems(CompleteAndValidWalletItems()); in SetUpControllerWithFormData()
435 controller()->RequestedFieldsForSection(SECTION_CC); in FillCreditCardInputs()
440 controller()->GetView()->SetUserInput(SECTION_CC, cc_outputs); in FillCreditCardInputs()
447 controller()->RequestedFieldsForSection(SECTION_CC_BILLING); in FillCCBillingInputs()
457 controller()->GetView()->SetUserInput(SECTION_CC_BILLING, outputs); in FillCCBillingInputs()
472 controller()->RequestedFieldsForSection(section); in FillInputs()
482 controller()->GetView()->SetUserInput(section, outputs); in FillInputs()
[all …]
Dautofill_dialog_controller_browsertest.cc340 TestAutofillDialogController* controller() { return controller_; } in controller() function in autofill::AutofillDialogControllerTest
393 AutofillDialogControllerImpl* controller = in SetUpHtmlAndInvoke() local
396 return controller; in SetUpHtmlAndInvoke()
423 AutofillDialogControllerImpl* controller = in RunTestPage() local
426 return !!controller; in RunTestPage()
495 controller()->GetTestableView()->SubmitForTesting(); in IN_PROC_BROWSER_TEST_F()
505 controller()->GetTestableView()->CancelForTesting(); in IN_PROC_BROWSER_TEST_F()
515 controller()->Hide(); in IN_PROC_BROWSER_TEST_F()
528 controller()->AsWeakPtr(); in IN_PROC_BROWSER_TEST_F()
531 controller()->Hide(); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/tabs/
Dtab_controller_unittest.mm69 forController:(TabController*)controller {
72 forController:(TabController*)controller {
75 - (ui::SimpleMenuModel*)contextMenuModelForController:(TabController*)controller
118 const TabController* controller) {
122 [[controller mediaIndicatorView] mediaState];
123 if ([controller mini]) {
124 EXPECT_EQ(1, [controller iconCapacity]);
126 EXPECT_FALSE([controller shouldShowIcon]);
127 EXPECT_TRUE([controller shouldShowMediaIndicator]);
129 EXPECT_TRUE([controller shouldShowIcon]);
[all …]
/external/chromium_org/ash/wm/
Dwindow_cycle_controller_unittest.cc38 WindowCycleController* controller = in TEST_F() local
42 controller->HandleCycleWindow(WindowCycleController::FORWARD, false); in TEST_F()
50 controller->HandleCycleWindow(WindowCycleController::FORWARD, false); in TEST_F()
57 WindowCycleController* controller = in TEST_F() local
71 controller->HandleCycleWindow(WindowCycleController::FORWARD, false); in TEST_F()
76 WindowCycleController* controller = in TEST_F() local
88 controller->HandleCycleWindow(WindowCycleController::FORWARD, true); in TEST_F()
91 ASSERT_TRUE(controller->windows()); in TEST_F()
92 ASSERT_EQ(3u, controller->windows()->windows().size()); in TEST_F()
93 ASSERT_EQ(window0.get(), controller->windows()->windows()[0]); in TEST_F()
[all …]
Dimmersive_fullscreen_controller_unittest.cc94 ImmersiveFullscreenController* controller() { in controller() function in ash::ImmersiveFullscreenControllerTest
184 if (controller()->top_edge_hover_timer_.IsRunning()) { in MoveMouse()
185 controller()->top_edge_hover_timer_.user_task().Run(); in MoveMouse()
186 controller()->top_edge_hover_timer_.Stop(); in MoveMouse()
233 EXPECT_FALSE(controller()->IsEnabled()); in TEST_F()
234 EXPECT_FALSE(controller()->IsRevealed()); in TEST_F()
239 EXPECT_TRUE(controller()->IsEnabled()); in TEST_F()
240 EXPECT_FALSE(controller()->IsRevealed()); in TEST_F()
246 EXPECT_TRUE(controller()->IsEnabled()); in TEST_F()
247 EXPECT_TRUE(controller()->IsRevealed()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/bookmarks/
Dbookmark_context_menu_controller_unittest.cc110 BookmarkContextMenuController controller( in TEST_F() local
113 ASSERT_TRUE(controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F()
115 controller.ExecuteCommand(IDC_BOOKMARK_BAR_REMOVE, 0); in TEST_F()
132 BookmarkContextMenuController controller( in TEST_F() local
135 EXPECT_FALSE(controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); in TEST_F()
137 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); in TEST_F()
139 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); in TEST_F()
140 EXPECT_FALSE(controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F()
142 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); in TEST_F()
144 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); in TEST_F()
[all …]
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_controller_unittest.mm55 forController:(TabController*)controller {
58 forController:(TabController*)controller {
80 // Tests creating the controller, sticking it in a window, and removing it.
83 scoped_nsobject<TabController> controller([[TabController alloc] init]);
84 [[window contentView] addSubview:[controller view]];
85 EXPECT_TRUE([controller tabView]);
86 EXPECT_EQ([[controller view] window], window);
87 [[controller view] display]; // Test drawing to ensure nothing leaks/crashes.
88 [[controller view] removeFromSuperview];
95 scoped_nsobject<TabController> controller([[TabController alloc] init]);
[all …]
/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_context_menu_test.cc117 BookmarkContextMenu controller( in TEST_F() local
120 ASSERT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F()
122 controller.ExecuteCommand(IDC_BOOKMARK_BAR_REMOVE, 0); in TEST_F()
149 BookmarkContextMenu controller( in TEST_F() local
152 EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); in TEST_F()
154 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); in TEST_F()
156 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); in TEST_F()
157 EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F()
159 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); in TEST_F()
161 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); in TEST_F()
[all …]
/external/chromium/chrome/browser/bookmarks/
Dbookmark_context_menu_controller_unittest.cc109 BookmarkContextMenuController controller( in TEST_F() local
112 ASSERT_TRUE(controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F()
114 controller.ExecuteCommand(IDC_BOOKMARK_BAR_REMOVE); in TEST_F()
132 BookmarkContextMenuController controller( in TEST_F() local
135 EXPECT_FALSE(controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); in TEST_F()
137 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); in TEST_F()
139 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); in TEST_F()
140 EXPECT_FALSE(controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F()
142 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); in TEST_F()
144 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); in TEST_F()
[all …]
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_context_menu_test.cc114 BookmarkContextMenu controller( in TEST_F() local
117 ASSERT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F()
119 controller.ExecuteCommand(IDC_BOOKMARK_BAR_REMOVE); in TEST_F()
137 BookmarkContextMenu controller( in TEST_F() local
140 EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); in TEST_F()
142 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); in TEST_F()
144 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); in TEST_F()
145 EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F()
147 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); in TEST_F()
149 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); in TEST_F()
[all …]
/external/chromium/chrome/browser/chromeos/login/
Dwizard_controller_browsertest.cc54 mock_var = CreateMockWizardScreenHelper<mocked_class>::Create(controller()); \
55 controller()->screen_name.reset(mock_var); \
74 WizardController* const wizard = controller(); in IN_PROC_BROWSER_TEST_F()
126 EXPECT_EQ(NULL, controller()->current_screen()); in CreateBrowser()
128 controller()->ShowFirstScreen(WizardController::kNetworkScreenName); in CreateBrowser()
134 controller()->OnExit(exit_code); in OnExit()
150 EXPECT_EQ(controller()->GetNetworkScreen(), controller()->current_screen()); in IN_PROC_BROWSER_TEST_F()
155 EXPECT_EQ(controller()->GetEulaScreen(), controller()->current_screen()); in IN_PROC_BROWSER_TEST_F()
163 EXPECT_EQ(controller()->GetUpdateScreen(), controller()->current_screen()); in IN_PROC_BROWSER_TEST_F()
173 EXPECT_EQ(controller()->GetNetworkScreen(), controller()->current_screen()); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/
Dextension_message_bubble_controller_unittest.cc251 scoped_ptr<TestSuspiciousExtensionBubbleController> controller( in TEST_F() local
262 EXPECT_FALSE(controller->ShouldShow()); in TEST_F()
263 std::vector<string16> suspicious_extensions = controller->GetExtensionList(); in TEST_F()
265 EXPECT_EQ(0U, controller->link_click_count()); in TEST_F()
266 EXPECT_EQ(0U, controller->dismiss_click_count()); in TEST_F()
274 controller.reset(new TestSuspiciousExtensionBubbleController( in TEST_F()
276 EXPECT_TRUE(controller->ShouldShow()); in TEST_F()
277 suspicious_extensions = controller->GetExtensionList(); in TEST_F()
280 controller->Show(&bubble); // Simulate showing the bubble. in TEST_F()
281 EXPECT_EQ(0U, controller->link_click_count()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/notifications/
Dmessage_center_settings_controller_unittest.cc52 MessageCenterSettingsController* controller() { return controller_.get(); } in controller() function in MessageCenterSettingsControllerTest
96 controller()->ActiveUserChanged(GetFakeUserManager()->GetActiveUser()); in SwitchActiveUser()
117 EXPECT_EQ(controller()->GetNotifierGroupCount(), 2u); in TEST_F()
119 EXPECT_EQ(controller()->GetNotifierGroupAt(0).name, UTF8ToUTF16("Profile-1")); in TEST_F()
120 EXPECT_EQ(controller()->GetNotifierGroupAt(0).index, 0u); in TEST_F()
122 EXPECT_EQ(controller()->GetNotifierGroupAt(1).name, UTF8ToUTF16("Profile-2")); in TEST_F()
123 EXPECT_EQ(controller()->GetNotifierGroupAt(1).index, 1u); in TEST_F()
125 EXPECT_EQ(controller()->GetActiveNotifierGroup().name, in TEST_F()
127 EXPECT_EQ(controller()->GetActiveNotifierGroup().index, 0u); in TEST_F()
129 controller()->SwitchToNotifierGroup(1); in TEST_F()
[all …]
/external/chromium_org/content/browser/speech/
Dspeech_recognizer_impl_unittest.cc216 TestAudioInputController* controller = in TEST_F() local
217 audio_input_controller_factory_.controller(); in TEST_F()
218 ASSERT_TRUE(controller); in TEST_F()
226 controller->event_handler()->OnData(controller, &audio_packet_[0], in TEST_F()
265 TestAudioInputController* controller = in TEST_F() local
266 audio_input_controller_factory_.controller(); in TEST_F()
267 ASSERT_TRUE(controller); in TEST_F()
268 controller->event_handler()->OnData(controller, &audio_packet_[0], in TEST_F()
286 TestAudioInputController* controller = in TEST_F() local
287 audio_input_controller_factory_.controller(); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
Dextension_install_view_controller_unittest.mm48 base::scoped_nsobject<ExtensionInstallViewController> controller(
53 [controller view]; // Force nib load.
56 EXPECT_NSEQ(@"ExtensionInstallPrompt", [controller nibName]);
62 EXPECT_TRUE([controller iconView]);
63 EXPECT_TRUE([[controller iconView] image]);
65 EXPECT_TRUE([controller titleField]);
66 EXPECT_NE(0u, [[[controller titleField] stringValue] length]);
68 NSOutlineView* outlineView = [controller outlineView];
76 EXPECT_TRUE([controller cancelButton]);
77 EXPECT_NE(0u, [[[controller cancelButton] stringValue] length]);
[all …]
/external/chromium_org/cc/scheduler/
Dframe_rate_controller_unittest.cc39 FrameRateController controller(time_source); in TEST() local
41 controller.SetClient(&client); in TEST()
42 controller.SetActive(true); in TEST()
54 controller.DidSwapBuffers(); in TEST()
59 controller.DidSwapBuffersComplete(); in TEST()
78 FrameRateController controller(time_source); in TEST() local
80 controller.SetClient(&client); in TEST()
81 controller.SetActive(true); in TEST()
82 controller.SetMaxSwapsPending(2); in TEST()
94 controller.DidSwapBuffers(); in TEST()
[all …]
/external/chromium/chrome/browser/ui/toolbar/
Dencoding_menu_controller_unittest.cc22 EncodingMenuController controller; in TEST_F() local
25 ASSERT_FALSE(controller.DoesCommandBelongToEncodingMenu(0)); in TEST_F()
26 ASSERT_FALSE(controller.DoesCommandBelongToEncodingMenu(-1)); in TEST_F()
28 int num_valid_encoding_ids = controller.NumValidGUIEncodingIDs(); in TEST_F()
29 const int* valid_encodings = controller.ValidGUIEncodingIDs(); in TEST_F()
30 ASSERT_TRUE(controller.DoesCommandBelongToEncodingMenu( in TEST_F()
34 ASSERT_TRUE(controller.DoesCommandBelongToEncodingMenu(valid_encodings[i])); in TEST_F()
42 ASSERT_FALSE(controller.DoesCommandBelongToEncodingMenu(one_past_largest_id)); in TEST_F()
47 EncodingMenuController controller; in TEST_F() local
52 controller.GetEncodingMenuItems(&profile_en, &english_items); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/toolbar/
Dencoding_menu_controller_unittest.cc31 EncodingMenuController controller; in TEST_F() local
34 ASSERT_FALSE(controller.DoesCommandBelongToEncodingMenu(0)); in TEST_F()
35 ASSERT_FALSE(controller.DoesCommandBelongToEncodingMenu(-1)); in TEST_F()
37 int num_valid_encoding_ids = controller.NumValidGUIEncodingIDs(); in TEST_F()
38 const int* valid_encodings = controller.ValidGUIEncodingIDs(); in TEST_F()
39 ASSERT_TRUE(controller.DoesCommandBelongToEncodingMenu( in TEST_F()
43 ASSERT_TRUE(controller.DoesCommandBelongToEncodingMenu(valid_encodings[i])); in TEST_F()
51 ASSERT_FALSE(controller.DoesCommandBelongToEncodingMenu(one_past_largest_id)); in TEST_F()
56 EncodingMenuController controller; in TEST_F() local
61 controller.GetEncodingMenuItems(&profile_en, &english_items); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_name_folder_controller_unittest.mm27 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/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_name_folder_controller_unittest.mm29 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_org/media/audio/
Daudio_input_controller_unittest.cc42 static void CloseAudioController(AudioInputController* controller) { in CloseAudioController() argument
43 controller->Close(base::MessageLoop::QuitClosure()); in CloseAudioController()
52 MOCK_METHOD1(OnCreated, void(AudioInputController* controller));
53 MOCK_METHOD1(OnRecording, void(AudioInputController* controller));
54 MOCK_METHOD1(OnError, void(AudioInputController* controller));
55 MOCK_METHOD3(OnData, void(AudioInputController* controller,
87 scoped_refptr<AudioInputController> controller = in TEST_F() local
93 ASSERT_TRUE(controller.get()); in TEST_F()
99 CloseAudioController(controller.get()); in TEST_F()
126 scoped_refptr<AudioInputController> controller = in TEST_F() local
[all …]

12345678910>>...47