Home
last modified time | relevance | path

Searched refs:GetDelegate (Results 1 – 25 of 129) sorted by relevance

123456

/external/chromium_org/content/browser/web_contents/
Dweb_contents_delegate_unittest.cc27 EXPECT_EQ(NULL, contents_a->GetDelegate()); in TEST_F()
28 EXPECT_EQ(NULL, contents_b->GetDelegate()); in TEST_F()
34 EXPECT_EQ(delegate.get(), contents_a->GetDelegate()); in TEST_F()
35 EXPECT_TRUE(contents_b->GetDelegate() == NULL); in TEST_F()
39 EXPECT_EQ(delegate.get(), contents_a->GetDelegate()); in TEST_F()
40 EXPECT_EQ(delegate.get(), contents_b->GetDelegate()); in TEST_F()
44 EXPECT_EQ(delegate.get(), contents_a->GetDelegate()); in TEST_F()
45 EXPECT_EQ(delegate.get(), contents_b->GetDelegate()); in TEST_F()
49 EXPECT_EQ(delegate.get(), contents_a->GetDelegate()); in TEST_F()
50 EXPECT_TRUE(contents_b->GetDelegate() == NULL); in TEST_F()
[all …]
Dweb_contents_view_aura.cc988 if (web_contents_->GetDelegate() && IsScrollEndEffectEnabled()) in OverscrollUpdateForWebContentsDelegate()
989 web_contents_->GetDelegate()->OverscrollUpdate(delta_y); in OverscrollUpdateForWebContentsDelegate()
1144 (!web_contents_->GetDelegate() || in CreateViewForWidget()
1145 web_contents_->GetDelegate()->CanOverscrollContent())) { in CreateViewForWidget()
1261 if (web_contents_->GetDelegate()) in GotFocus()
1262 web_contents_->GetDelegate()->WebContentsFocused(web_contents_); in GotFocus()
1266 if (web_contents_->GetDelegate() && in TakeFocus()
1267 !web_contents_->GetDelegate()->TakeFocus(web_contents_, reverse) && in TakeFocus()
1323 if (web_contents_->GetDelegate() && in OnOverscrollComplete()
1326 web_contents_->GetDelegate()->OverscrollComplete(); in OnOverscrollComplete()
[all …]
/external/chromium_org/content/shell/renderer/test_runner/
Dmock_webrtc_peer_connection_handler.cc163 interfaces_->GetDelegate()->PostTask(new RTCPeerConnectionStateTask( in initialize()
182 interfaces_->GetDelegate()->PostTask( in createOffer()
186 interfaces_->GetDelegate()->PostTask( in createOffer()
193 interfaces_->GetDelegate()->PostTask( in createOffer()
203 interfaces_->GetDelegate()->PostTask( in createAnswer()
207 interfaces_->GetDelegate()->PostTask( in createAnswer()
216 interfaces_->GetDelegate()->PostTask( in setLocalDescription()
219 interfaces_->GetDelegate()->PostTask( in setLocalDescription()
228 interfaces_->GetDelegate()->PostTask( in setRemoteDescription()
231 interfaces_->GetDelegate()->PostTask( in setRemoteDescription()
[all …]
/external/chromium_org/chrome/browser/extensions/api/mdns/
Ddns_sd_registry_unittest.cc37 DnsSdDelegate* GetDelegate() { in GetDelegate() function in extensions::TestDnsSdRegistry
123 registry_->GetDelegate()->ServiceChanged(service_type, true, service); in TEST_F()
125 registry_->GetDelegate()->ServiceChanged(service_type, false, service); in TEST_F()
146 registry_->GetDelegate()->ServiceChanged(service_type, true, service); in TEST_F()
147 registry_->GetDelegate()->ServiceRemoved(service_type, service.service_name); in TEST_F()
148 registry_->GetDelegate()->ServiceChanged(service_type, true, service); in TEST_F()
171 registry_->GetDelegate()->ServiceChanged(service_type, true, service); in TEST_F()
172 registry_->GetDelegate()->ServiceChanged(service_type, true, service2); in TEST_F()
198 registry_->GetDelegate()->ServiceChanged(service_type, true, service); in TEST_F()
199 registry_->GetDelegate()->ServiceChanged(service_type, true, service2); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/api/networking_private/
Dnetworking_private_api.cc19 extensions::NetworkingPrivateDelegate* GetDelegate( in GetDelegate() function
54 GetDelegate(browser_context())->GetProperties( in RunAsync()
84 GetDelegate(browser_context())->GetManagedProperties( in RunAsync()
115 GetDelegate(browser_context())->GetState( in RunAsync()
148 GetDelegate(browser_context())->SetProperties( in RunAsync()
180 GetDelegate(browser_context())->CreateNetwork( in RunAsync()
217 GetDelegate(browser_context())->GetNetworks( in RunAsync()
254 GetDelegate(browser_context())->GetNetworks( in RunAsync()
285 GetDelegate(browser_context())->GetEnabledNetworkTypes()); in RunSync()
328 return GetDelegate(browser_context())->EnableNetworkType( in RunSync()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/local/
Dsync_file_system_backend.cc78 GetDelegate()->file_task_runner()->DeleteSoon( in ~SyncFileSystemBackend()
106 storage::SandboxFileSystemBackendDelegate* delegate = GetDelegate(); in Initialize()
118 GetDelegate()->OpenFileSystem(url.origin(), in ResolveURL()
140 return GetDelegate()->file_util(); in GetAsyncFileUtil()
166 GetDelegate()->CreateFileSystemOperationContext(url, context, error_code); in CreateFileSystemOperation()
197 return GetDelegate()->CreateFileStreamReader( in CreateFileStreamReader()
207 return GetDelegate()->CreateFileStreamWriter( in CreateFileStreamWriter()
212 return GetDelegate(); in GetQuotaUtil()
217 return GetDelegate()->GetUpdateObservers(type); in GetUpdateObservers()
222 return GetDelegate()->GetChangeObservers(type); in GetChangeObservers()
[all …]
/external/chromium_org/chrome/browser/ui/views/infobars/
Dextension_infobar.cc112 GetDelegate()->height()))); in Layout()
127 GetDelegate()->extension_view_host(); in ViewHierarchyChanged()
146 GetExtensionView()->SetSize(gfx::Size(0, GetDelegate()->height())); in ViewHierarchyChanged()
174 GetDelegate()->extension_view_host()->view())->GetMinimumSize().width(); in ContentMinimumWidth()
182 GetDelegate()->extension_view_host()->extension(); in OnMenuButtonClicked()
193 if (!GetDelegate()) in OnImageLoaded()
221 ExtensionInfoBarDelegate* ExtensionInfoBar::GetDelegate() { in GetDelegate() function in ExtensionInfoBar
225 const ExtensionInfoBarDelegate* ExtensionInfoBar::GetDelegate() const { in GetDelegate() function in ExtensionInfoBar
231 GetDelegate()->extension_view_host()->view()); in GetExtensionView()
Dconfirm_infobar.cc67 ConfirmInfoBarDelegate* delegate = GetDelegate(); in ViewHierarchyChanged()
100 ConfirmInfoBarDelegate* delegate = GetDelegate(); in ButtonPressed()
121 if (GetDelegate()->LinkClicked(ui::DispositionFromEventFlags(event_flags))) in LinkClicked()
125 ConfirmInfoBarDelegate* ConfirmInfoBar::GetDelegate() { in GetDelegate() function in ConfirmInfoBar
Dextension_infobar.h41 ExtensionInfoBarDelegate* GetDelegate();
42 const ExtensionInfoBarDelegate* GetDelegate() const;
Dalternate_nav_infobar_view.cc76 AlternateNavInfoBarDelegate* delegate = GetDelegate(); in ViewHierarchyChanged()
109 if (GetDelegate()->LinkClicked(ui::DispositionFromEventFlags(event_flags))) in LinkClicked()
113 AlternateNavInfoBarDelegate* AlternateNavInfoBarView::GetDelegate() { in GetDelegate() function in AlternateNavInfoBarView
/external/chromium_org/chrome/browser/ui/android/infobars/
Dconfirm_infobar.cc42 ConfirmInfoBarDelegate* delegate = GetDelegate(); in CreateRenderInfoBar()
60 if (GetDelegate()->LinkClicked(NEW_FOREGROUND_TAB)) in OnLinkClicked()
71 ConfirmInfoBarDelegate* delegate = GetDelegate(); in ProcessButton()
77 ConfirmInfoBarDelegate* ConfirmInfoBar::GetDelegate() { in GetDelegate() function in ConfirmInfoBar
83 ConfirmInfoBarDelegate* delegate = GetDelegate(); in GetTextFor()
Dtranslate_infobar.cc36 translate::TranslateInfoBarDelegate* delegate = GetDelegate(); in CreateRenderInfoBar()
57 translate::TranslateInfoBarDelegate* delegate = GetDelegate(); in ProcessButton()
74 translate::TranslateInfoBarDelegate* delegate = GetDelegate(); in PassJavaInfoBar()
91 translate::TranslateInfoBarDelegate* delegate = GetDelegate(); in ApplyTranslateOptions()
122 translate::TranslateInfoBarDelegate* delegate = GetDelegate(); in ShouldDisplayNeverTranslateInfoBarOnCancel()
128 translate::TranslateInfoBarDelegate* TranslateInfoBar::GetDelegate() { in GetDelegate() function in TranslateInfoBar
Dsave_password_infobar.cc37 GetDelegate()->SetUseAdditionalPasswordAuthentication( in SetUseAdditionalAuthentication()
51 SavePasswordInfoBarDelegate* delegate = GetDelegate(); in CreateRenderInfoBar()
67 SavePasswordInfoBarDelegate* SavePasswordInfoBar::GetDelegate() { in GetDelegate() function in SavePasswordInfoBar
/external/chromium_org/content/public/browser/
Dbrowser_child_process_host_iterator.h37 BrowserChildProcessHostDelegate* GetDelegate();
56 return static_cast<T*>(GetDelegate());
59 return static_cast<T*>(GetDelegate());
/external/chromium_org/ui/views/controls/menu/
Dmenu_runner_impl.cc156 if (type == NOTIFY_DELEGATE && menu->GetDelegate()) { in DropMenuClosed()
158 menu->GetDelegate()->DropMenuClosed(menu); in DropMenuClosed()
194 if (result && menu_->GetDelegate()) { in MenuDone()
197 menu_->GetDelegate()->ExecuteCommand(result->GetCommand(), in MenuDone()
Dmenu_item_view.cc144 const MenuDelegate* delegate = GetDelegate(); in GetTooltipText()
174 if (GetDelegate()->IsItemChecked(GetCommand())) in GetAccessibleState()
246 if (label.empty() && GetDelegate()) in AddMenuItemAt()
247 item->SetTitle(GetDelegate()->GetLabel(item_id)); in AddMenuItemAt()
256 if (GetDelegate() && !GetDelegate()->IsCommandVisible(item_id)) in AddMenuItemAt()
441 MenuDelegate* MenuItemView::GetDelegate() { in GetDelegate() function in views::MenuItemView
445 const MenuDelegate* MenuItemView::GetDelegate() const { in GetDelegate() function in views::MenuItemView
661 MenuDelegate* root_delegate = GetDelegate(); in Init()
707 const MenuDelegate* delegate = GetDelegate(); in GetFontList()
759 MenuDelegate *delegate = GetDelegate(); in PaintButton()
[all …]
Dmenu_controller.cc559 if (part.menu->GetDelegate()->ShouldExecuteCommandWithoutClosingMenu( in OnMouseReleased()
561 part.menu->GetDelegate()->ExecuteCommand(part.menu->GetCommand(), in OnMouseReleased()
566 part.menu->GetDelegate()->IsTriggerableEvent(part.menu, event)) { in OnMouseReleased()
613 if (part.menu->GetDelegate()->IsTriggerableEvent( in OnGestureEvent()
648 return source->GetMenuItem()->GetDelegate()->GetDropFormats( in GetDropFormats()
653 return source->GetMenuItem()->GetDelegate()->AreDropTypesRequired( in AreDropTypesRequired()
658 return source->GetMenuItem()->GetDelegate()->CanDrop(source->GetMenuItem(), in CanDrop()
707 drop_operation = menu_item->GetDelegate()->GetDropOperation( in OnDragUpdated()
766 return drop_target->GetDelegate()->OnPerformDrop( in OnPerformDrop()
850 current_path.empty() ? NULL : current_path.front()->GetDelegate(); in SetSelection()
[all …]
/external/chromium_org/ui/web_dialogs/
Dweb_dialog_ui.cc69 WebDialogDelegate* WebDialogUI::GetDelegate( in GetDelegate() function in ui::WebDialogUI
88 WebDialogDelegate* delegate = GetDelegate(web_ui()->GetWebContents()); in RenderViewCreated()
106 WebDialogDelegate* delegate = GetDelegate(web_ui()->GetWebContents()); in OnDialogClosed()
/external/chromium_org/content/browser/android/in_process/
Dsynchronous_compositor_output_surface.cc96 SynchronousCompositorOutputSurfaceDelegate* delegate = GetDelegate(); in ~SynchronousCompositorOutputSurface()
112 SynchronousCompositorOutputSurfaceDelegate* delegate = GetDelegate(); in BindToClient()
127 SynchronousCompositorOutputSurfaceDelegate* delegate = GetDelegate(); in SetNeedsBeginFrame()
261 SynchronousCompositorOutputSurfaceDelegate* delegate = GetDelegate(); in InvokeComposite()
297 SynchronousCompositorOutputSurface::GetDelegate() { in GetDelegate() function in content::SynchronousCompositorOutputSurface
/external/chromium_org/chrome/browser/ui/panels/
Dpanel_extension_browsertest.cc154 EXPECT_FALSE(web_contents->GetDelegate()->HandleContextMenu(params)); in IN_PROC_BROWSER_TEST_F()
175 EXPECT_FALSE(web_contents->GetDelegate()->HandleContextMenu(params)); in IN_PROC_BROWSER_TEST_F()
196 EXPECT_FALSE(web_contents->GetDelegate()->HandleContextMenu(params)); in IN_PROC_BROWSER_TEST_F()
217 EXPECT_FALSE(web_contents->GetDelegate()->HandleContextMenu(params)); in IN_PROC_BROWSER_TEST_F()
254 EXPECT_FALSE(web_contents->GetDelegate()->HandleContextMenu(params)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/athena/resource_manager/
Dmemory_pressure_notifier.cc25 int time_in_ms = listener_->GetDelegate()->MemoryPressureIntervalInMS(); in StartObserving()
40 listener_->GetDelegate()->GetUsedMemoryInPercent()); in CheckMemoryPressure()
/external/chromium_org/extensions/browser/guest_view/
Dguest_view_base.cc398 if (!attached() || !embedder_web_contents()->GetDelegate()) in ActivateContents()
401 embedder_web_contents()->GetDelegate()->ActivateContents( in ActivateContents()
406 if (!attached() || !embedder_web_contents()->GetDelegate()) in DeactivateContents()
409 embedder_web_contents()->GetDelegate()->DeactivateContents( in DeactivateContents()
415 if (!attached() || !embedder_web_contents()->GetDelegate()) in RunFileChooser()
418 embedder_web_contents()->GetDelegate()->RunFileChooser(web_contents, params); in RunFileChooser()
/external/chromium_org/components/nacl/browser/
Dnacl_file_host.cc78 if (!nacl::NaClBrowser::GetDelegate()->GetPnaclDirectory(&pnacl_dir) || in DoOpenPnaclFile()
130 if (!nacl::NaClBrowser::GetDelegate()->MapUrlToLocalFilePath( in DoOpenNaClExecutableOnThreadPool()
200 if (!nacl::NaClBrowser::GetDelegate()->GetPnaclDirectory(&pnacl_dir) || in PnaclCanOpenFile()
/external/chromium_org/extensions/browser/guest_view/web_view/
Dweb_view_permission_helper.cc200 !web_view_guest()->embedder_web_contents()->GetDelegate()) { in CheckMediaAccessPermission()
205 ->GetDelegate() in CheckMediaAccessPermission()
222 !web_view_guest()->embedder_web_contents()->GetDelegate()) { in OnMediaPermissionResponse()
231 ->GetDelegate() in OnMediaPermissionResponse()
/external/chromium_org/athena/content/
Dweb_contents_view_delegate_factory_impl.cc135 if (web_contents_->GetDelegate()) in SetInitialFocus()
136 web_contents_->GetDelegate()->SetFocusToLocationBar(false); in SetInitialFocus()

123456