OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "webkit/support/test_webkit_client.h" | 5 #include "webkit/support/test_webkit_client.h" |
6 | 6 |
| 7 #include "app/gfx/gl/gl_bindings_skia.h" |
7 #include "base/file_util.h" | 8 #include "base/file_util.h" |
8 #include "base/path_service.h" | 9 #include "base/path_service.h" |
9 #include "base/scoped_temp_dir.h" | 10 #include "base/scoped_temp_dir.h" |
10 #include "base/metrics/stats_counters.h" | 11 #include "base/metrics/stats_counters.h" |
11 #include "base/string_util.h" | 12 #include "base/string_util.h" |
12 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
13 #include "net/base/cookie_monster.h" | 14 #include "net/base/cookie_monster.h" |
14 #include "net/http/http_cache.h" | 15 #include "net/http/http_cache.h" |
15 #include "net/test/test_server.h" | 16 #include "net/test/test_server.h" |
16 #include "media/base/media.h" | 17 #include "media/base/media.h" |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 WebKit::WebThemeEngine* TestWebKitClient::themeEngine() { | 346 WebKit::WebThemeEngine* TestWebKitClient::themeEngine() { |
346 return active_theme_engine_; | 347 return active_theme_engine_; |
347 } | 348 } |
348 #endif | 349 #endif |
349 | 350 |
350 WebKit::WebSharedWorkerRepository* TestWebKitClient::sharedWorkerRepository() { | 351 WebKit::WebSharedWorkerRepository* TestWebKitClient::sharedWorkerRepository() { |
351 return NULL; | 352 return NULL; |
352 } | 353 } |
353 | 354 |
354 WebKit::WebGraphicsContext3D* TestWebKitClient::createGraphicsContext3D() { | 355 WebKit::WebGraphicsContext3D* TestWebKitClient::createGraphicsContext3D() { |
| 356 gfx::BindSkiaToHostGL(); |
355 return new webkit::gpu::WebGraphicsContext3DInProcessImpl(); | 357 return new webkit::gpu::WebGraphicsContext3DInProcessImpl(); |
356 } | 358 } |
OLD | NEW |