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

Side by Side Diff: chrome/renderer/renderer_glue.cc

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 // 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698