Home
last modified time | relevance | path

Searched refs:browser_id (Results 1 – 22 of 22) sorted by relevance

/third_party/cef/tests/ceftests/
Drequest_handler_unittest.cc316 int browser_id = GetBrowser()->GetIdentifier(); in DestroyTest() local
319 EXPECT_TRUE(got_before_browse1_) << " browser " << browser_id; in DestroyTest()
320 EXPECT_TRUE(got_load_end1_) << " browser " << browser_id; in DestroyTest()
321 EXPECT_TRUE(got_before_resource_load1_) << " browser " << browser_id; in DestroyTest()
322 EXPECT_TRUE(got_get_resource_handler1_) << " browser " << browser_id; in DestroyTest()
323 EXPECT_TRUE(got_resource_load_complete1_) << " browser " << browser_id; in DestroyTest()
324 EXPECT_TRUE(got_cookie1_) << " browser " << browser_id; in DestroyTest()
325 EXPECT_TRUE(got_process_message1_) << " browser " << browser_id; in DestroyTest()
326 EXPECT_TRUE(got_before_browse2_) << " browser " << browser_id; in DestroyTest()
329 EXPECT_EQ(1, got_process_terminated_ct_) << " browser " << browser_id; in DestroyTest()
[all …]
Dtest_handler.cc208 const int browser_id = browser->GetIdentifier(); in OnAfterCreated() local
209 EXPECT_EQ(browser_map_.find(browser_id), browser_map_.end()); in OnAfterCreated()
211 first_browser_id_ = browser_id; in OnAfterCreated()
214 browser_map_.insert(std::make_pair(browser_id, browser)); in OnAfterCreated()
221 const int browser_id = browser->GetIdentifier(); in OnBeforeClose() local
222 BrowserMap::iterator it = browser_map_.find(browser_id); in OnBeforeClose()
226 if (browser_id == first_browser_id_) { in OnBeforeClose()
Dbrowser_info_map_unittest.cc34 bool OnNextInfo(int browser_id, in OnNextInfo() argument
39 info_rec.browser_id = browser_id; in OnNextInfo()
47 (browser_id == remove_browser_id_ && info_id == remove_info_id_); in OnNextInfo()
53 bool Exists(int browser_id, InfoIdType info_id, InfoObjectType info) { in Exists() argument
57 if (browser_id == found_info.browser_id && in Exists()
75 int browser_id; member
Dmessage_router_unittest.cc1188 EXPECT_EQ(query.browser_id, browser->GetIdentifier()) << index; in OnNotify()
1266 query.browser_id = browser->GetIdentifier(); in OnQuery()
1317 EXPECT_EQ(query.browser_id, browser->GetIdentifier()) << i; in OnQueryCanceled()
1418 browser_id(0), in TestQuery()
1426 int browser_id; member
2456 const int browser_id = browser->GetIdentifier(); in OnLoadStart() local
2460 const std::pair<int, int64>& id = std::make_pair(browser_id, frame_id); in OnLoadStart()
2473 const int browser_id = browser->GetIdentifier(); in GetManager() local
2479 manager_map_.find(std::make_pair(browser_id, frame_id)); in GetManager()
2481 << "browser_id = " << browser_id << ", frame_id = " << frame_id; in GetManager()
/third_party/cef/libcef_dll/wrapper/
Dcef_browser_info_map.h35 virtual bool OnNextInfo(int browser_id,
52 void Add(int browser_id, IdType info_id, ObjectType info) { in Add() argument
55 browser_info_map_.find(browser_id); in Add()
59 browser_info_map_.insert(std::make_pair(browser_id, info_map)); in Add()
72 ObjectType Find(int browser_id, IdType info_id, Visitor* vistor) { in Find() argument
77 browser_info_map_.find(browser_id); in Find()
90 vistor->OnNextInfo(browser_id, it_info->first, info, &remove); in Find()
148 void FindAll(int browser_id, Visitor* visitor) { in FindAll() argument
155 browser_info_map_.find(browser_id); in FindAll()
165 keepgoing = visitor->OnNextInfo(browser_id, it_info->first, in FindAll()
[all …]
Dcef_message_router.cc71 int browser_id, in CallbackImpl() argument
75 browser_id_(browser_id), in CallbackImpl()
197 bool OnNextInfo(int browser_id, in GetPendingCount() argument
268 const int browser_id = browser->GetIdentifier(); in OnProcessMessageReceived() local
272 new CallbackImpl(this, browser_id, query_id, persistent)); in OnProcessMessageReceived()
304 browser_query_info_map_.Add(browser_id, query_id, info); in OnProcessMessageReceived()
318 const int browser_id = browser->GetIdentifier(); in OnProcessMessageReceived() local
322 CancelPendingRequest(browser_id, context_id, request_id); in OnProcessMessageReceived()
358 QueryInfo* GetQueryInfo(int browser_id, in GetQueryInfo() argument
367 bool OnNextInfo(int browser_id, in GetQueryInfo() argument
[all …]
/third_party/cef/tests/cefclient/browser/
Droot_window.cc27 scoped_refptr<RootWindow> RootWindow::GetForBrowser(int browser_id) { in GetForBrowser() argument
29 browser_id); in GetForBrowser()
Dmedia_router_test.cc536 const int browser_id = browser->GetIdentifier(); in CreateSubscription() local
537 if (subscription_state_map_.find(browser_id) != in CreateSubscription()
550 subscription_state_map_.insert(std::make_pair(browser_id, state)); in CreateSubscription()
559 void RemoveSubscription(int browser_id, int64 query_id) { in RemoveSubscription() argument
561 subscription_state_map_.find(browser_id); in RemoveSubscription()
569 CefRefPtr<MediaObserver> GetMediaObserver(int browser_id) { in GetMediaObserver() argument
571 subscription_state_map_.find(browser_id); in GetMediaObserver()
Droot_window_manager.h64 scoped_refptr<RootWindow> GetWindowForBrowser(int browser_id) const;
Droot_window_manager.cc202 int browser_id) const { in GetWindowForBrowser()
207 if (browser.get() && browser->GetIdentifier() == browser_id) in GetWindowForBrowser()
Droot_window.h123 static scoped_refptr<RootWindow> GetForBrowser(int browser_id);
/third_party/cef/libcef/renderer/
Dbrowser_impl.h70 int browser_id,
86 int browser_id() const { return browser_id_; } in browser_id() function
Dbrowser_impl.cc134 return browser_id(); in GetIdentifier()
270 int browser_id, in CefBrowserImpl() argument
274 browser_id_(browser_id), in CefBrowserImpl()
Drender_manager.cc319 if (params->browser_id == 0) { in MaybeCreateBrowser()
329 if (is_pdf || params->is_guest_view || params->browser_id < 0) { in MaybeCreateBrowser()
338 browser = new CefBrowserImpl(render_view, params->browser_id, in MaybeCreateBrowser()
/third_party/cef/libcef/browser/
Dbrowser_info.h37 CefBrowserInfo(int browser_id,
45 int browser_id() const { return browser_id_; } in browser_id() function
Dbrowser_info.cc27 CefBrowserInfo::CefBrowserInfo(int browser_id, in CefBrowserInfo() argument
31 : browser_id_(browser_id), in CefBrowserInfo()
35 DCHECK_GT(browser_id, 0); in CefBrowserInfo()
Dbrowser_host_base.cc128 LOG(WARNING) << "Found browser id " << info->browser_id() in GetBrowserForGlobalId()
589 return browser_id(); in GetIdentifier()
812 int CefBrowserHostBase::browser_id() const { in browser_id() function in CefBrowserHostBase
813 return browser_info_->browser_id(); in browser_id()
Dbrowser_info_manager.cc503 params->browser_id = browser_info->browser_id(); in SendNewBrowserInfoResponse()
516 params->browser_id = -1; in SendNewBrowserInfoResponse()
Dbrowser_host_base.h248 int browser_id() const;
/third_party/cef/libcef/browser/extensions/
Dbrowser_extensions_util.cc79 LOG(WARNING) << "Found browser id " << info->browser_id() in GetOwnerBrowserForGlobalId()
/third_party/cef/libcef/common/mojom/
Dcef.mojom110 int32 browser_id;
/third_party/chromium/patch/
D0003-ohos-1115.patch24546 int browser_id,