diff --git a/Atom-Linux/cefclient.cpp b/Atom-Linux/cefclient.cpp index a71c5c547..5ccf4d77d 100644 --- a/Atom-Linux/cefclient.cpp +++ b/Atom-Linux/cefclient.cpp @@ -73,17 +73,6 @@ CefWindowHandle AppGetMainHwnd() { return g_handler->GetMainHwnd(); } -void AppInitCommandLine(int argc, const char* const * argv) { - g_command_line = CefCommandLine::CreateCommandLine(); - g_command_line->InitFromArgv(argc, argv); -} - -// Returns the application command line object. -CefRefPtr AppGetCommandLine() { - return g_command_line; -} - -// Returns the application settings based on command line arguments. void AppGetSettings(CefSettings& settings, CefRefPtr& app) { CefString(&settings.cache_path) = ""; CefString(&settings.user_agent) = ""; diff --git a/Atom-Linux/cefclient.h b/Atom-Linux/cefclient.h index 1efc318dc..756d65caa 100644 --- a/Atom-Linux/cefclient.h +++ b/Atom-Linux/cefclient.h @@ -28,16 +28,7 @@ std::string AppPath(); // Returns the initial path to open. std::string PathToOpen(); -// Initialize the application command line. -void AppInitCommandLine(int argc, const char* const * argv); - -// Returns the application command line object. -CefRefPtr AppGetCommandLine(); - -// Returns the application settings based on command line arguments. +// Returns the application settings void AppGetSettings(CefSettings& settings, CefRefPtr& app); -// Returns the application browser settings based on command line arguments. -void AppGetBrowserSettings(CefBrowserSettings& settings); - #endif // CEF_TESTS_CEFCLIENT_CEFCLIENT_H_