Home
last modified time | relevance | path

Searched refs:controller_ (Results 1 – 25 of 132) sorted by relevance

123456

/external/chromium/chrome/common/extensions/docs/examples/extensions/proxy_configuration/test/
Dproxy_form_controller_test.js55 this.controller_ = new ProxyFormController('proxyForm');
79 delete(this.controller_);
149 this.controller_ = new ProxyFormController('proxyForm');
167 this.controller_ = new ProxyFormController('proxyForm');
185 this.controller_ = new ProxyFormController('proxyForm');
203 this.controller_ = new ProxyFormController('proxyForm');
219 this.controller_.recalcFormValues_({
229 this.controller_.recalcFormValues_({
239 this.controller_.recalcFormValues_({
249 this.controller_.recalcFormValues_({
[all …]
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_editor_controller_unittest.mm25 BookmarkEditorController* controller_;
36 controller_ = [[BookmarkEditorController alloc]
42 [controller_ runAsModalSheet];
46 controller_ = NULL;
52 [controller_ cancel:nil];
60 [controller_ setDisplayName:@"whamma jamma bamma"];
61 [controller_ ok:nil];
69 EXPECT_TRUE([controller_ okButtonEnabled]);
70 [controller_ setDisplayURL:@"http://yellow-sneakers.com/"];
71 EXPECT_TRUE([controller_ okButtonEnabled]);
[all …]
Dbookmark_editor_base_controller_unittest.mm23 BookmarkEditorBaseController* controller_; // weak
78 controller_ = CreateController();
79 EXPECT_TRUE([controller_ window]);
80 [controller_ runAsModalSheet];
84 controller_ = NULL;
135 [controller_ cancel:nil];
139 EXPECT_TRUE([controller_ folderTreeArray]);
140 [controller_ selectTestNodeInBrowser:folder_b_3_];
141 const BookmarkNode* node = [controller_ selectedNode];
143 [controller_ cancel:nil];
[all …]
Dbookmark_bar_bridge.mm12 : controller_(controller), function
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];
Dbookmark_all_tabs_controller_unittest.mm40 BookmarkAllTabsControllerOverride* controller_;
62 controller_ = CreateController();
63 [controller_ runAsModalSheet];
67 controller_ = NULL;
74 EXPECT_TRUE([controller_ okButtonEnabled]);
75 [controller_ selectTestNodeInBrowser:folder_a_];
76 [controller_ setDisplayName:@"ALL MY TABS"];
77 [controller_ ok:nil];
Dbookmark_bar_view.mm35 // To be clear, our controller_ is an IBOutlet and owns us, so we
48 DCHECK(controller_) << "Expected this to be hooked up via Interface Builder";
65 [controller_ updateTheme:themeProvider];
69 [controller_ viewDidMoveToWindow];
106 return controller_;
114 [controller_ setDropInsertionPos:dropIndicatorPosition_];
116 [controller_ clearDropInsertionPos];
131 if (![controller_ draggingAllowed:info])
138 BOOL showIt = [controller_ shouldShowIndicatorShownForPoint:
147 [controller_ indicatorPosForDragToPoint:[info draggingLocation]];
[all …]
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_strip_model_observer_bridge.mm11 : controller_(controller), model_(model) { function
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_contents
[all …]
/external/chromium/chrome/browser/ui/search_engines/
Dkeyword_editor_controller_unittest.cc91 return controller_->table_model(); in table_model()
97 scoped_ptr<KeywordEditorController> controller_; member in KeywordEditorControllerTest
111 controller_.reset(); in Init()
119 controller_.reset(new KeywordEditorController(profile_.get())); in Init()
120 controller_->table_model()->SetObserver(this); in Init()
125 controller_->AddTemplateURL(kA, kB, "http://c"); in TEST_F()
148 controller_->AddTemplateURL(kA, kB, "http://c"); in TEST_F()
153 controller_->ModifyTemplateURL(turl, kA1, kB1, "http://c1"); in TEST_F()
165 controller_->AddTemplateURL(kA, kB, "http://c{searchTerms}"); in TEST_F()
169 int new_default = controller_->MakeDefaultTemplateURL(0); in TEST_F()
[all …]
/external/chromium/chrome/browser/ui/cocoa/
Dbrowser_window_controller_unittest.mm69 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 …]
Dbrowser_window_cocoa.mm50 controller_(controller), function
71 [window() makeKeyAndOrderFront:controller_];
75 [window() orderFront:controller_];
97 if ([controller_ overlayWindow]) {
98 [controller_ deferPerformClose];
108 [window() orderOut:controller_];
109 [window() performClose:controller_];
114 [controller_ activate];
139 return [controller_ statusBubble];
182 [controller_ updateDevToolsForContents:
[all …]
Dpage_info_bubble_controller_unittest.mm41 controller_ = nil;
46 [controller_ close];
52 controller_ =
56 window_ = [controller_ window];
57 [controller_ showWindow:nil];
102 EXPECT_EQ([window_ delegate], controller_);
108 EXPECT_EQ(controller_, [button target]);
114 PageInfoBubbleController* controller_; // Weak, owns self.
159 [controller_ performLayout];
190 [controller_ setCertID:1];
[all …]
/external/chromium/chrome/browser/ui/cocoa/infobars/
Dinfobar_container_controller_unittest.mm23 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 …]
Dinfobar_controller_unittest.mm39 InfoBarController* controller_; field
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/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_cocoa_controller_unittest.mm51 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/chrome/browser/ui/cocoa/notifications/
Dballoon_view_bridge.mm14 controller_(NULL) { function
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/gtk/
Dedit_search_engine_dialog.cc74 : controller_(new EditSearchEngineController(template_url, delegate, in EditSearchEngineDialog()
83 controller_->template_url() ? in Init()
96 controller_->template_url() ? in Init()
144 if (controller_->template_url()) { in Init()
147 UTF16ToUTF8(controller_->template_url()->short_name()).c_str()); in Init()
150 UTF16ToUTF8(controller_->template_url()->keyword()).c_str()); in Init()
153 GetDisplayURL(*controller_->template_url()).c_str()); in Init()
157 controller_->template_url()->prepopulate_id() == 0); in Init()
159 if (controller_->template_url()->prepopulate_id() != 0) { in Init()
162 controller_->template_url()->prepopulate_id() == 0); in Init()
[all …]
/external/chromium/chrome/browser/
Dalternate_nav_url_fetcher.cc25 controller_(NULL), in AlternateNavURLFetcher()
45 controller_ == Source<NavigationController>(source).ptr()) { in Observe()
47 } else if (!controller_) { in Observe()
48 controller_ = Source<NavigationController>(source).ptr(); in Observe()
49 DCHECK(controller_->pending_entry()); in Observe()
55 Source<NavigationController>(controller_)); in Observe()
57 Source<NavigationController>(controller_)); in Observe()
64 controller_->profile()->GetRequestContext()); in Observe()
72 Source<NavigationController>(controller_)); in Observe()
170 infobar_contents_ = controller_->tab_contents(); in ShowInfobarIfPossible()
/external/chromium/chrome/browser/ui/views/
Dedit_search_engine_dialog.cc54 : controller_(new EditSearchEngineController(template_url, in EditSearchEngineDialog()
81 return UTF16ToWide(l10n_util::GetStringUTF16(controller_->template_url() ? in GetWindowTitle()
89 return (controller_->IsKeywordValid(WideToUTF16(keyword_tf_->text())) && in IsDialogButtonEnabled()
90 controller_->IsTitleValid(WideToUTF16(title_tf_->text())) && in IsDialogButtonEnabled()
91 controller_->IsURLValid(WideToUTF8(url_tf_->text()))); in IsDialogButtonEnabled()
97 controller_->CleanUpCancelledAdd(); in Cancel()
102 controller_->AcceptAddOrEdit(WideToUTF16(title_tf_->text()), in Accept()
126 if (controller_->template_url()) { in Init()
128 CreateTextfield(controller_->template_url()->short_name(), false); in Init()
129 keyword_tf_ = CreateTextfield(controller_->template_url()->keyword(), true); in Init()
[all …]
/external/chromium/chrome/browser/speech/
Dspeech_input_bubble_controller_unittest.cc79 controller_(ALLOW_THIS_IN_INITIALIZER_LIST( in SpeechInputBubbleControllerTest()
126 test_fixture_->controller_->SetBubbleWarmUpMode(kBubbleCallerId); in ActivateBubble()
128 test_fixture_->controller_->SetBubbleMessage(kBubbleCallerId, in ActivateBubble()
159 scoped_refptr<SpeechInputBubbleController> controller_; member in speech_input::SpeechInputBubbleControllerTest
179 controller_->CreateBubble(kBubbleCallerId, 1, 1, gfx::Rect(1, 1)); in TEST_F()
184 controller_->CloseBubble(kBubbleCallerId); in TEST_F()
193 controller_->CreateBubble(kBubbleCallerId, 1, 1, gfx::Rect(1, 1)); in TEST_F()
198 controller_->CloseBubble(kBubbleCallerId); in TEST_F()
207 controller_->CreateBubble(kBubbleCallerId, 1, 1, gfx::Rect(1, 1)); in TEST_F()
212 controller_->CloseBubble(kBubbleCallerId); in TEST_F()
/external/chromium/chrome/browser/ssl/
Dssl_manager.cc114 controller_(controller) { in SSLManager()
115 DCHECK(controller_); in SSLManager()
119 Source<NavigationController>(controller_)); in SSLManager()
121 Source<RenderViewHostDelegate>(controller_->tab_contents())); in SSLManager()
123 Source<RenderViewHostDelegate>(controller_->tab_contents())); in SSLManager()
125 Source<NavigationController>(controller_)); in SSLManager()
138 NavigationEntry* entry = controller_->GetActiveEntry(); in DidCommitProvisionalLoad()
165 policy()->DidRunInsecureContent(controller_->GetActiveEntry(), in DidRunInsecureContent()
170 NavigationEntry* entry = controller_->GetActiveEntry(); in ProcessedSSLErrorFromRequest()
246 UpdateEntry(controller_->GetActiveEntry()); in DidChangeSSLInternalState()
[all …]
/external/chromium/net/disk_cache/
Din_flight_io.cc12 : controller_(controller), result_(-1), io_completed_(true, false) { in BackgroundIO()
17 if (controller_) in OnIOSignalled()
18 controller_->InvokeCallback(this, false); in OnIOSignalled()
22 DCHECK(controller_); in Cancel()
23 controller_ = NULL; in Cancel()
30 controller_->OnIOComplete(this); in NotifyController()
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_context_menu.cc27 controller_(new BookmarkContextMenuControllerViews(parent_window, in BookmarkContextMenu()
33 controller_->BuildMenu(); in BookmarkContextMenu()
55 controller_->ExecuteCommand(command_id); in ExecuteCommand()
59 return controller_->IsItemChecked(command_id); in IsItemChecked()
63 return controller_->IsCommandEnabled(command_id); in IsCommandEnabled()
69 controller_->profile()->GetBookmarkModel()->other_node() && in ShouldCloseAllMenusOnExecute()
/external/chromium/chrome/browser/ui/views/tabs/
Dbase_tab_strip.cc119 : controller_(controller), in BaseTabStrip()
189 return controller_->GetCount(); in GetModelCount()
193 return controller_->IsValidIndex(model_index); in IsValidModelIndex()
230 controller_->UpdateLoadingAnimations(); in UpdateLoadingAnimations()
236 controller_->SelectTab(model_index); in SelectTab()
242 controller_->ExtendSelectionTo(model_index); in ExtendSelectionTo()
248 controller_->ToggleSelected(model_index); in ToggleSelected()
254 controller_->AddSelectionFromAnchorTo(model_index); in AddSelectionFromAnchorTo()
270 controller_->CloseTab(model_index); in CloseTab()
274 controller_->ShowContextMenuForTab(tab, p); in ShowContextMenuForTab()
[all …]
Dbrowser_tab_strip_controller.cc44 controller_(controller), in TabContextMenuContents()
50 if (controller_) in ~TabContextMenuContents()
51 controller_->tabstrip_->StopAllHighlighting(); in ~TabContextMenuContents()
55 controller_ = NULL; in Cancel()
65 return controller_->IsCommandCheckedForTab( in IsCommandIdChecked()
70 return controller_->IsCommandEnabledForTab( in IsCommandIdEnabled()
80 controller_->tabstrip_->GetWidget()->GetAccelerator(browser_cmd, in GetAcceleratorForCommandId()
85 controller_->StopHighlightTabsForCommand(last_command_, tab_); in CommandIdHighlighted()
87 controller_->StartHighlightTabsForCommand(last_command_, tab_); in CommandIdHighlighted()
93 controller_->tabstrip_->StopAllHighlighting(); in ExecuteCommand()
[all …]
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_classifier.cc13 : controller_(new AutocompleteController(profile, NULL)), in AutocompleteClassifier()
27 controller_->Start(text, desired_tld, true, false, allow_exact_keyword_match, in Classify()
29 DCHECK(controller_->done()); in Classify()
30 const AutocompleteResult& result = controller_->result(); in Classify()

123456