Home
last modified time | relevance | path

Searched refs:bridge_ (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_menu_bridge_unittest.mm43 bridge_.reset(new TestBookmarkMenuBridge(browser_test_helper_.profile()));
44 EXPECT_TRUE(bridge_.get());
55 void InvalidateMenu() { bridge_->InvalidateMenu(); }
56 bool menu_is_valid() { return bridge_->menuIsValid_; }
87 scoped_ptr<TestBookmarkMenuBridge> bridge_;
91 BookmarkModel* model = bridge_->GetBookmarkModel();
92 bridge_->Loaded(model);
93 NSMenu* menu = bridge_->menu_.get();
94 bridge_->UpdateMenu(menu);
104 bridge_->UpdateMenu(menu);
[all …]
Dbookmark_menu_cocoa_controller.mm42 bridge_ = bridge;
43 DCHECK(bridge_);
65 bridge_->UpdateMenu(menu);
71 return bridge_->GetBookmarkModel()->GetNodeByID(identifier);
76 Browser* browser = Browser::GetTabbedBrowser(bridge_->GetProfile(), true);
78 browser = Browser::Create(bridge_->GetProfile());
93 Browser* browser = Browser::GetTabbedBrowser(bridge_->GetProfile(), true);
95 browser = Browser::Create(bridge_->GetProfile());
Dbookmark_menu_cocoa_controller.h23 BookmarkMenuBridge* bridge_; // weak; owns me
/external/chromium/webkit/glue/
Dwebsocketstreamhandle_impl.cc56 DCHECK(!bridge_); in ~Context()
63 scoped_refptr<WebSocketStreamHandleBridge> bridge_; member in webkit_glue::WebSocketStreamHandleImpl::Context
71 bridge_(NULL) { in Context()
76 DCHECK(!bridge_); in Connect()
77 bridge_ = WebSocketStreamHandleBridge::Create(handle_, this); in Connect()
79 bridge_->Connect(url); in Connect()
84 DCHECK(bridge_); in Send()
85 return bridge_->Send( in Send()
91 if (bridge_) in Close()
92 bridge_->Close(); in Close()
[all …]
Dweburlloader_impl.cc323 scoped_ptr<ResourceLoaderBridge> bridge_; member in webkit_glue::WebURLLoaderImpl::Context
340 if (bridge_.get()) in Cancel()
341 bridge_->Cancel(); in Cancel()
354 if (bridge_.get()) in SetDefersLoading()
355 bridge_->SetDefersLoading(value); in SetDefersLoading()
361 DCHECK(!bridge_.get()); in Start()
446 bridge_.reset(ResourceLoaderBridge::Create(request_info)); in Start()
460 bridge_->AppendDataToUpload( in Start()
466 bridge_->AppendFileToUpload( in Start()
469 bridge_->AppendFileRangeToUpload( in Start()
[all …]
/external/chromium/chrome/browser/importer/
Dexternal_process_importer_client.cc32 bridge_(bridge), in ExternalProcessImporterClient()
34 bridge_->AddRef(); in ExternalProcessImporterClient()
39 bridge_->Release(); in ~ExternalProcessImporterClient()
105 bridge_->NotifyStarted(); in OnImportStart()
122 bridge_->NotifyItemStarted(static_cast<importer::ImportItem>(item_data)); in OnImportItemStart()
131 bridge_->NotifyItemEnded(import_item); in OnImportItemFinished()
157 bridge_->SetHistoryItems(history_rows_, in OnHistoryImportGroup()
166 bridge_->AddHomePage(home_page); in OnHomePageImportReady()
192 bridge_->AddBookmarkEntries(bookmarks_, bookmarks_first_folder_name_, in OnBookmarksImportGroup()
214 bridge_->SetFavicons(favicons_); in OnFaviconsImportGroup()
[all …]
Dfirefox3_importer.cc72 bridge_ = bridge; in StartImport()
77 bridge_->NotifyStarted(); in StartImport()
85 bridge_->NotifyItemStarted(importer::HISTORY); in StartImport()
87 bridge_->NotifyItemEnded(importer::HISTORY); in StartImport()
91 bridge_->NotifyItemStarted(importer::FAVORITES); in StartImport()
93 bridge_->NotifyItemEnded(importer::FAVORITES); in StartImport()
96 bridge_->NotifyItemStarted(importer::SEARCH_ENGINES); in StartImport()
98 bridge_->NotifyItemEnded(importer::SEARCH_ENGINES); in StartImport()
101 bridge_->NotifyItemStarted(importer::PASSWORDS); in StartImport()
103 bridge_->NotifyItemEnded(importer::PASSWORDS); in StartImport()
[all …]
Dfirefox2_importer.cc53 bridge_ = bridge; in StartImport()
61 bridge_->NotifyStarted(); in StartImport()
69 bridge_->NotifyItemStarted(importer::HISTORY); in StartImport()
71 bridge_->NotifyItemEnded(importer::HISTORY); in StartImport()
75 bridge_->NotifyItemStarted(importer::FAVORITES); in StartImport()
77 bridge_->NotifyItemEnded(importer::FAVORITES); in StartImport()
80 bridge_->NotifyItemStarted(importer::SEARCH_ENGINES); in StartImport()
82 bridge_->NotifyItemEnded(importer::SEARCH_ENGINES); in StartImport()
85 bridge_->NotifyItemStarted(importer::PASSWORDS); in StartImport()
87 bridge_->NotifyItemEnded(importer::PASSWORDS); in StartImport()
[all …]
Die_importer.cc86 bridge_ = bridge; in StartImport()
89 bridge_->NotifyStarted(); in StartImport()
98 bridge_->NotifyItemStarted(importer::HISTORY); in StartImport()
100 bridge_->NotifyItemEnded(importer::HISTORY); in StartImport()
103 bridge_->NotifyItemStarted(importer::FAVORITES); in StartImport()
105 bridge_->NotifyItemEnded(importer::FAVORITES); in StartImport()
108 bridge_->NotifyItemStarted(importer::SEARCH_ENGINES); in StartImport()
110 bridge_->NotifyItemEnded(importer::SEARCH_ENGINES); in StartImport()
113 bridge_->NotifyItemStarted(importer::PASSWORDS); in StartImport()
119 bridge_->NotifyItemEnded(importer::PASSWORDS); in StartImport()
[all …]
Dtoolbar_importer.cc67 bridge_ = bridge; in StartImport()
71 bridge_->NotifyStarted(); in StartImport()
169 if (bridge_) in EndImport()
170 bridge_->NotifyEnded(); in EndImport()
175 bridge_->NotifyItemStarted(importer::FAVORITES); in BeginImportBookmarks()
180 bridge_->NotifyItemEnded(importer::FAVORITES); in EndImportBookmarks()
260 bridge_->GetLocalizedString(IDS_BOOKMARK_GROUP_FROM_GOOGLE_TOOLBAR))) in GetBookmarksFromServerDataResponse()
555 bridge_->GetLocalizedString(IDS_BOOKMARK_GROUP_FROM_GOOGLE_TOOLBAR); in AddBookmarksToChrome()
558 bridge_->AddBookmarkEntries(bookmarks, first_folder_name, options); in AddBookmarksToChrome()
Dsafari_importer.mm74 bridge_ = bridge;
76 bridge_->NotifyStarted();
82 bridge_->NotifyItemStarted(importer::HISTORY);
84 bridge_->NotifyItemEnded(importer::HISTORY);
87 bridge_->NotifyItemStarted(importer::FAVORITES);
89 bridge_->NotifyItemEnded(importer::FAVORITES);
92 bridge_->NotifyItemStarted(importer::PASSWORDS);
94 bridge_->NotifyItemEnded(importer::PASSWORDS);
96 bridge_->NotifyEnded();
106 bridge_->GetLocalizedString(IDS_BOOKMARK_GROUP_FROM_SAFARI);
[all …]
Dimporter.h60 scoped_refptr<ImporterBridge> bridge_; variable
/external/chromium/chrome/browser/ui/cocoa/
Dhistory_menu_cocoa_controller_unittest.mm43 bridge_.reset(new HistoryMenuBridge(browser_test_helper_.profile()));
44 bridge_->controller_.reset(
45 [[FakeHistoryMenuController alloc] initWithBridge:bridge_.get()]);
53 bridge_->AddItemToMenu(item, menu, HistoryMenuBridge::kMostVisited, 0);
58 bridge_->AddItemToMenu(item, menu, HistoryMenuBridge::kMostVisited, 1);
62 return bridge_->menu_item_map_;
66 return static_cast<FakeHistoryMenuController*>(bridge_->controller_.get());
71 scoped_ptr<HistoryMenuBridge> bridge_;
Dhistory_menu_cocoa_controller.mm22 bridge_ = bridge;
23 DCHECK(bridge_);
35 Browser* browser = Browser::GetOrCreateTabbedBrowser(bridge_->profile());
41 TabRestoreService* service = bridge_->profile()->GetTabRestoreService();
54 bridge_->HistoryItemForMenuItem(sender);
Dhistory_menu_bridge_unittest.mm51 bridge_.reset(new MockBridge(browser_test_helper_.profile()));
59 bridge_->ClearMenuSection(menu, tag);
66 bridge_->AddItemToMenu(item, menu, tag, index);
78 [item setTarget:bridge_->controller_.get()];
102 bridge_->GetFaviconForHistoryItem(item);
107 bridge_->GotFaviconData(handle, favicon);
112 return bridge_->favicon_consumer_;
116 scoped_ptr<MockBridge> bridge_;
228 bridge_->TabRestoreServiceChanged(trs.get());
230 NSMenu* menu = bridge_->HistoryMenu();
[all …]
Dhistory_menu_cocoa_controller.h18 HistoryMenuBridge* bridge_; // weak; owns us
Dpage_info_bubble_controller.h20 scoped_ptr<PageInfoModel::PageInfoModelObserver> bridge_; variable
Dsearch_engine_dialog_controller.h31 scoped_refptr<SearchEngineDialogControllerBridge> bridge_; variable
Dsearch_engine_dialog_controller.mm76 bridge_ = new SearchEngineDialogControllerBridge(self);
87 searchEnginesModel_->AddObserver(bridge_.get());
93 bridge_.get(),
102 searchEnginesModel_->RemoveObserver(bridge_.get());
Dshell_dialogs_mac.mm90 scoped_nsobject<SelectFileDialogBridge> bridge_;
111 bridge_([[SelectFileDialogBridge alloc] function
227 modalDelegate:bridge_.get()
249 [open_dialog setDelegate:bridge_.get()];
254 modalDelegate:bridge_.get()
Dabout_ipc_controller.h33 scoped_ptr<AboutIPCBridge> bridge_;
/external/chromium/chrome/browser/ui/cocoa/download/
Ddownload_item_controller.mm103 // Must be called before [self view], so that bridge_ is set in awakeFromNib
104 bridge_.reset(new DownloadItemMac(downloadModel, self));
130 [self setStateFromDownload:bridge_->download_model()];
156 bridge_->LoadIcon();
161 DCHECK_EQ(bridge_->download_model(), downloadModel);
272 DownloadItem* download = bridge_->download_model()->download();
285 return bridge_->download_model()->download();
345 bridge_->download_model()->download()->DangerousDownloadValidated();
351 DownloadItem* download = bridge_->download_model()->download();
Ddownload_shelf_controller.mm117 bridge_.reset(new DownloadShelfMac(browser, self));
191 if (bridge_.get() && bridge_->browser() && bridge_->browser()->profile()) {
193 ThemeServiceFactory::GetForProfile(bridge_->browser()->profile());
210 bridge_->browser()->ShowDownloadsTab();
273 return bridge_.get();
291 bridge_->Close();
Ddownload_shelf_controller.h51 scoped_ptr<DownloadShelf> bridge_; variable
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dextension_infobar_controller.h36 scoped_ptr<InfobarBridge> bridge_; variable

12