| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-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 #include "webkit/glue/webkit_glue.h" | 6 #include "webkit/glue/webkit_glue.h" |
| 7 | 7 |
| 8 #if defined(OS_WIN) | 8 #if defined(OS_WIN) |
| 9 #include <objidl.h> | 9 #include <objidl.h> |
| 10 #include <mlang.h> | 10 #include <mlang.h> |
| (...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 #else | 472 #else |
| 473 NOTIMPLEMENTED(); | 473 NOTIMPLEMENTED(); |
| 474 return NULL; | 474 return NULL; |
| 475 #endif | 475 #endif |
| 476 } | 476 } |
| 477 | 477 |
| 478 int GetGlyphPageCount() { | 478 int GetGlyphPageCount() { |
| 479 return WebCore::GlyphPageTreeNode::treeGlyphPageCount(); | 479 return WebCore::GlyphPageTreeNode::treeGlyphPageCount(); |
| 480 } | 480 } |
| 481 | 481 |
| 482 bool g_enable_media_cache = false; |
| 483 |
| 484 bool IsMediaCacheEnabled() { |
| 485 return g_enable_media_cache; |
| 486 } |
| 487 |
| 488 void SetMediaCacheEnabled() { |
| 489 g_enable_media_cache = true; |
| 490 } |
| 491 |
| 482 } // namespace webkit_glue | 492 } // namespace webkit_glue |
| OLD | NEW |