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

Side by Side Diff: chrome/browser/renderer_host/browser_render_process_host.h

Issue 506013: Combine ViewHostMsg_{Paint,Scroll}Rect into one IPC.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <map> 10 #include <map>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 public: 56 public:
57 explicit BrowserRenderProcessHost(Profile* profile); 57 explicit BrowserRenderProcessHost(Profile* profile);
58 ~BrowserRenderProcessHost(); 58 ~BrowserRenderProcessHost();
59 59
60 // RenderProcessHost implementation (public portion). 60 // RenderProcessHost implementation (public portion).
61 virtual bool Init(bool is_extensions_process, 61 virtual bool Init(bool is_extensions_process,
62 URLRequestContextGetter* request_context); 62 URLRequestContextGetter* request_context);
63 virtual int GetNextRoutingID(); 63 virtual int GetNextRoutingID();
64 virtual void CancelResourceRequests(int render_widget_id); 64 virtual void CancelResourceRequests(int render_widget_id);
65 virtual void CrossSiteClosePageACK(const ViewMsg_ClosePage_Params& params); 65 virtual void CrossSiteClosePageACK(const ViewMsg_ClosePage_Params& params);
66 virtual bool WaitForPaintMsg(int render_widget_id, 66 virtual bool WaitForUpdateMsg(int render_widget_id,
67 const base::TimeDelta& max_delay, 67 const base::TimeDelta& max_delay,
68 IPC::Message* msg); 68 IPC::Message* msg);
69 virtual void ReceivedBadMessage(uint32 msg_type); 69 virtual void ReceivedBadMessage(uint32 msg_type);
70 virtual void WidgetRestored(); 70 virtual void WidgetRestored();
71 virtual void WidgetHidden(); 71 virtual void WidgetHidden();
72 virtual void ViewCreated(); 72 virtual void ViewCreated();
73 virtual void SendVisitedLinkTable(base::SharedMemory* table_memory); 73 virtual void SendVisitedLinkTable(base::SharedMemory* table_memory);
74 virtual void AddVisitedLinks(const VisitedLinkCommon::Fingerprints& links); 74 virtual void AddVisitedLinks(const VisitedLinkCommon::Fingerprints& links);
75 virtual void ResetVisitedLinks(); 75 virtual void ResetVisitedLinks();
76 virtual bool FastShutdownIfPossible(); 76 virtual bool FastShutdownIfPossible();
77 virtual bool SendWithTimeout(IPC::Message* msg, int timeout_ms); 77 virtual bool SendWithTimeout(IPC::Message* msg, int timeout_ms);
78 virtual base::ProcessHandle GetHandle(); 78 virtual base::ProcessHandle GetHandle();
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 // Messages we queue while waiting for the process handle. We queue them here 205 // Messages we queue while waiting for the process handle. We queue them here
206 // instead of in the channel so that we ensure they're sent after init related 206 // instead of in the channel so that we ensure they're sent after init related
207 // messages that are sent once the process handle is available. This is 207 // messages that are sent once the process handle is available. This is
208 // because the queued messages may have dependencies on the init messages. 208 // because the queued messages may have dependencies on the init messages.
209 std::queue<IPC::Message*> queued_messages_; 209 std::queue<IPC::Message*> queued_messages_;
210 210
211 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost); 211 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost);
212 }; 212 };
213 213
214 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 214 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/backing_store_x.cc ('k') | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698