| 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 // This file provides the embedder's side of random webkit glue functions. | 5 // This file provides the embedder's side of random webkit glue functions. |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 | 8 |
| 9 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
| 10 #include <windows.h> | 10 #include <windows.h> |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 face, bold, italic, charset); | 312 face, bold, italic, charset); |
| 313 } | 313 } |
| 314 | 314 |
| 315 bool GetFontTable(int fd, uint32_t table, uint8_t* output, | 315 bool GetFontTable(int fd, uint32_t table, uint8_t* output, |
| 316 size_t* output_length) { | 316 size_t* output_length) { |
| 317 return renderer_sandbox_support::GetFontTable( | 317 return renderer_sandbox_support::GetFontTable( |
| 318 fd, table, output, output_length); | 318 fd, table, output, output_length); |
| 319 } | 319 } |
| 320 #endif | 320 #endif |
| 321 | 321 |
| 322 void NotifyJSOutOfMemory() { |
| 323 RenderThread::current()->Send(new ViewHostMsg_RenderProcessOutOfJSMemory()); |
| 324 } |
| 325 |
| 322 } // namespace webkit_glue | 326 } // namespace webkit_glue |
| OLD | NEW |