/third_party/cef/tests/cefclient/browser/ |
D | root_window_views.cc | 91 if (!CefCurrentlyOn(TID_UI)) { in Show() 93 CefPostTask(TID_UI, base::BindOnce(&RootWindowViews::Show, this, mode)); in Show() 115 if (!CefCurrentlyOn(TID_UI)) { in Hide() 117 CefPostTask(TID_UI, base::BindOnce(&RootWindowViews::Hide, this)); in Hide() 126 if (!CefCurrentlyOn(TID_UI)) { in SetBounds() 128 CefPostTask(TID_UI, base::BindOnce(&RootWindowViews::SetBounds, this, x, y, in SetBounds() 140 if (!CefCurrentlyOn(TID_UI)) { in Close() 142 CefPostTask(TID_UI, base::BindOnce(&RootWindowViews::Close, this, force)); in Close() 196 if (!CefCurrentlyOn(TID_UI)) { in OnExtensionsChanged() 198 CefPostTask(TID_UI, base::BindOnce(&RootWindowViews::OnExtensionsChanged, in OnExtensionsChanged() [all …]
|
D | osr_window_win.cc | 125 if (!CefCurrentlyOn(TID_UI)) { in CreateBrowser() 130 CefPostTask(TID_UI, base::BindOnce(CreateBrowserWithHelper, helper)); in CreateBrowser() 159 if (!CefCurrentlyOn(TID_UI)) { in ShowPopup() 161 CefPostTask(TID_UI, base::BindOnce(&OsrWindowWin::ShowPopup, this, in ShowPopup() 185 if (!CefCurrentlyOn(TID_UI)) { in Show() 187 CefPostTask(TID_UI, base::BindOnce(&OsrWindowWin::Show, this)); in Show() 209 if (!CefCurrentlyOn(TID_UI)) { in Hide() 211 CefPostTask(TID_UI, base::BindOnce(&OsrWindowWin::Hide, this)); in Hide() 229 if (!CefCurrentlyOn(TID_UI)) { in SetBounds() 231 CefPostTask(TID_UI, base::BindOnce(&OsrWindowWin::SetBounds, this, x, y, in SetBounds() [all …]
|
D | test_runner.cc | 203 if (!CefCurrentlyOn(TID_UI)) { in ModifyZoom() 205 CefPostTask(TID_UI, base::BindOnce(&ModifyZoom, browser, delta)); in ModifyZoom() 293 if (!CefCurrentlyOn(TID_UI)) { in PromptFPS() 295 CefPostTask(TID_UI, base::BindOnce(&PromptFPS, browser)); in PromptFPS() 322 if (!CefCurrentlyOn(TID_UI)) { in BeginTracing() 324 CefPostTask(TID_UI, base::BindOnce(&BeginTracing)); in BeginTracing() 332 if (!CefCurrentlyOn(TID_UI)) { in EndTracing() 334 CefPostTask(TID_UI, base::BindOnce(&EndTracing, browser)); in EndTracing() 388 if (!CefCurrentlyOn(TID_UI)) { in PrintToPDF() 390 CefPostTask(TID_UI, base::BindOnce(&PrintToPDF, browser)); in PrintToPDF()
|
D | scheme_test.cc | 34 DCHECK(!CefCurrentlyOn(TID_UI) && !CefCurrentlyOn(TID_IO)); in Open() 100 DCHECK(!CefCurrentlyOn(TID_UI) && !CefCurrentlyOn(TID_IO)); in Read()
|
/third_party/cef/tests/ceftests/ |
D | test_server.cc | 305 if (!CefCurrentlyOn(TID_UI)) { in NotifyServerCreated() 306 CefPostTask(TID_UI, base::BindOnce(ServerHandler::NotifyServerCreated, in NotifyServerCreated() 316 if (!CefCurrentlyOn(TID_UI)) { in NotifyServerDestroyed() 317 CefPostTask(TID_UI, base::BindOnce(ServerHandler::NotifyServerDestroyed)); in NotifyServerDestroyed() 326 if (!CefCurrentlyOn(TID_UI)) { in NotifyServerHandlerDeleted() 327 CefPostTask(TID_UI, in NotifyServerHandlerDeleted() 338 if (!CefCurrentlyOn(TID_UI)) { in NotifyClientConnected() 339 CefPostTask(TID_UI, base::BindOnce(ServerHandler::NotifyClientConnected, in NotifyClientConnected() 350 if (!CefCurrentlyOn(TID_UI)) { in NotifyClientDisconnected() 351 CefPostTask(TID_UI, base::BindOnce(ServerHandler::NotifyClientDisconnected, in NotifyClientDisconnected() [all …]
|
D | thread_helper.h | 22 #define WaitForUIThread() WaitForThread(TID_UI) 25 #define WaitForUIThreadWithDelay(delay_ms) WaitForThread(TID_UI, delay_ms) 30 #define EXPECT_UI_THREAD() EXPECT_TRUE(CefCurrentlyOn(TID_UI)); 52 NAMED_THREAD_TEST(TID_UI, test_case_name, test_name) 71 NAMED_THREAD_TEST_ASYNC(TID_UI, test_case_name, test_name)
|
D | test_handler.cc | 149 CefPostTask(TID_UI, in PostTask() 158 TID_UI, in PostDelayedTask() 315 if (!CefCurrentlyOn(TID_UI)) { in DestroyTest() 316 CefPostTask(TID_UI, base::BindOnce(&TestHandler::DestroyTest, this)); in DestroyTest() 353 if (use_views && !CefCurrentlyOn(TID_UI)) { in CreateBrowser() 355 CefPostTask(TID_UI, base::BindOnce(&TestHandler::CreateBrowser, this, url, in CreateBrowser() 431 if (!CefCurrentlyOn(TID_UI)) { in SetTestTimeout() 432 CefPostTask(TID_UI, base::BindOnce(&TestHandler::SetTestTimeout, this, in SetTestTimeout() 456 if (!CefCurrentlyOn(TID_UI)) { in TestComplete() 457 CefPostTask(TID_UI, base::BindOnce(&TestHandler::TestComplete, this)); in TestComplete()
|
D | download_unittest.cc | 44 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Open() 87 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Read() 273 TID_UI, base::BindOnce(&DownloadTestHandler::DestroyTest, this), in OnLoadEnd() 284 if (!CefCurrentlyOn(TID_UI)) { in OnDelayCallback() 285 CefPostTask(TID_UI, base::BindOnce(&DownloadTestHandler::OnDelayCallback, in OnDelayCallback() 324 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnBeforeDownload() 365 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnDownloadUpdated() 432 CefPostTask(TID_UI, in VerifyResultsOnFileThread() 499 TID_UI, in SendClick() 504 TID_UI, in SendClick()
|
D | osr_accessibility_unittest.cc | 103 TID_UI, in OnLoadEnd() 143 TID_UI, in OnAccessibilityTreeChange() 167 TID_UI, in OnAccessibilityTreeChange() 184 TID_UI, in OnAccessibilityTreeChange() 207 CefPostTask(TID_UI, in OnAccessibilityLocationChange() 256 TID_UI, base::BindOnce(&AccessibilityTestHandler::DestroyTest, this), in DisableAccessibility() 382 TID_UI, base::BindOnce(&AccessibilityTestHandler::DestroyTest, this), in TestEnableAccessibilityUpdate()
|
D | cookie_unittest.cc | 40 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnComplete() 58 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnComplete() 78 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnComplete() 110 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in Visit() 606 if (!CefCurrentlyOn(TID_UI)) { in LoadNextURL() 607 CefPostTask(TID_UI, base::BindOnce(&CookieTestJSHandler::LoadNextURL, in LoadNextURL() 616 if (!CefCurrentlyOn(TID_UI)) { in CompleteTest() 617 CefPostTask(TID_UI, in CompleteTest() 723 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Open() 771 EXPECT_FALSE(CefCurrentlyOn(TID_UI) || CefCurrentlyOn(TID_IO)); in Read() [all …]
|
D | pdf_viewer_unittest.cc | 135 TID_UI, base::BindOnce(&PdfViewerTestHandler::DestroyTest, this), in OnLoadEnd() 140 TID_UI, in OnLoadEnd() 185 CefPostTask(TID_UI, in OnContextMenuDismissed()
|
D | process_message_unittest.cc | 98 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnLoadEnd() 114 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnProcessMessageReceived() 160 CefRefPtr<SendRecvTestHandler> handler = new SendRecvTestHandler(TID_UI); in TEST()
|
D | osr_display_unittest.cc | 50 CefPostTask(TID_UI, in OnPaint() 86 TID_UI, base::BindOnce(&DisplayTestHandler::OnNavigate, this), 250); in OnQuery() 129 CefPostTask(TID_UI, base::BindOnce(&DisplayTestHandler::OnStart, this)); in OnStartIfDone() 264 TID_UI, in OnLoadingStateChange()
|
/third_party/cef/tests/shared/browser/ |
D | main_message_loop_std.cc | 23 CefPostTask(TID_UI, task); in PostTask() 27 return CefCurrentlyOn(TID_UI); in RunsTasksOnCurrentThread()
|
D | extension_util.cc | 66 if (!CefCurrentlyOn(TID_UI)) { in RunManifestCallback() 68 CefPostTask(TID_UI, base::BindOnce(std::move(callback), manifest)); in RunManifestCallback() 171 if (!CefCurrentlyOn(TID_UI)) { in LoadExtension() 173 CefPostTask(TID_UI, base::BindOnce(LoadExtension, request_context, in LoadExtension()
|
/third_party/cef/tests/ceftests/extensions/ |
D | background_unittest.cc | 32 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnExtensionLoaded() 55 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnExtensionUnloaded() 78 TID_UI, in OnExtensionUnloaded() 86 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnBeforeBackgroundBrowser() 242 CefPostTask(TID_UI, base::BindOnce( in TriggerDestroyTest()
|
D | view_unittest.cc | 25 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnExtensionLoaded() 43 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnExtensionUnloaded() 65 CefPostTask(TID_UI, in OnExtensionUnloaded() 197 CefPostTask(TID_UI, in TriggerDestroyTest()
|
D | chrome_alarms_unittest.cc | 31 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnExtensionLoaded() 50 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnExtensionUnloaded() 59 CefPostTask(TID_UI, base::BindOnce(&AlarmsTestHandler::DestroyTest, this)); in OnExtensionUnloaded() 170 CefPostTask(TID_UI, base::BindOnce(&AlarmsTestHandler::UnloadExtension, in TriggerDestroyTest()
|
D | chrome_storage_unittest.cc | 31 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnExtensionLoaded() 50 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnExtensionUnloaded() 59 CefPostTask(TID_UI, base::BindOnce(&StorageTestHandler::DestroyTest, this)); in OnExtensionUnloaded() 170 CefPostTask(TID_UI, base::BindOnce(&StorageTestHandler::UnloadExtension, in TriggerDestroyTest()
|
D | chrome_tabs_unittest.cc | 40 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnExtensionLoaded() 62 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in OnExtensionUnloaded() 71 CefPostTask(TID_UI, base::BindOnce(&TabsTestHandler::DestroyTest, this)); in OnExtensionUnloaded() 77 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in GetActiveBrowser() 93 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in CanAccessBrowser() 275 CefPostTask(TID_UI, base::BindOnce(&TabsTestHandler::UnloadExtension, this, in TriggerDestroyTest() 630 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in GetExtensionResource() 877 EXPECT_TRUE(CefCurrentlyOn(TID_UI)); in GetExtensionResource()
|
/third_party/cef/libcef_dll/wrapper/ |
D | cef_stream_resource_handler.cc | 40 DCHECK(!CefCurrentlyOn(TID_UI) && !CefCurrentlyOn(TID_IO)); in Open() 68 DCHECK(!CefCurrentlyOn(TID_UI) && !CefCurrentlyOn(TID_IO)); in Read()
|
/third_party/cef/tests/ceftests/views/ |
D | window_unittest.cc | 237 CefPostDelayedTask(TID_UI, base::BindOnce(VerifyRestore, window), in VerifyMaximize() 251 CefPostDelayedTask(TID_UI, base::BindOnce(VerifyMaximize, window), in RunWindowMaximize() 281 CefPostDelayedTask(TID_UI, base::BindOnce(VerifyRestore, window), in VerifyMinimize() 295 CefPostDelayedTask(TID_UI, base::BindOnce(VerifyMinimize, window), in RunWindowMinimize() 333 CefPostDelayedTask(TID_UI, base::BindOnce(VerifyFullscreenExit, window), in VerifyFullscreen() 347 CefPostDelayedTask(TID_UI, base::BindOnce(VerifyFullscreen, window), in RunWindowFullscreen() 463 CefPostDelayedTask(TID_UI, base::BindOnce(TriggerAccelerator, window), in RunWindowAccelerator()
|
D | test_window_delegate.cc | 110 CefPostTask(TID_UI, in OnWindowCreated() 116 CefPostDelayedTask(TID_UI, in OnWindowCreated() 186 CefPostTask(TID_UI, base::BindOnce(SignalEvent, event_)); in ~TestWindowDelegate()
|
/third_party/cef/include/wrapper/ |
D | cef_helpers.h | 48 #define CEF_REQUIRE_UI_THREAD() DCHECK(CefCurrentlyOn(TID_UI)); 92 struct CefDeleteOnUIThread : public CefDeleteOnThread<TID_UI> {};
|
/third_party/cef/tests/cefsimple/ |
D | simple_handler.cc | 132 if (!CefCurrentlyOn(TID_UI)) { in CloseAllBrowsers() 134 CefPostTask(TID_UI, base::BindOnce(&SimpleHandler::CloseAllBrowsers, this, in CloseAllBrowsers()
|