Home
last modified time | relevance | path

Searched refs:TestWindowDelegate (Results 1 – 7 of 7) sorted by relevance

/third_party/cef/tests/ceftests/views/
Dtest_window_delegate.cc26 const int TestWindowDelegate::kWSize = 400;
29 void TestWindowDelegate::RunTest(CefRefPtr<CefWaitableEvent> event, in RunTest()
45 new TestWindowDelegate(event, std::move(config), window_size)); in RunTest()
48 void TestWindowDelegate::OnWindowCreated(CefRefPtr<CefWindow> window) { in OnWindowCreated()
111 base::BindOnce(&TestWindowDelegate::OnCloseWindow, this)); in OnWindowCreated()
117 base::BindOnce(&TestWindowDelegate::OnTimeoutWindow, in OnWindowCreated()
123 void TestWindowDelegate::OnWindowDestroyed(CefRefPtr<CefWindow> window) { in OnWindowDestroyed()
141 bool TestWindowDelegate::IsFrameless(CefRefPtr<CefWindow> window) { in IsFrameless()
145 CefRect TestWindowDelegate::GetInitialBounds(CefRefPtr<CefWindow> window) { in GetInitialBounds()
156 CefSize TestWindowDelegate::GetPreferredSize(CefRefPtr<CefView> view) { in GetPreferredSize()
[all …]
Dwindow_unittest.cc26 const int kWSize = TestWindowDelegate::kWSize;
40 auto config = std::make_unique<TestWindowDelegate::Config>(); in WindowCreateImpl()
41 TestWindowDelegate::RunTest(event, std::move(config)); in WindowCreateImpl()
45 auto config = std::make_unique<TestWindowDelegate::Config>(); in WindowCreateFramelessImpl()
47 TestWindowDelegate::RunTest(event, std::move(config)); in WindowCreateFramelessImpl()
59 auto config = std::make_unique<TestWindowDelegate::Config>(); in WindowCreateWithOriginImpl()
62 TestWindowDelegate::RunTest(event, std::move(config)); in WindowCreateWithOriginImpl()
73 auto config = std::make_unique<TestWindowDelegate::Config>(); in WindowShowHideImpl()
75 TestWindowDelegate::RunTest(event, std::move(config)); in WindowShowHideImpl()
79 auto config = std::make_unique<TestWindowDelegate::Config>(); in WindowShowHideFramelessImpl()
[all …]
Dtest_window_delegate.h13 class TestWindowDelegate : public CefWindowDelegate {
59 TestWindowDelegate(CefRefPtr<CefWaitableEvent> event,
62 ~TestWindowDelegate() override;
77 base::WeakPtrFactory<TestWindowDelegate> weak_ptr_factory_;
79 IMPLEMENT_REFCOUNTING(TestWindowDelegate);
80 DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate);
Dtextfield_unittest.cc116 auto config = std::make_unique<TestWindowDelegate::Config>(); in TextfieldContentsImpl()
118 TestWindowDelegate::RunTest(event, std::move(config)); in TextfieldContentsImpl()
180 auto config = std::make_unique<TestWindowDelegate::Config>(); in TextfieldStyleImpl()
182 TestWindowDelegate::RunTest(event, std::move(config)); in TextfieldStyleImpl()
301 auto config = std::make_unique<TestWindowDelegate::Config>(); in TextfieldKeyEventImpl()
304 TestWindowDelegate::RunTest(event, std::move(config)); in TextfieldKeyEventImpl()
Dbutton_unittest.cc131 auto config = std::make_unique<TestWindowDelegate::Config>(); in LabelButtonStyleImpl()
133 TestWindowDelegate::RunTest(event, std::move(config)); in LabelButtonStyleImpl()
149 auto config = std::make_unique<TestWindowDelegate::Config>(); in MenuButtonStyleImpl()
151 TestWindowDelegate::RunTest(event, std::move(config)); in MenuButtonStyleImpl()
244 auto config = std::make_unique<TestWindowDelegate::Config>(); in LabelButtonClick()
249 TestWindowDelegate::RunTest(event, std::move(config)); in LabelButtonClick()
480 auto config = std::make_unique<TestWindowDelegate::Config>(); in MenuButtonClick()
485 TestWindowDelegate::RunTest(event, std::move(config)); in MenuButtonClick()
639 auto config = std::make_unique<TestWindowDelegate::Config>(); in MenuButtonCustomPopupClick()
643 TestWindowDelegate::RunTest(event, std::move(config)); in MenuButtonCustomPopupClick()
Dscroll_view_unittest.cc24 const int kContentPanelSize = TestWindowDelegate::kWSize + 200;
135 auto config = std::make_unique<TestWindowDelegate::Config>(); in ScrollViewLayout()
138 TestWindowDelegate::RunTest(event, std::move(config)); in ScrollViewLayout()
/third_party/cef/tests/ceftests/
Dtest_handler.cc22 class TestWindowDelegate : public CefWindowDelegate { class
28 new TestWindowDelegate(browser_view, "CefUnitTestViews " + title)); in CreateBrowserWindow()
54 TestWindowDelegate(CefRefPtr<CefBrowserView> browser_view, in TestWindowDelegate() function in __anonf18dc1c30111::TestWindowDelegate
61 IMPLEMENT_REFCOUNTING(TestWindowDelegate);
62 DISALLOW_COPY_AND_ASSIGN(TestWindowDelegate);
76 TestWindowDelegate::CreateBrowserWindow(popup_browser_view, in OnPopupBrowserViewCreated()
371 TestWindowDelegate::CreateBrowserWindow(browser_view, std::string()); in CreateBrowser()