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

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

Issue 9980016: Delete background tab IOSurfaces on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed auto-resize and fullscreen toggle Created 8 years, 8 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/port/browser/render_widget_host_view_port.h ('k') | content/renderer/render_widget.cc » ('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.h" 10 #include "base/process.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 // Called on the UI thread to simulate a SwapOut_ACK message to the 73 // Called on the UI thread to simulate a SwapOut_ACK message to the
74 // ResourceDispatcherHost. Necessary for a cross-site request, in the case 74 // ResourceDispatcherHost. Necessary for a cross-site request, in the case
75 // that the original RenderViewHost is not live and thus cannot run an 75 // that the original RenderViewHost is not live and thus cannot run an
76 // unload handler. 76 // unload handler.
77 virtual void SimulateSwapOutACK(const ViewMsg_SwapOut_Params& params) = 0; 77 virtual void SimulateSwapOutACK(const ViewMsg_SwapOut_Params& params) = 0;
78 78
79 // Called to wait for the next UpdateRect message for the specified render 79 // Called to wait for the next UpdateRect message for the specified render
80 // widget. Returns true if successful, and the msg out-param will contain a 80 // widget. Returns true if successful, and the msg out-param will contain a
81 // copy of the received UpdateRect message. 81 // copy of the received UpdateRect message.
82 virtual bool WaitForUpdateMsg(int render_widget_id, 82 virtual bool WaitForBackingStoreMsg(int render_widget_id,
83 const base::TimeDelta& max_delay, 83 const base::TimeDelta& max_delay,
84 IPC::Message* msg) = 0; 84 IPC::Message* msg) = 0;
85 85
86 // Called when a received message cannot be decoded. 86 // Called when a received message cannot be decoded.
87 virtual void ReceivedBadMessage() = 0; 87 virtual void ReceivedBadMessage() = 0;
88 88
89 // Track the count of visible widgets. Called by listeners to register and 89 // Track the count of visible widgets. Called by listeners to register and
90 // unregister visibility. 90 // unregister visibility.
91 virtual void WidgetRestored() = 0; 91 virtual void WidgetRestored() = 0;
92 virtual void WidgetHidden() = 0; 92 virtual void WidgetHidden() = 0;
93 virtual int VisibleWidgetCount() const = 0; 93 virtual int VisibleWidgetCount() const = 0;
94 94
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 static void SetMaxRendererProcessCount(size_t count); 234 static void SetMaxRendererProcessCount(size_t count);
235 235
236 // Returns the current max number of renderer processes used by the content 236 // Returns the current max number of renderer processes used by the content
237 // module. 237 // module.
238 static size_t GetMaxRendererProcessCount(); 238 static size_t GetMaxRendererProcessCount();
239 }; 239 };
240 240
241 } // namespace content. 241 } // namespace content.
242 242
243 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 243 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/port/browser/render_widget_host_view_port.h ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698