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

Side by Side Diff: chrome/browser/renderer_host/browser_render_process_host.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: address comments Created 9 years, 11 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 CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 // Control message handlers. 106 // Control message handlers.
107 void OnUpdatedCacheStats(const WebKit::WebCache::UsageStats& stats); 107 void OnUpdatedCacheStats(const WebKit::WebCache::UsageStats& stats);
108 void SuddenTerminationChanged(bool enabled); 108 void SuddenTerminationChanged(bool enabled);
109 void OnExtensionAddListener(const std::string& extension_id, 109 void OnExtensionAddListener(const std::string& extension_id,
110 const std::string& event_name); 110 const std::string& event_name);
111 void OnExtensionRemoveListener(const std::string& extension_id, 111 void OnExtensionRemoveListener(const std::string& extension_id,
112 const std::string& event_name); 112 const std::string& event_name);
113 void OnExtensionCloseChannel(int port_id); 113 void OnExtensionCloseChannel(int port_id);
114 void OnUserMetricsRecordAction(const std::string& action); 114 void OnUserMetricsRecordAction(const std::string& action);
115 void OnRenderProcessOutOfJSMemory(IPC::Message* reply_msg);
115 116
116 // Initialize support for visited links. Send the renderer process its initial 117 // Initialize support for visited links. Send the renderer process its initial
117 // set of visited links. 118 // set of visited links.
118 void InitVisitedLinks(); 119 void InitVisitedLinks();
119 120
120 // Initialize support for user scripts. Send the renderer process its initial 121 // Initialize support for user scripts. Send the renderer process its initial
121 // set of scripts and listen for updates to scripts. 122 // set of scripts and listen for updates to scripts.
122 void InitUserScripts(); 123 void InitUserScripts();
123 124
124 // Initialize support for extension APIs. Send the list of registered API 125 // Initialize support for extension APIs. Send the list of registered API
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 // messages that are sent once the process handle is available. This is 221 // messages that are sent once the process handle is available. This is
221 // because the queued messages may have dependencies on the init messages. 222 // because the queued messages may have dependencies on the init messages.
222 std::queue<IPC::Message*> queued_messages_; 223 std::queue<IPC::Message*> queued_messages_;
223 224
224 base::ScopedCallbackFactory<BrowserRenderProcessHost> callback_factory_; 225 base::ScopedCallbackFactory<BrowserRenderProcessHost> callback_factory_;
225 226
226 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost); 227 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost);
227 }; 228 };
228 229
229 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 230 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | chrome/common/render_messages_internal.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698