Home
last modified time | relevance | path

Searched refs:client_host (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/content/browser/devtools/
Ddevtools_manager_impl.cc48 DevToolsClientHost* client_host) { in GetDevToolsAgentHostFor() argument
49 ClientToAgentHostMap::iterator it = client_to_agent_host_.find(client_host); in GetDevToolsAgentHostFor()
57 DevToolsClientHost* client_host) { in RegisterDevToolsClientHostFor() argument
66 BindClientHost(agent_host_impl, client_host); in RegisterDevToolsClientHostFor()
87 DevToolsClientHost* client_host = GetDevToolsClientHostFor(agent_host_impl); in DispatchOnInspectorFrontend() local
88 if (!client_host) { in DispatchOnInspectorFrontend()
93 client_host->DispatchOnInspectorFrontend(message); in DispatchOnInspectorFrontend()
96 void DevToolsManagerImpl::ClientHostClosing(DevToolsClientHost* client_host) { in ClientHostClosing() argument
97 DevToolsAgentHost* agent_host = GetDevToolsAgentHostFor(client_host); in ClientHostClosing()
102 UnbindClientHost(agent_host_impl, client_host); in ClientHostClosing()
[all …]
Ddevtools_manager_unittest.cc107 TestDevToolsClientHost client_host; in TEST_F() local
108 manager->RegisterDevToolsClientHostFor(agent.get(), &client_host); in TEST_F()
111 EXPECT_EQ(agent, manager->GetDevToolsAgentHostFor(&client_host)); in TEST_F()
114 client_host.Close(manager); in TEST_F()
122 TestDevToolsClientHost client_host; in TEST_F() local
125 manager->RegisterDevToolsClientHostFor(agent_host.get(), &client_host); in TEST_F()
131 EXPECT_TRUE(&m == client_host.last_sent_message); in TEST_F()
133 client_host.Close(manager); in TEST_F()
144 TestDevToolsClientHost client_host; in TEST_F() local
148 agent_host.get(), &client_host); in TEST_F()
[all …]
Ddevtools_manager_impl.h54 DevToolsClientHost* client_host) OVERRIDE;
57 DevToolsClientHost* client_host) OVERRIDE;
71 DevToolsClientHost* client_host);
73 DevToolsClientHost* client_host);
Ddevtools_http_handler_impl.cc607 DevToolsClientHostImpl* client_host = new DevToolsClientHostImpl( in OnWebSocketRequestUI() local
609 connection_to_client_host_ui_[connection_id] = client_host; in OnWebSocketRequestUI()
612 RegisterDevToolsClientHostFor(agent, client_host); in OnWebSocketRequestUI()
633 DevToolsClientHostImpl* client_host = in OnCloseUI() local
635 DevToolsManager::GetInstance()->ClientHostClosing(client_host); in OnCloseUI()
636 delete client_host; in OnCloseUI()
/external/chromium/chrome/browser/debugger/
Ddevtools_manager.cc69 DevToolsClientHost* client_host) { in RegisterDevToolsClientHostFor() argument
73 BindClientHost(inspected_rvh, client_host, initial_properties); in RegisterDevToolsClientHostFor()
74 client_host->set_close_listener(this); in RegisterDevToolsClientHostFor()
81 DevToolsClientHost* client_host = FindOwnerDevToolsClientHost(client_rvh); in ForwardToDevToolsAgent() local
82 if (client_host) in ForwardToDevToolsAgent()
83 ForwardToDevToolsAgent(client_host, message); in ForwardToDevToolsAgent()
102 DevToolsClientHost* client_host = GetDevToolsClientHostFor(inspected_rvh); in ForwardToDevToolsClient() local
103 if (!client_host) { in ForwardToDevToolsClient()
108 client_host->SendMessageToClient(message); in ForwardToDevToolsClient()
112 DevToolsClientHost* client_host = FindOwnerDevToolsClientHost(client_rvh); in ActivateWindow() local
[all …]
Ddevtools_manager_unittest.cc84 TestDevToolsClientHost client_host; in TEST_F() local
85 manager->RegisterDevToolsClientHostFor(rvh(), &client_host); in TEST_F()
88 EXPECT_TRUE(&client_host == host); in TEST_F()
93 EXPECT_TRUE(&client_host == host); in TEST_F()
96 client_host.Close(); in TEST_F()
105 TestDevToolsClientHost client_host; in TEST_F() local
106 manager->RegisterDevToolsClientHostFor(rvh(), &client_host); in TEST_F()
111 EXPECT_TRUE(&m == client_host.last_sent_message); in TEST_F()
113 client_host.Close(); in TEST_F()
Ddebugger_remote_service.cc218 DevToolsClientHost* client_host = in AttachToTab() local
220 if (client_host == NULL) { in AttachToTab()
221 client_host = in AttachToTab()
225 manager->RegisterDevToolsClientHostFor(target_host, client_host); in AttachToTab()
251 DevToolsClientHostImpl* client_host = in DetachFromTab() local
253 if (client_host != NULL) { in DetachFromTab()
254 client_host->Close(); in DetachFromTab()
288 DevToolsClientHost* client_host = in DispatchDebuggerCommand() local
290 if (client_host == NULL) { in DispatchDebuggerCommand()
300 client_host, DevToolsAgentMsg_DebuggerCommand(v8_command)); in DispatchDebuggerCommand()
Ddevtools_manager.h53 DevToolsClientHost* client_host);
119 RenderViewHost* GetInspectedRenderViewHost(DevToolsClientHost* client_host);
135 DevToolsClientHost* client_host,
139 DevToolsClientHost* client_host);
Dinspectable_tab_proxy.cc101 DevToolsClientHostImpl* client_host = in NewClientHost() local
103 id_to_client_host_map_[id] = client_host; in NewClientHost()
104 return client_host; in NewClientHost()
Ddevtools_http_protocol_handler.cc249 DevToolsClientHost* client_host = DevToolsManager::GetInstance()-> in GeneratePageList() local
254 page_info.attached = client_host != NULL; in GeneratePageList()
356 DevToolsClientHostImpl* client_host = in OnWebSocketRequestUI() local
358 connection_to_client_host_ui_[connection_id] = client_host; in OnWebSocketRequestUI()
362 client_host); in OnWebSocketRequestUI()
364 client_host, in OnWebSocketRequestUI()
388 DevToolsClientHostImpl* client_host = in OnCloseUI() local
390 client_host->NotifyCloseListener(); in OnCloseUI()
391 delete client_host; in OnCloseUI()
Ddevtools_sanity_unittest.cc108 DevToolsClientHost* client_host = in OpenDevToolsWindow() local
110 window_ = client_host->AsDevToolsWindow(); in OpenDevToolsWindow()
Ddevtools_window.cc50 DevToolsClientHost* client_host = DevToolsManager::GetInstance()-> in GetDevToolsContents() local
52 if (!client_host) { in GetDevToolsContents()
56 DevToolsWindow* window = client_host->AsDevToolsWindow(); in GetDevToolsContents()
/external/chromium/chrome/browser/extensions/
Dextension_debugger_api.cc84 void Add(ExtensionDevToolsClientHost* client_host) { in Add() argument
85 client_hosts_.insert(client_host); in Add()
88 void Remove(ExtensionDevToolsClientHost* client_host) { in Remove() argument
89 client_hosts_.erase(client_host); in Remove()
93 DevToolsClientHost* client_host = in Lookup() local
96 client_hosts_.find(client_host); in Lookup()
99 return static_cast<ExtensionDevToolsClientHost*>(client_host); in Lookup()
293 DevToolsClientHost* client_host = DevToolsManager::GetInstance()-> in RunImpl() local
296 if (client_host != NULL) { in RunImpl()
/external/chromium_org/content/public/browser/
Ddevtools_manager.h43 DevToolsClientHost* client_host) = 0;
50 DevToolsClientHost* client_host) = 0;
55 virtual void ClientHostClosing(DevToolsClientHost* client_host) = 0;
/external/chromium_org/chrome/browser/extensions/api/debugger/
Ddebugger_api.cc149 void set_client_host(ExtensionDevToolsClientHost* client_host) { in set_client_host() argument
150 client_host_ = client_host; in set_client_host()
242 void Add(ExtensionDevToolsClientHost* client_host);
243 void Remove(ExtensionDevToolsClientHost* client_host);
265 void AttachedClientHosts::Add(ExtensionDevToolsClientHost* client_host) { in Add() argument
266 client_hosts_.insert(client_host); in Add()
269 void AttachedClientHosts::Remove(ExtensionDevToolsClientHost* client_host) { in Remove() argument
270 client_hosts_.erase(client_host); in Remove()
279 ExtensionDevToolsClientHost* client_host = *it; in Lookup() local
280 if (manager->GetDevToolsAgentHostFor(client_host) == agent_host && in Lookup()
[all …]
/external/chromium/chrome/browser/ui/views/frame/
Dbrowser_view.cc1937 SidebarContainer* client_host = SidebarManager::GetInstance()-> local
1939 if (client_host)
1940 sidebar_contents = client_host->sidebar_contents();
/external/chromium_org/chrome/browser/prerender/
Dprerender_browsertest.cc2853 FakeDevToolsClientHost client_host; in IN_PROC_BROWSER_TEST_F() local
2854 manager->RegisterDevToolsClientHostFor(agent.get(), &client_host); in IN_PROC_BROWSER_TEST_F()
2858 manager->ClientHostClosing(&client_host); in IN_PROC_BROWSER_TEST_F()