Home
last modified time | relevance | path

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

12345678910>>...38

/external/chromium_org/content/browser/frame_host/
Dnavigation_controller_impl_unittest.cc215 return static_cast<NavigationControllerImpl&>(controller()); in controller_impl()
224 NavigationController* controller) { in RegisterForAllNavNotifications() argument
226 Source<NavigationController>(controller)); in RegisterForAllNavNotifications()
228 Source<NavigationController>(controller)); in RegisterForAllNavNotifications()
270 NavigationControllerImpl& controller = controller_impl(); in TEST_F() local
272 EXPECT_FALSE(controller.GetPendingEntry()); in TEST_F()
273 EXPECT_FALSE(controller.GetVisibleEntry()); in TEST_F()
274 EXPECT_FALSE(controller.GetLastCommittedEntry()); in TEST_F()
275 EXPECT_EQ(controller.GetPendingEntryIndex(), -1); in TEST_F()
276 EXPECT_EQ(controller.GetLastCommittedEntryIndex(), -1); in TEST_F()
[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/cc/animation/
Dlayer_animation_controller_unittest.cc48 scoped_refptr<LayerAnimationController> controller( in TEST() local
50 controller->AddValueObserver(&dummy); in TEST()
54 EXPECT_FALSE(controller->needs_to_start_animations_for_testing()); in TEST()
57 AddOpacityTransitionToController(controller.get(), 1, 0, 1, false); in TEST()
58 EXPECT_TRUE(controller->needs_to_start_animations_for_testing()); in TEST()
59 int group_id = controller->GetAnimation(Animation::Opacity)->group(); in TEST()
61 controller->PushAnimationUpdatesTo(controller_impl.get()); in TEST()
79 scoped_refptr<LayerAnimationController> controller( in TEST() local
81 controller->AddValueObserver(&dummy); in TEST()
85 AddOpacityTransitionToController(controller.get(), 1, 0, 1, false); in TEST()
[all …]
Danimation_registrar.cc36 LayerAnimationController* controller) { in DidActivateAnimationController() argument
37 active_animation_controllers_[controller->id()] = controller; in DidActivateAnimationController()
41 LayerAnimationController* controller) { in DidDeactivateAnimationController() argument
42 if (ContainsKey(active_animation_controllers_, controller->id())) in DidDeactivateAnimationController()
43 active_animation_controllers_.erase(controller->id()); in DidDeactivateAnimationController()
47 LayerAnimationController* controller) { in RegisterAnimationController() argument
48 all_animation_controllers_[controller->id()] = controller; in RegisterAnimationController()
52 LayerAnimationController* controller) { in UnregisterAnimationController() argument
53 if (ContainsKey(all_animation_controllers_, controller->id())) in UnregisterAnimationController()
54 all_animation_controllers_.erase(controller->id()); in UnregisterAnimationController()
[all …]
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_controller_unittest.cc468 controller()->Show(); in SetUpControllerWithFormData()
469 if (controller() && in SetUpControllerWithFormData()
472 EXPECT_CALL(*controller()->GetTestingWalletClient(), in SetUpControllerWithFormData()
474 controller()->OnDidFetchWalletCookieValue(std::string()); in SetUpControllerWithFormData()
475 controller()->OnDidGetWalletItems(CompleteAndValidWalletItems()); in SetUpControllerWithFormData()
483 controller()->RequestedFieldsForSection(SECTION_CC); in FillCreditCardInputs()
488 controller()->GetView()->SetUserInput(SECTION_CC, cc_outputs); in FillCreditCardInputs()
495 controller()->RequestedFieldsForSection(SECTION_CC_BILLING); in FillCCBillingInputs()
505 controller()->GetView()->SetUserInput(SECTION_CC_BILLING, outputs); in FillCCBillingInputs()
520 controller()->RequestedFieldsForSection(section); in FillInputs()
[all …]
Dautofill_dialog_controller_browsertest.cc326 controller()->RequestedFieldsForSection(section); in SectionHasField()
388 return AutofillDialogViewTester::For(controller()->view()).Pass(); in GetViewTester()
392 TestAutofillDialogController* controller() { return controller_; } in controller() function in autofill::AutofillDialogControllerTest
462 AutofillDialogControllerImpl* controller = in SetUpHtmlAndInvoke() local
465 return controller; in SetUpHtmlAndInvoke()
492 AutofillDialogControllerImpl* controller = in RunTestPage() local
495 return !!controller; in RunTestPage()
586 controller()->Hide(); in IN_PROC_BROWSER_TEST_F()
600 controller()->GetTestingManager()->AddTestingCreditCard(&card); in IN_PROC_BROWSER_TEST_F()
602 controller()->GetTestingManager()->AddTestingProfile(&profile); in IN_PROC_BROWSER_TEST_F()
[all …]
Dgenerated_credit_card_bubble_controller_unittest.cc57 ASSERT_TRUE(controller()->IsInstalled()); in SetUp()
61 TestGeneratedCreditCardBubbleController* controller() { in controller() function in autofill::__anon0b98d8010111::GeneratedCreditCardBubbleControllerTest
73 ASSERT_TRUE(controller()->IsInstalled()); in Show()
102 EXPECT_TRUE(controller()->GetTestingBubble()->showing()); in TEST_F()
107 EXPECT_TRUE(controller()->GetTestingBubble()->showing()); in TEST_F()
112 EXPECT_FALSE(controller()->TitleText().empty()); in TEST_F()
119 base::string16 contents_text = controller()->ContentsText(); in TEST_F()
125 EXPECT_EQ(contents_text, controller()->ContentsText()); in TEST_F()
131 const base::string16& contents_text = controller()->ContentsText(); in TEST_F()
132 const std::vector<TextRange>& ranges = controller()->ContentsTextRanges(); in 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
105 const TabController* controller) {
109 [[controller mediaIndicatorView] mediaState];
110 if ([controller mini]) {
111 EXPECT_EQ(1, [controller iconCapacity]);
113 EXPECT_FALSE([controller shouldShowIcon]);
114 EXPECT_TRUE([controller shouldShowMediaIndicator]);
116 EXPECT_TRUE([controller shouldShowIcon]);
[all …]
/external/chromium_org/chrome/browser/ui/passwords/
Dmanage_passwords_ui_controller_unittest.cc66 ManagePasswordsUIControllerMock* controller() { in controller() function in ManagePasswordsUIControllerTest
76 EXPECT_EQ(password_manager::ui::INACTIVE_STATE, controller()->state()); in TEST_F()
77 EXPECT_FALSE(controller()->PasswordPendingUserDecision()); in TEST_F()
78 EXPECT_EQ(GURL::EmptyGURL(), controller()->origin()); in TEST_F()
81 controller()->UpdateIconAndBubbleState(&mock); in TEST_F()
89 controller()->OnPasswordAutofilled(map); in TEST_F()
91 EXPECT_EQ(password_manager::ui::MANAGE_STATE, controller()->state()); in TEST_F()
92 EXPECT_FALSE(controller()->PasswordPendingUserDecision()); in TEST_F()
93 EXPECT_EQ(test_form().origin, controller()->origin()); in TEST_F()
94 EXPECT_EQ(1u, controller()->best_matches().size()); in TEST_F()
[all …]
/external/chromium_org/ash/wm/
Dwindow_cycle_controller_unittest.cc68 WindowCycleController* controller = in TEST_F() local
72 controller->HandleCycleWindow(WindowCycleController::FORWARD); in TEST_F()
80 controller->HandleCycleWindow(WindowCycleController::FORWARD); in TEST_F()
87 WindowCycleController* controller = in TEST_F() local
101 controller->HandleCycleWindow(WindowCycleController::FORWARD); in TEST_F()
106 WindowCycleController* controller = in TEST_F() local
118 controller->HandleCycleWindow(WindowCycleController::FORWARD); in TEST_F()
121 ASSERT_TRUE(controller->window_cycle_list()); in TEST_F()
122 ASSERT_EQ(3u, controller->window_cycle_list()->windows().size()); in TEST_F()
123 ASSERT_EQ(window0.get(), controller->window_cycle_list()->windows()[0]); in TEST_F()
[all …]
Dimmersive_fullscreen_controller_unittest.cc114 ImmersiveFullscreenController* controller() { in controller() function in ash::ImmersiveFullscreenControllerTest
215 if (controller()->top_edge_hover_timer_.IsRunning()) { in MoveMouse()
216 controller()->top_edge_hover_timer_.user_task().Run(); in MoveMouse()
217 controller()->top_edge_hover_timer_.Stop(); in MoveMouse()
268 EXPECT_FALSE(controller()->IsEnabled()); in TEST_F()
269 EXPECT_FALSE(controller()->IsRevealed()); in TEST_F()
274 EXPECT_TRUE(controller()->IsEnabled()); in TEST_F()
275 EXPECT_FALSE(controller()->IsRevealed()); in TEST_F()
281 EXPECT_TRUE(controller()->IsEnabled()); in TEST_F()
282 EXPECT_TRUE(controller()->IsRevealed()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/bookmarks/
Dbookmark_context_menu_controller_unittest.cc106 BookmarkContextMenuController controller( in TEST_F() local
109 ASSERT_TRUE(controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F()
111 controller.ExecuteCommand(IDC_BOOKMARK_BAR_REMOVE, 0); in TEST_F()
128 BookmarkContextMenuController controller( in TEST_F() local
131 EXPECT_FALSE(controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); in TEST_F()
133 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); in TEST_F()
135 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); in TEST_F()
136 EXPECT_FALSE(controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F()
138 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); in TEST_F()
140 controller.IsCommandIdEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_context_menu_unittest.cc127 BookmarkContextMenu controller( in TEST_F() local
130 ASSERT_TRUE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F()
132 controller.ExecuteCommand(IDC_BOOKMARK_BAR_REMOVE, 0); in TEST_F()
159 BookmarkContextMenu controller( in TEST_F() local
162 EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL)); in TEST_F()
164 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW)); in TEST_F()
166 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO)); in TEST_F()
167 EXPECT_FALSE(controller.IsCommandEnabled(IDC_BOOKMARK_BAR_REMOVE)); in TEST_F()
169 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK)); in TEST_F()
171 controller.IsCommandEnabled(IDC_BOOKMARK_BAR_NEW_FOLDER)); in TEST_F()
[all …]
/external/chromium_org/athena/wm/
Dsplit_view_controller_unittest.cc50 SplitViewController* controller = api_->GetSplitViewController(); in OnlySplitViewWindowsVisible() local
51 DCHECK(controller->IsSplitViewModeActive()); in OnlySplitViewWindowsVisible()
56 bool in_split_view = (*it == controller->left_window() || in OnlySplitViewWindowsVisible()
57 *it == controller->right_window()); in OnlySplitViewWindowsVisible()
93 SplitViewController* controller = api()->GetSplitViewController(); in TEST_F() local
94 ASSERT_FALSE(controller->IsSplitViewModeActive()); in TEST_F()
96 controller->ActivateSplitMode(NULL, NULL, NULL); in TEST_F()
97 ASSERT_TRUE(controller->IsSplitViewModeActive()); in TEST_F()
99 EXPECT_EQ(windows[kNumWindows - 1], controller->left_window()); in TEST_F()
100 EXPECT_EQ(windows[kNumWindows - 2], controller->right_window()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/
Dextension_message_bubble_controller_unittest.cc451 scoped_ptr<TestSuspiciousExtensionBubbleController> controller( in TEST_F() local
462 EXPECT_FALSE(controller->ShouldShow()); in TEST_F()
464 controller->GetExtensionList(); in TEST_F()
466 EXPECT_EQ(0U, controller->link_click_count()); in TEST_F()
467 EXPECT_EQ(0U, controller->dismiss_click_count()); in TEST_F()
474 controller.reset(new TestSuspiciousExtensionBubbleController( in TEST_F()
477 EXPECT_TRUE(controller->ShouldShow()); in TEST_F()
478 suspicious_extensions = controller->GetExtensionList(); in TEST_F()
481 controller->Show(&bubble); // Simulate showing the bubble. in TEST_F()
482 EXPECT_EQ(0U, controller->link_click_count()); in TEST_F()
[all …]
/external/chromium_org/content/browser/renderer_host/input/
Dtouch_selection_controller_unittest.cc157 TouchSelectionController& controller() { return *controller_; } in controller() function in content::TouchSelectionControllerTest
180 controller().OnTapEvent(); in TEST_F()
186 controller().OnTapEvent(); in TEST_F()
187 controller().OnSelectionEditable(true); in TEST_F()
209 controller().OnTapEvent(); in TEST_F()
210 controller().OnSelectionEditable(true); in TEST_F()
216 controller().OnSelectionEditable(false); in TEST_F()
223 controller().OnSelectionEditable(true); in TEST_F()
226 controller().OnTapEvent(); in TEST_F()
227 controller().OnSelectionEmpty(true); 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
92 controller()->ActiveUserChanged(GetFakeUserManager()->GetActiveUser()); in SwitchActiveUser()
113 EXPECT_EQ(controller()->GetNotifierGroupCount(), 2u); in TEST_F()
115 EXPECT_EQ(controller()->GetNotifierGroupAt(0).name, in TEST_F()
117 EXPECT_EQ(controller()->GetNotifierGroupAt(0).index, 0u); in TEST_F()
119 EXPECT_EQ(controller()->GetNotifierGroupAt(1).name, in TEST_F()
121 EXPECT_EQ(controller()->GetNotifierGroupAt(1).index, 1u); in TEST_F()
123 EXPECT_EQ(controller()->GetActiveNotifierGroup().name, in TEST_F()
125 EXPECT_EQ(controller()->GetActiveNotifierGroup().index, 0u); in TEST_F()
127 controller()->SwitchToNotifierGroup(1); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
Dextension_install_view_controller_unittest.mm50 base::scoped_nsobject<ExtensionInstallViewController> controller(
55 [controller view]; // Force nib load.
58 EXPECT_NSEQ(@"ExtensionInstallPrompt", [controller nibName]);
64 EXPECT_TRUE([controller iconView]);
65 EXPECT_TRUE([[controller iconView] image]);
67 EXPECT_TRUE([controller titleField]);
68 EXPECT_NE(0u, [[[controller titleField] stringValue] length]);
70 NSOutlineView* outlineView = [controller outlineView];
78 EXPECT_TRUE([controller cancelButton]);
79 EXPECT_NE(0u, [[[controller cancelButton] stringValue] length]);
[all …]
/external/chromium_org/content/browser/speech/
Dspeech_recognizer_impl_unittest.cc233 TestAudioInputController* controller = in TEST_F() local
234 audio_input_controller_factory_.controller(); in TEST_F()
235 ASSERT_TRUE(controller); in TEST_F()
243 controller->event_handler()->OnData(controller, audio_bus_.get()); in TEST_F()
281 TestAudioInputController* controller = in TEST_F() local
282 audio_input_controller_factory_.controller(); in TEST_F()
283 ASSERT_TRUE(controller); in TEST_F()
284 controller->event_handler()->OnData(controller, audio_bus_.get()); in TEST_F()
301 TestAudioInputController* controller = in TEST_F() local
302 audio_input_controller_factory_.controller(); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/sync/
Dstartup_controller_unittest.cc91 StartupController* controller() { return controller_.get(); } in controller() function in browser_sync::StartupControllerTest
111 controller()->TryStart(); in TEST_F()
114 controller()->TryStart(); in TEST_F()
117 controller()->TryStart(); in TEST_F()
122 controller()->TryStart(); in TEST_F()
124 std::string state(controller()->GetBackendInitializationStateString()); in TEST_F()
135 controller()->TryStart(); in TEST_F()
138 controller()->GetBackendInitializationStateString()); in TEST_F()
147 controller()->TryStart(); in TEST_F()
150 controller()->GetBackendInitializationStateString()); in TEST_F()
[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_METHOD2(OnError, void(AudioInputController* controller,
57 void(AudioInputController* controller, const AudioBus* data));
59 void(AudioInputController* controller,
91 scoped_refptr<AudioInputController> controller = in TEST_F() local
97 ASSERT_TRUE(controller.get()); in TEST_F()
103 CloseAudioController(controller.get()); 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.mm30 base::scoped_nsobject<BookmarkNameFolderController> controller(
35 [controller window]; // force nib load
38 [controller cancel:nil];
42 [controller setFolderName:@"Bozo"];
43 [controller cancel:nil];
47 [controller ok:nil];
65 base::scoped_nsobject<BookmarkNameFolderController> controller(
70 [controller window]; // force nib load
73 [controller setFolderName:@"middle"];
74 [controller ok:nil];
[all …]
/external/chromium_org/cc/resources/
Dresource_update_controller_unittest.cc384 FakeResourceUpdateController* controller) { in RunPendingTask() argument
386 controller->SetNow(controller->Now() + task_runner->NextPendingTaskDelay()); in RunPendingTask()
401 scoped_ptr<FakeResourceUpdateController> controller( in TEST_F() local
407 controller->SetNow(controller->Now() + base::TimeDelta::FromMilliseconds(1)); in TEST_F()
408 controller->SetUpdateTextureTime(base::TimeDelta::FromMilliseconds(100)); in TEST_F()
409 controller->SetUpdateMoreTexturesSize(1); in TEST_F()
411 controller->PerformMoreUpdates(controller->Now() + in TEST_F()
415 controller->SetUpdateTextureTime(base::TimeDelta::FromMilliseconds(100)); in TEST_F()
416 controller->SetUpdateMoreTexturesSize(1); in TEST_F()
418 controller->PerformMoreUpdates(controller->Now() + in TEST_F()
[all …]
/external/chromium_org/net/http/
Dhttp_auth_controller_unittest.cc71 scoped_refptr<HttpAuthController> controller( in RunSingleRoundAuthTest() local
76 controller->HandleAuthChallenge(headers, false, false, dummy_log)); in RunSingleRoundAuthTest()
77 ASSERT_TRUE(controller->HaveAuthHandler()); in RunSingleRoundAuthTest()
78 controller->ResetAuth(AuthCredentials()); in RunSingleRoundAuthTest()
79 EXPECT_TRUE(controller->HaveAuth()); in RunSingleRoundAuthTest()
84 controller->MaybeGenerateAuthToken(&request, callback.callback(), in RunSingleRoundAuthTest()
89 controller->IsAuthSchemeDisabled(HttpAuth::AUTH_SCHEME_MOCK)); in RunSingleRoundAuthTest()
208 scoped_refptr<HttpAuthController> controller( in TEST() local
213 controller->HandleAuthChallenge(headers, false, false, dummy_log)); in TEST()
214 ASSERT_TRUE(controller->HaveAuthHandler()); in TEST()
[all …]

12345678910>>...38