| OLD | NEW |
| 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_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 public base::WaitableEventWatcher::Delegate { | 54 public base::WaitableEventWatcher::Delegate { |
| 55 public: | 55 public: |
| 56 explicit RenderProcessHostImpl(content::BrowserContext* browser_context); | 56 explicit RenderProcessHostImpl(content::BrowserContext* browser_context); |
| 57 virtual ~RenderProcessHostImpl(); | 57 virtual ~RenderProcessHostImpl(); |
| 58 | 58 |
| 59 // RenderProcessHost implementation (public portion). | 59 // RenderProcessHost implementation (public portion). |
| 60 virtual void EnableSendQueue() OVERRIDE; | 60 virtual void EnableSendQueue() OVERRIDE; |
| 61 virtual bool Init() OVERRIDE; | 61 virtual bool Init() OVERRIDE; |
| 62 virtual int GetNextRoutingID() OVERRIDE; | 62 virtual int GetNextRoutingID() OVERRIDE; |
| 63 virtual void CancelResourceRequests(int render_widget_id) OVERRIDE; | 63 virtual void CancelResourceRequests(int render_widget_id) OVERRIDE; |
| 64 virtual void SimulateSwapOutACK( | 64 virtual void CrossSiteSwapOutACK(const ViewMsg_SwapOut_Params& params) |
| 65 const ViewMsg_SwapOut_Params& params) OVERRIDE; | 65 OVERRIDE; |
| 66 virtual bool WaitForBackingStoreMsg(int render_widget_id, | 66 virtual bool WaitForBackingStoreMsg(int render_widget_id, |
| 67 const base::TimeDelta& max_delay, | 67 const base::TimeDelta& max_delay, |
| 68 IPC::Message* msg) OVERRIDE; | 68 IPC::Message* msg) OVERRIDE; |
| 69 virtual void ReceivedBadMessage() OVERRIDE; | 69 virtual void ReceivedBadMessage() OVERRIDE; |
| 70 virtual void WidgetRestored() OVERRIDE; | 70 virtual void WidgetRestored() OVERRIDE; |
| 71 virtual void WidgetHidden() OVERRIDE; | 71 virtual void WidgetHidden() OVERRIDE; |
| 72 virtual int VisibleWidgetCount() const OVERRIDE; | 72 virtual int VisibleWidgetCount() const OVERRIDE; |
| 73 virtual bool FastShutdownIfPossible() OVERRIDE; | 73 virtual bool FastShutdownIfPossible() OVERRIDE; |
| 74 virtual void DumpHandles() OVERRIDE; | 74 virtual void DumpHandles() OVERRIDE; |
| 75 virtual base::ProcessHandle GetHandle() OVERRIDE; | 75 virtual base::ProcessHandle GetHandle() OVERRIDE; |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 // filtering for this at the render widget level. | 261 // filtering for this at the render widget level. |
| 262 bool ignore_input_events_; | 262 bool ignore_input_events_; |
| 263 | 263 |
| 264 // Records the last time we regarded the child process active. | 264 // Records the last time we regarded the child process active. |
| 265 base::TimeTicks child_process_activity_time_; | 265 base::TimeTicks child_process_activity_time_; |
| 266 | 266 |
| 267 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 267 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 268 }; | 268 }; |
| 269 | 269 |
| 270 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 270 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |