Searched refs:MainContext (Results 1 – 20 of 20) sorted by relevance
13 MainContext* g_main_context = nullptr;18 MainContext* MainContext::Get() { in Get()23 MainContext::MainContext() { in MainContext() function in client::MainContext28 MainContext::~MainContext() { in ~MainContext()
22 class MainContext {25 static MainContext* Get();63 MainContext();64 virtual ~MainContext();67 DISALLOW_COPY_AND_ASSIGN(MainContext);
36 if (MainContext::Get() in OnRequestContextInitialized()64 MainContext::Get()->GetRootWindowManager()->AddExtension(extension); in OnExtensionLoaded()74 MainContext::Get()->GetRootWindowManager()->GetActiveBrowser(); in GetActiveBrowser()112 MainContext::Get()->PopulateBrowserSettings(&settings); in CreateRootWindow()115 RootWindow::Create(MainContext::Get()->UseViews()); in CreateRootWindow()138 MainContext::Get()->PopulateBrowserSettings(&settings); in CreateRootWindowAsPopup()141 RootWindow::Create(MainContext::Get()->UseViews()); in CreateRootWindowAsPopup()
20 url(MainContext::Get()->GetMainURL()) {} in RootWindowConfig()28 return MainContext::Get()->GetRootWindowManager()->GetWindowForBrowser( in GetForBrowser()
253 console_log_file_(MainContext::Get()->GetConsoleLogPath()), in ClientHandler()324 const bool use_chrome_runtime = MainContext::Get()->UseChromeRuntime(); in OnBeforeContextMenu()498 callback->Continue(MainContext::Get()->GetDownloadPath(suggested_name), true); in OnBeforeDownload()726 MainContext::Get()->GetRootWindowManager()->CreateRootWindow( in OnOpenURLFromTab()953 MainContext::Get()->PopulateBrowserSettings(&settings); in ShowDevTools()1028 MainContext::Get()->GetRootWindowManager()->CreateRootWindow( in ShowSSLInformation()1053 MainContext::Get()->GetRootWindowManager()->CreateRootWindowAsPopup( in CreatePopupWindow()
47 if (client::MainContext::Get()->TouchEventsEnabled()) in OnBeforeCommandLineProcessing()
158 MainContext::Get()->GetRootWindowManager()->CreateRootWindow( in RunNewWindowTest()259 MainContext::Get()->PopulateBrowserSettings(&settings); in SetFPS()346 std::string path = MainContext::Get()->GetDownloadPath(kDefaultFileName); in EndTracing()402 std::string path = MainContext::Get()->GetDownloadPath(kDefaultFileName); in PrintToPDF()849 browser = MainContext::Get()->GetRootWindowManager()->GetActiveBrowser(); in Alert()
20 class MainContextImpl : public MainContext {
28 g_background_color = MainContext::Get()->GetBackgroundColor(); in MaybeInitialize()
44 if (MainContext::Get()->UseViews()) in CreateWindowTestRunner()
276 MainContext::Get()->PopulateOsrSettings(&settings); in CreateBrowserWindow()323 const cef_color_t background_color = MainContext::Get()->GetBackgroundColor(); in CreateRootWindow()
282 const cef_color_t background_color = MainContext::Get()->GetBackgroundColor(); in Create()321 if (client::MainContext::Get()->TouchEventsEnabled()) in Create()
310 MainContext::Get()->PopulateOsrSettings(&settings); in CreateBrowserWindow()328 const cef_color_t background_color = MainContext::Get()->GetBackgroundColor(); in CreateRootWindow()
358 MainContext::Get()->PopulateOsrSettings(&settings);416 const cef_color_t background_color = MainContext::Get()->GetBackgroundColor();
784 if (MainContext::Get()->UseChromeRuntime()) { in ViewsWindow()
303 if (client::MainContext::Get()->TouchEventsEnabled())755 client::MainContext::Get()->GetBackgroundColor();
39 .async_context type="GLib.MainContext"41 .async_context type="GLib.MainContext"46 .async_context type="GLib.MainContext"
9 public GLibMainLoop(MainContext? c = null);
50 MainContext::Get()->GetRootWindowManager()->CloseAllWindows(true); in TerminationSignalHandler()
227 client::MainContext::Get()->GetRootWindowManager()->CreateRootWindow(232 client::MainContext::Get()->GetRootWindowManager()->CloseAllWindows(false);