cefclient: Replace global App* functions with singleton MainContext instance (issue #1500).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1985 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2015-01-22 23:11:30 +00:00
parent af0635bb34
commit b9dd027411
17 changed files with 329 additions and 320 deletions

View File

@@ -8,25 +8,6 @@
// a qualified path.
#include "client_app.h" // NOLINT(build/include)
// Stub implementations.
std::string AppGetWorkingDirectory() {
return std::string();
}
std::string AppGetConsoleLogPath() {
return std::string();
}
std::string AppGetDownloadPath(const std::string& file_name) {
return std::string();
}
CefWindowHandle AppGetMainWindowHandle() {
return NULL;
}
void AppQuitMessageLoop() {
}
bool AppIsOffScreenRenderingEnabled() {
return false;
}
// Process entry point.
int main(int argc, char* argv[]) {
CefMainArgs main_args(argc, argv);