mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Remove unused methods
This commit is contained in:
@@ -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<CefCommandLine> AppGetCommandLine() {
|
||||
return g_command_line;
|
||||
}
|
||||
|
||||
// Returns the application settings based on command line arguments.
|
||||
void AppGetSettings(CefSettings& settings, CefRefPtr<CefApp>& app) {
|
||||
CefString(&settings.cache_path) = "";
|
||||
CefString(&settings.user_agent) = "";
|
||||
|
||||
@@ -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<CefCommandLine> AppGetCommandLine();
|
||||
|
||||
// Returns the application settings based on command line arguments.
|
||||
// Returns the application settings
|
||||
void AppGetSettings(CefSettings& settings, CefRefPtr<CefApp>& app);
|
||||
|
||||
// Returns the application browser settings based on command line arguments.
|
||||
void AppGetBrowserSettings(CefBrowserSettings& settings);
|
||||
|
||||
#endif // CEF_TESTS_CEFCLIENT_CEFCLIENT_H_
|
||||
|
||||
Reference in New Issue
Block a user