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

Side by Side Diff: content/public/browser/render_process_host.h

Issue 10809051: Fix regression of bug 205 where a plugin in a window shown with window.open may not have the correc… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/process.h" 10 #include "base/process.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // depends on when a derived class calls mark_child_process_activity_time(). 187 // depends on when a derived class calls mark_child_process_activity_time().
188 // This is a rough indicator and its resolution should not be better than 188 // This is a rough indicator and its resolution should not be better than
189 // 10 milliseconds. 189 // 10 milliseconds.
190 virtual base::TimeDelta GetChildProcessIdleTime() const = 0; 190 virtual base::TimeDelta GetChildProcessIdleTime() const = 0;
191 191
192 // Signals that a compositing surface has been updated after a lost context 192 // Signals that a compositing surface has been updated after a lost context
193 // event, so that we can process requests from the renderer to create contexts 193 // event, so that we can process requests from the renderer to create contexts
194 // with that surface. 194 // with that surface.
195 virtual void SurfaceUpdated(int32 surface_id) = 0; 195 virtual void SurfaceUpdated(int32 surface_id) = 0;
196 196
197 // Called to resume the requests for a view created through window.open that
198 // were initially blocked.
199 virtual void ResumeRequestsForView(int route_id) = 0;
200
197 // Static management functions ----------------------------------------------- 201 // Static management functions -----------------------------------------------
198 202
199 // Flag to run the renderer in process. This is primarily 203 // Flag to run the renderer in process. This is primarily
200 // for debugging purposes. When running "in process", the 204 // for debugging purposes. When running "in process", the
201 // browser maintains a single RenderProcessHost which communicates 205 // browser maintains a single RenderProcessHost which communicates
202 // to a RenderProcess which is instantiated in the same process 206 // to a RenderProcess which is instantiated in the same process
203 // with the Browser. All IPC between the Browser and the 207 // with the Browser. All IPC between the Browser and the
204 // Renderer is the same, it's just not crossing a process boundary. 208 // Renderer is the same, it's just not crossing a process boundary.
205 209
206 static bool run_renderer_in_process(); 210 static bool run_renderer_in_process();
(...skipping 29 matching lines...) Expand all
236 static void SetMaxRendererProcessCount(size_t count); 240 static void SetMaxRendererProcessCount(size_t count);
237 241
238 // Returns the current max number of renderer processes used by the content 242 // Returns the current max number of renderer processes used by the content
239 // module. 243 // module.
240 static size_t GetMaxRendererProcessCount(); 244 static size_t GetMaxRendererProcessCount();
241 }; 245 };
242 246
243 } // namespace content. 247 } // namespace content.
244 248
245 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 249 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698