Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(745)

Side by Side Diff: webkit/glue/webkit_glue.h

Issue 6006006: Show OOM notification bar in all tabs sharing same render process (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Send reply to the sync message on the IO thread Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698