| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
| 8 #include "base/gfx/native_widget_types.h" | 8 #include "base/gfx/native_widget_types.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 virtual WebKit::WebString defaultLocale() { | 84 virtual WebKit::WebString defaultLocale() { |
| 85 NOTREACHED(); | 85 NOTREACHED(); |
| 86 return WebKit::WebString(); | 86 return WebKit::WebString(); |
| 87 } | 87 } |
| 88 | 88 |
| 89 virtual void callOnMainThread(void (*func)()) { | 89 virtual void callOnMainThread(void (*func)()) { |
| 90 helper_->DispatchToMainThread(func); | 90 helper_->DispatchToMainThread(func); |
| 91 } | 91 } |
| 92 | 92 |
| 93 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( |
| 94 const WebKit::WebString& path) { |
| 95 NOTREACHED(); |
| 96 return 0; |
| 97 } |
| 98 |
| 99 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace() { |
| 100 NOTREACHED(); |
| 101 return 0; |
| 102 } |
| 103 |
| 93 private: | 104 private: |
| 94 TestWebWorkerHelper* helper_; | 105 TestWebWorkerHelper* helper_; |
| 95 }; | 106 }; |
| 96 | 107 |
| 97 // WebKit client used in DLL. | 108 // WebKit client used in DLL. |
| 98 static scoped_ptr<WorkerWebKitClientImpl> webkit_client; | 109 static scoped_ptr<WorkerWebKitClientImpl> webkit_client; |
| 99 | 110 |
| 100 #if defined(COMPILER_GCC) | 111 #if defined(COMPILER_GCC) |
| 101 #pragma GCC visibility push(default) | 112 #pragma GCC visibility push(default) |
| 102 #endif | 113 #endif |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 bool DownloadUrl(const std::string& url, HWND caller_window) { | 234 bool DownloadUrl(const std::string& url, HWND caller_window) { |
| 224 return false; | 235 return false; |
| 225 } | 236 } |
| 226 #endif | 237 #endif |
| 227 | 238 |
| 228 } // namespace webkit_glue | 239 } // namespace webkit_glue |
| 229 | 240 |
| 230 #if defined(COMPILER_GCC) | 241 #if defined(COMPILER_GCC) |
| 231 #pragma GCC visibility pop | 242 #pragma GCC visibility pop |
| 232 #endif | 243 #endif |
| OLD | NEW |