diff options
Diffstat (limited to 'webkit/tools/test_shell/test_shell.cc')
| -rwxr-xr-x | webkit/tools/test_shell/test_shell.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc index df8b087..6ce2509 100755 --- a/webkit/tools/test_shell/test_shell.cc +++ b/webkit/tools/test_shell/test_shell.cc @@ -574,9 +574,11 @@ void AppendToLog(const char* file, int line, const char* msg) { logging::LogMessage(file, line).stream() << msg; } +#if !defined(LINUX2) bool GetApplicationDirectory(std::wstring *path) { return PathService::Get(base::DIR_EXE, path); } +#endif GURL GetInspectorURL() { return GURL("test-shell-resource://inspector/inspector.html"); @@ -586,9 +588,11 @@ std::string GetUIResourceProtocol() { return "test-shell-resource"; } +#if !defined(LINUX2) bool GetExeDirectory(std::wstring *path) { return PathService::Get(base::DIR_EXE, path); } +#endif bool SpellCheckWord(const wchar_t* word, int word_len, int* misspelling_start, int* misspelling_len) { @@ -598,14 +602,17 @@ bool SpellCheckWord(const wchar_t* word, int word_len, return true; } +#if !defined(LINUX2) bool IsPluginRunningInRendererProcess() { return true; } +#endif bool GetPluginFinderURL(std::string* plugin_finder_url) { return false; } +#if !defined(LINUX2) bool IsDefaultPluginEnabled() { return false; } @@ -613,5 +620,6 @@ bool IsDefaultPluginEnabled() { std::wstring GetWebKitLocale() { return L"en-US"; } +#endif } // namespace webkit_glue |
