| 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 #ifndef WEBKIT_GLUE_WEBKIT_GLUE_H_ | 5 #ifndef WEBKIT_GLUE_WEBKIT_GLUE_H_ |
| 6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ | 6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 // table: the table in *big-endian* format, or 0 for the whole font file. | 301 // table: the table in *big-endian* format, or 0 for the whole font file. |
| 302 // output: a buffer of size output_length that gets the data. can be 0, in | 302 // output: a buffer of size output_length that gets the data. can be 0, in |
| 303 // which case output_length will be set to the required size in bytes. | 303 // which case output_length will be set to the required size in bytes. |
| 304 // output_length: size of output, if it's not 0. | 304 // output_length: size of output, if it's not 0. |
| 305 // | 305 // |
| 306 // returns: true on success. | 306 // returns: true on success. |
| 307 bool GetFontTable(int fd, uint32_t table, uint8_t* output, | 307 bool GetFontTable(int fd, uint32_t table, uint8_t* output, |
| 308 size_t* output_length); | 308 size_t* output_length); |
| 309 #endif | 309 #endif |
| 310 | 310 |
| 311 // Notify browser process that the renderer exhauseted all JavaScript memory |
| 312 // and is going to crash. |
| 313 void NotifyJSOutOfMemory(); |
| 314 |
| 311 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- | 315 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- |
| 312 | 316 |
| 313 | 317 |
| 314 } // namespace webkit_glue | 318 } // namespace webkit_glue |
| 315 | 319 |
| 316 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ | 320 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ |
| OLD | NEW |