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

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

Issue 111063003: Aura: Don't create GL context for CreateSharedSurfaceHandle() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: try to make tests happy by still creating shared context Created 6 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
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/public/test/mock_render_process_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/kill.h" 10 #include "base/process/kill.h"
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 virtual void SetSuddenTerminationAllowed(bool allowed) = 0; 196 virtual void SetSuddenTerminationAllowed(bool allowed) = 0;
197 // Returns true if the process can be abnormally terminated. 197 // Returns true if the process can be abnormally terminated.
198 virtual bool SuddenTerminationAllowed() const = 0; 198 virtual bool SuddenTerminationAllowed() const = 0;
199 199
200 // Returns how long the child has been idle. The definition of idle 200 // Returns how long the child has been idle. The definition of idle
201 // depends on when a derived class calls mark_child_process_activity_time(). 201 // depends on when a derived class calls mark_child_process_activity_time().
202 // This is a rough indicator and its resolution should not be better than 202 // This is a rough indicator and its resolution should not be better than
203 // 10 milliseconds. 203 // 10 milliseconds.
204 virtual base::TimeDelta GetChildProcessIdleTime() const = 0; 204 virtual base::TimeDelta GetChildProcessIdleTime() const = 0;
205 205
206 // Signals that a compositing surface has been updated after a lost context
207 // event, so that we can process requests from the renderer to create contexts
208 // with that surface.
209 virtual void SurfaceUpdated(int32 surface_id) = 0;
210
211 // Called to resume the requests for a view created through window.open that 206 // Called to resume the requests for a view created through window.open that
212 // were initially blocked. 207 // were initially blocked.
213 virtual void ResumeRequestsForView(int route_id) = 0; 208 virtual void ResumeRequestsForView(int route_id) = 0;
214 209
215 // Checks that the given renderer can request |url|, if not it sets it to 210 // Checks that the given renderer can request |url|, if not it sets it to
216 // about:blank. 211 // about:blank.
217 // |empty_allowed| must be set to false for navigations for security reasons. 212 // |empty_allowed| must be set to false for navigations for security reasons.
218 virtual void FilterURL(bool empty_allowed, GURL* url) = 0; 213 virtual void FilterURL(bool empty_allowed, GURL* url) = 0;
219 214
220 #if defined(ENABLE_WEBRTC) 215 #if defined(ENABLE_WEBRTC)
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 // module. 271 // module.
277 static size_t GetMaxRendererProcessCount(); 272 static size_t GetMaxRendererProcessCount();
278 273
279 static void RegisterRendererMainThreadFactory( 274 static void RegisterRendererMainThreadFactory(
280 RendererMainThreadFactoryFunction create); 275 RendererMainThreadFactoryFunction create);
281 }; 276 };
282 277
283 } // namespace content. 278 } // namespace content.
284 279
285 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 280 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/public/test/mock_render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698