OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <queue> | 10 #include <queue> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 public ChildProcessLauncher::Client, | 47 public ChildProcessLauncher::Client, |
48 public base::WaitableEventWatcher::Delegate { | 48 public base::WaitableEventWatcher::Delegate { |
49 public: | 49 public: |
50 explicit BrowserRenderProcessHost(content::BrowserContext* browser_context); | 50 explicit BrowserRenderProcessHost(content::BrowserContext* browser_context); |
51 virtual ~BrowserRenderProcessHost(); | 51 virtual ~BrowserRenderProcessHost(); |
52 | 52 |
53 // RenderProcessHost implementation (public portion). | 53 // RenderProcessHost implementation (public portion). |
54 virtual void EnableSendQueue(); | 54 virtual void EnableSendQueue(); |
55 virtual bool Init(bool is_accessibility_enabled); | 55 virtual bool Init(bool is_accessibility_enabled); |
56 virtual int GetNextRoutingID(); | 56 virtual int GetNextRoutingID(); |
| 57 virtual void UpdateAndSendMaxPageID(int32 page_id); |
57 virtual void CancelResourceRequests(int render_widget_id); | 58 virtual void CancelResourceRequests(int render_widget_id); |
58 virtual void CrossSiteSwapOutACK(const ViewMsg_SwapOut_Params& params); | 59 virtual void CrossSiteSwapOutACK(const ViewMsg_SwapOut_Params& params); |
59 virtual bool WaitForUpdateMsg(int render_widget_id, | 60 virtual bool WaitForUpdateMsg(int render_widget_id, |
60 const base::TimeDelta& max_delay, | 61 const base::TimeDelta& max_delay, |
61 IPC::Message* msg); | 62 IPC::Message* msg); |
62 virtual void ReceivedBadMessage(); | 63 virtual void ReceivedBadMessage(); |
63 virtual void WidgetRestored(); | 64 virtual void WidgetRestored(); |
64 virtual void WidgetHidden(); | 65 virtual void WidgetHidden(); |
65 virtual int VisibleWidgetCount() const; | 66 virtual int VisibleWidgetCount() const; |
66 virtual bool FastShutdownIfPossible(); | 67 virtual bool FastShutdownIfPossible(); |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 167 |
167 #if defined(OS_WIN) | 168 #if defined(OS_WIN) |
168 // Used to wait until the renderer dies to get an accurrate exit code. | 169 // Used to wait until the renderer dies to get an accurrate exit code. |
169 base::WaitableEventWatcher child_process_watcher_; | 170 base::WaitableEventWatcher child_process_watcher_; |
170 #endif | 171 #endif |
171 | 172 |
172 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost); | 173 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost); |
173 }; | 174 }; |
174 | 175 |
175 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ | 176 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ |
OLD | NEW |