/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_menu_bridge_unittest.mm | 51 bridge_.reset(new TestBookmarkMenuBridge(profile(), menu)); 52 EXPECT_TRUE(bridge_.get()); 63 void InvalidateMenu() { bridge_->InvalidateMenu(); } 64 bool menu_is_valid() { return bridge_->menuIsValid_; } 94 scoped_ptr<TestBookmarkMenuBridge> bridge_; 98 BookmarkModel* model = bridge_->GetBookmarkModel(); 99 bridge_->BookmarkModelLoaded(model, false); 100 NSMenu* menu = bridge_->menu_; 101 bridge_->UpdateMenu(menu); 112 bridge_->UpdateMenu(menu); [all …]
|
D | bookmark_menu_cocoa_controller.mm | 52 bridge_ = bridge; 53 DCHECK(bridge_); 77 bridge_->UpdateMenu(menu); 83 return GetBookmarkNodeByID(bridge_->GetBookmarkModel(), identifier); 89 chrome::FindTabbedBrowser(bridge_->GetProfile(), 94 bridge_->GetProfile(), chrome::HOST_DESKTOP_TYPE_NATIVE)); 113 chrome::FindTabbedBrowser(bridge_->GetProfile(), 118 bridge_->GetProfile(), chrome::HOST_DESKTOP_TYPE_NATIVE));
|
/external/chromium_org/content/child/ |
D | web_socket_stream_handle_impl.cc | 70 DCHECK(!bridge_.get()); in ~Context() 77 scoped_refptr<WebSocketStreamHandleBridge> bridge_; member in content::WebSocketStreamHandleImpl::Context 89 DCHECK(!bridge_.get()); in Connect() 93 bridge_ = dispatcher->CreateBridge(handle_, this); in Connect() 96 bridge_->Connect(url); in Connect() 101 DCHECK(bridge_.get()); in Send() 102 return bridge_->Send( in Send() 108 if (bridge_.get()) in Close() 109 bridge_->Close(); in Close() 119 if (bridge_.get()) in Detach() [all …]
|
D | web_url_loader_impl.cc | 257 scoped_ptr<ResourceLoaderBridge> bridge_; member in content::WebURLLoaderImpl::Context 272 if (bridge_) in Cancel() 273 bridge_->Cancel(); in Cancel() 289 if (bridge_) in SetDefersLoading() 290 bridge_->SetDefersLoading(value); in SetDefersLoading() 295 if (bridge_) in DidChangePriority() 296 bridge_->DidChangePriority( in DidChangePriority() 302 if (bridge_) in AttachThreadedDataReceiver() 303 return bridge_->AttachThreadedDataReceiver(threaded_data_receiver); in AttachThreadedDataReceiver() 310 DCHECK(!bridge_.get()); in Start() [all …]
|
/external/chromium_org/ui/views/cocoa/ |
D | bridged_native_widget_unittest.mm | 30 scoped_ptr<BridgedNativeWidget> bridge_; 46 bridge_.reset(new BridgedNativeWidget); 48 bridge_->Init(window); 49 bridge_->SetRootView(view_.get()); 51 [test_window() makePretendKeyWindowAndSetFirstResponder:bridge_->ns_view()]; 57 bridge_.reset(); 67 base::scoped_nsobject<BridgedContentView> view([bridge_->ns_view() retain]); 77 bridge_.reset(); 85 [bridge_->ns_view() display]; 109 scoped_ptr<views::InputMethod> input_method(bridge_->CreateInputMethod()); [all …]
|
/external/chromium_org/chrome/browser/importer/ |
D | external_process_importer_client.cc | 35 bridge_(bridge), in ExternalProcessImporterClient() 122 bridge_->NotifyStarted(); in OnImportStart() 139 bridge_->NotifyItemStarted(static_cast<importer::ImportItem>(item_data)); in OnImportItemStart() 148 bridge_->NotifyItemEnded(import_item); in OnImportItemFinished() 174 bridge_->SetHistoryItems(history_rows_, in OnHistoryImportGroup() 183 bridge_->AddHomePage(home_page); in OnHomePageImportReady() 207 bridge_->AddBookmarks(bookmarks_, bookmarks_first_folder_name_); in OnBookmarksImportGroup() 227 bridge_->SetFavicons(favicons_); in OnFaviconsImportGroup() 235 bridge_->SetPasswordForm(form); in OnPasswordFormImportReady() 243 bridge_->SetKeywords(url_keywords, unique_on_host_and_path); in OnKeywordsImportReady() [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | history_menu_cocoa_controller_unittest.mm | 44 bridge_.reset(new HistoryMenuBridge(profile())); 45 bridge_->controller_.reset( 46 [[FakeHistoryMenuController alloc] initWithBridge:bridge_.get()]); 54 bridge_->AddItemToMenu(item, menu, HistoryMenuBridge::kVisited, 0); 59 bridge_->AddItemToMenu(item, menu, HistoryMenuBridge::kVisited, 1); 63 return bridge_->menu_item_map_; 67 return static_cast<FakeHistoryMenuController*>(bridge_->controller_.get()); 71 scoped_ptr<HistoryMenuBridge> bridge_;
|
D | history_menu_cocoa_controller.mm | 30 bridge_ = bridge; 31 DCHECK(bridge_); 46 TabRestoreServiceFactory::GetForProfile(bridge_->profile()); 48 Browser* browser = chrome::FindTabbedBrowser(bridge_->profile(), false, 58 chrome::NavigateParams params(bridge_->profile(), node->url, 67 bridge_->HistoryItemForMenuItem(sender);
|
D | history_menu_bridge_unittest.mm | 55 bridge_.reset(new MockBridge(profile())); 63 bridge_->ClearMenuSection(menu, tag); 70 bridge_->AddItemToMenu(item, menu, tag, index); 82 [item setTarget:bridge_->controller_.get()]; 107 bridge_->GetFaviconForHistoryItem(item); 112 bridge_->GotFaviconData(item, image_result); 117 return bridge_->favicon_consumer_; 120 scoped_ptr<MockBridge> bridge_; 231 bridge_->TabRestoreServiceChanged(trs.get()); 233 NSMenu* menu = bridge_->HistoryMenu(); [all …]
|
D | tab_modal_confirm_dialog_mac.mm | 62 bridge_.reset([[TabModalConfirmDialogMacBridge alloc] 70 target:bridge_ 77 target:bridge_ 82 target:bridge_ 84 [[alert_ closeButton] setTarget:bridge_];
|
/external/chromium_org/chrome/utility/importer/ |
D | firefox_importer.cc | 102 bridge_ = bridge; in StartImport() 111 bridge_->NotifyStarted(); in StartImport() 113 bridge_->NotifyItemStarted(importer::HOME_PAGE); in StartImport() 115 bridge_->NotifyItemEnded(importer::HOME_PAGE); in StartImport() 122 bridge_->NotifyItemStarted(importer::HISTORY); in StartImport() 124 bridge_->NotifyItemEnded(importer::HISTORY); in StartImport() 128 bridge_->NotifyItemStarted(importer::FAVORITES); in StartImport() 130 bridge_->NotifyItemEnded(importer::FAVORITES); in StartImport() 133 bridge_->NotifyItemStarted(importer::SEARCH_ENGINES); in StartImport() 135 bridge_->NotifyItemEnded(importer::SEARCH_ENGINES); in StartImport() [all …]
|
D | ie_importer_win.cc | 411 bridge_ = bridge; in StartImport() 414 bridge_->NotifyStarted(); in StartImport() 417 bridge_->NotifyItemStarted(importer::HOME_PAGE); in StartImport() 419 bridge_->NotifyItemEnded(importer::HOME_PAGE); in StartImport() 423 bridge_->NotifyItemStarted(importer::HISTORY); in StartImport() 425 bridge_->NotifyItemEnded(importer::HISTORY); in StartImport() 428 bridge_->NotifyItemStarted(importer::FAVORITES); in StartImport() 430 bridge_->NotifyItemEnded(importer::FAVORITES); in StartImport() 433 bridge_->NotifyItemStarted(importer::SEARCH_ENGINES); in StartImport() 435 bridge_->NotifyItemEnded(importer::SEARCH_ENGINES); in StartImport() [all …]
|
D | safari_importer.mm | 55 bridge_ = bridge; 57 bridge_->NotifyStarted(); 63 bridge_->NotifyItemStarted(importer::HISTORY); 65 bridge_->NotifyItemEnded(importer::HISTORY); 68 bridge_->NotifyItemStarted(importer::FAVORITES); 70 bridge_->NotifyItemEnded(importer::FAVORITES); 73 bridge_->NotifyItemStarted(importer::PASSWORDS); 75 bridge_->NotifyItemEnded(importer::PASSWORDS); 77 bridge_->NotifyEnded(); 82 bridge_->GetLocalizedString(IDS_BOOKMARK_BAR_FOLDER_NAME); [all …]
|
/external/chromium_org/android_webview/native/ |
D | aw_contents_client_bridge_unittest.cc | 49 scoped_ptr<AwContentsClientBridge> bridge_; member in android_webview::__anon8102970f0111::AwContentsClientBridgeTest 66 bridge_.reset(new AwContentsClientBridge(env_, jbridge_.obj())); in SetUp() 91 bridge_->SelectClientCertificate( in TestCertType() 114 bridge_->SelectClientCertificate( in TEST_F() 119 bridge_->ProvideClientCertificateResponse(env_, jbridge_.obj(), in TEST_F() 135 bridge_->SelectClientCertificate( in TEST_F() 142 bridge_->ProvideClientCertificateResponse(env_, jbridge_.obj(), in TEST_F()
|
/external/chromium_org/content/child/fileapi/ |
D | webfilewriter_impl.cc | 127 bridge_(new WriterBridge(type)) { in WebFileWriterImpl() 134 RunOnMainThread(base::Bind(&WriterBridge::Truncate, bridge_, in DoTruncate() 141 RunOnMainThread(base::Bind(&WriterBridge::Write, bridge_, in DoWrite() 148 RunOnMainThread(base::Bind(&WriterBridge::Cancel, bridge_, in DoCancel() 154 DCHECK(!bridge_->waitable_event()); in RunOnMainThread() 159 if (bridge_->waitable_event()) in RunOnMainThread() 160 bridge_->WaitAndRun(); in RunOnMainThread()
|
/external/chromium_org/chrome/browser/invalidation/ |
D | gcm_invalidation_bridge_unittest.cc | 67 bridge_.reset(new GCMInvalidationBridge(gcm_driver_.get(), in SetUp() 70 delegate_ = bridge_->CreateDelegate(); in SetUp() 108 scoped_ptr<GCMInvalidationBridge> bridge_; member in invalidation::__anond14c50f70111::GCMInvalidationBridgeTest 156 bridge_->OnConnected(net::IPEndPoint()); in TEST_F() 159 bridge_->OnDisconnected(); in TEST_F()
|
/external/chromium_org/ui/views/ime/ |
D | input_method_bridge.cc | 39 InputMethodBridge* bridge_; member in views::InputMethodBridge::HostObserver 45 : bridge_(bridge) { in HostObserver() 46 bridge_->host_->AddObserver(this); in HostObserver() 50 if (bridge_->host_) in ~HostObserver() 51 bridge_->host_->RemoveObserver(this); in ~HostObserver() 56 DCHECK_EQ(bridge_->host_, input_method); in OnInputMethodDestroyed() 57 bridge_->host_->RemoveObserver(this); in OnInputMethodDestroyed() 58 bridge_->host_ = NULL; in OnInputMethodDestroyed()
|
/external/chromium_org/content/child/npapi/ |
D | plugin_url_fetcher.cc | 147 bridge_.reset(ChildThread::current()->resource_dispatcher()->CreateBridge( in PluginURLFetcher() 153 bridge_->SetRequestBody(request_body.get()); in PluginURLFetcher() 156 bridge_->Start(this); in PluginURLFetcher() 165 bridge_->Cancel(); in Cancel() 182 bridge_->SetDefersLoading(false); in URLRedirectResponse() 184 bridge_->Cancel(); in URLRedirectResponse() 232 bridge_->SetDefersLoading(true); in OnReceivedRedirect()
|
/external/chromium_org/ui/views/widget/ |
D | native_widget_mac.mm | 21 : delegate_(delegate), bridge_(new BridgedNativeWidget) { 42 bridge_->Init(window); 71 return bridge_->ns_view(); 75 return bridge_->ns_window(); 99 bridge_->SetRootView(GetWidget()->GetRootView()); 134 return bridge_->CreateInputMethod(); 138 return bridge_.get(); 142 return bridge_->GetHostInputMethod(); 188 [bridge_->ns_window() setContentSize:NSMakeSize(size.width(), size.height())]; 317 [bridge_->ns_view() setNeedsDisplay:YES];
|
/external/chromium_org/chrome/utility/ |
D | profile_import_handler.cc | 45 bridge_ = new ExternalProcessImporterBridge( in OnImportStart() 69 source_profile, items, bridge_)); in OnImportStart() 88 bridge_ = NULL; in ImporterCleanup()
|
/external/chromium_org/components/invalidation/ |
D | gcm_invalidation_bridge.cc | 64 base::WeakPtr<GCMInvalidationBridge> bridge_; member in invalidation::GCMInvalidationBridge::Core 78 : bridge_(bridge), in Core() 95 bridge_, in Initialize() 104 base::Bind(&GCMInvalidationBridge::RequestToken, bridge_, callback)); in RequestToken() 111 base::Bind(&GCMInvalidationBridge::InvalidateToken, bridge_, token)); in InvalidateToken() 118 base::Bind(&GCMInvalidationBridge::Register, bridge_, callback)); in Register() 126 bridge_)); in SetMessageReceiver()
|
/external/chromium_org/ui/app_list/cocoa/ |
D | apps_search_results_model_bridge.mm | 21 : bridge_(bridge), row_in_view_(index) { 24 result_ = [bridge_->parent_ results]->GetItemAt(index); 47 bridge_->ReloadDataForItems(row_in_view_, 1); 56 AppsSearchResultsModelBridge* bridge_; // Weak. Owns us. 68 [[bridge_->parent_ delegate] performSelector:@selector(redoSearch)
|
/external/chromium_org/chrome/browser/ui/cocoa/website_settings/ |
D | website_settings_bubble_controller_unittest.mm | 147 WebsiteSettingsUIBridge* bridge_; // Weak, owned by controller. 157 bridge_ = new WebsiteSettingsUIBridge(); 163 websiteSettingsUIBridge:bridge_ 224 bridge_->SetPermissionInfo(list); 239 bridge_->SetIdentityInfo(const_cast<WebsiteSettingsUI::IdentityInfo&>(info)); 245 bridge_->SetIdentityInfo(const_cast<WebsiteSettingsUI::IdentityInfo&>(info)); 256 bridge_->SetIdentityInfo(const_cast<WebsiteSettingsUI::IdentityInfo&>(info)); 273 bridge_->SetIdentityInfo(const_cast<WebsiteSettingsUI::IdentityInfo&>(info)); 302 bridge_->SetIdentityInfo(const_cast<WebsiteSettingsUI::IdentityInfo&>(info)); 321 bridge_->SetFirstVisit(base::ASCIIToUTF16("Yesterday")); [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/notifications/ |
D | message_center_tray_bridge_unittest.mm | 31 bridge_.reset(new MessageCenterTrayBridge(center_)); 35 bridge_.reset(); 42 MCStatusItemView* status_item() { return bridge_->status_item_view_.get(); } 67 scoped_ptr<MessageCenterTrayBridge> bridge_;
|
/external/chromium_org/chrome/browser/ui/cocoa/download/ |
D | download_item_controller.mm | 99 // Must be called before [self view], so that bridge_ is set in awakeFromNib 100 bridge_.reset(new DownloadItemMac(downloadItem, self)); 133 [self setStateFromDownload:bridge_->download_model()]; 135 bridge_->LoadIcon(); 261 return bridge_->download_model()->download(); 270 bridge_->download_model()->GetTooltipText(*font_list_, kToolTipMaxWidth); 324 bridge_->download_model()->download()->ValidateDangerousDownload(); 330 DownloadItem* download = bridge_->download_model()->download();
|