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

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: code cleanup Created 10 years 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 // Control message handlers. 112 // Control message handlers.
113 void OnUpdatedCacheStats(const WebKit::WebCache::UsageStats& stats); 113 void OnUpdatedCacheStats(const WebKit::WebCache::UsageStats& stats);
114 void SuddenTerminationChanged(bool enabled); 114 void SuddenTerminationChanged(bool enabled);
115 void OnExtensionAddListener(const std::string& extension_id, 115 void OnExtensionAddListener(const std::string& extension_id,
116 const std::string& event_name); 116 const std::string& event_name);
117 void OnExtensionRemoveListener(const std::string& extension_id, 117 void OnExtensionRemoveListener(const std::string& extension_id,
118 const std::string& event_name); 118 const std::string& event_name);
119 void OnExtensionCloseChannel(int port_id); 119 void OnExtensionCloseChannel(int port_id);
120 void OnUserMetricsRecordAction(const std::string& action); 120 void OnUserMetricsRecordAction(const std::string& action);
121 void OnRenderProcessOutOfJSMemory(IPC::Message* reply_msg);
121 122
122 // Initialize support for visited links. Send the renderer process its initial 123 // Initialize support for visited links. Send the renderer process its initial
123 // set of visited links. 124 // set of visited links.
124 void InitVisitedLinks(); 125 void InitVisitedLinks();
125 126
126 // Initialize support for user scripts. Send the renderer process its initial 127 // Initialize support for user scripts. Send the renderer process its initial
127 // set of scripts and listen for updates to scripts. 128 // set of scripts and listen for updates to scripts.
128 void InitUserScripts(); 129 void InitUserScripts();
129 130
130 // Initialize support for extension APIs. Send the list of registered API 131 // Initialize support for extension APIs. Send the list of registered API
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // messages that are sent once the process handle is available. This is 231 // messages that are sent once the process handle is available. This is
231 // because the queued messages may have dependencies on the init messages. 232 // because the queued messages may have dependencies on the init messages.
232 std::queue<IPC::Message*> queued_messages_; 233 std::queue<IPC::Message*> queued_messages_;
233 234
234 base::ScopedCallbackFactory<BrowserRenderProcessHost> callback_factory_; 235 base::ScopedCallbackFactory<BrowserRenderProcessHost> callback_factory_;
235 236
236 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost); 237 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost);
237 }; 238 };
238 239
239 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 240 #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/browser/tab_contents/tab_contents.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698