| 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 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // Whether this process is associated with an installed app. | 56 // Whether this process is associated with an installed app. |
| 57 const Extension* installed_app() const { return installed_app_; } | 57 const Extension* installed_app() const { return installed_app_; } |
| 58 void set_installed_app(const Extension* installed_app) { | 58 void set_installed_app(const Extension* installed_app) { |
| 59 installed_app_ = installed_app; | 59 installed_app_ = installed_app; |
| 60 } | 60 } |
| 61 | 61 |
| 62 // RenderProcessHost implementation (public portion). | 62 // RenderProcessHost implementation (public portion). |
| 63 virtual bool Init(bool is_accessibility_enabled, bool is_extensions_process); | 63 virtual bool Init(bool is_accessibility_enabled, bool is_extensions_process); |
| 64 virtual int GetNextRoutingID(); | 64 virtual int GetNextRoutingID(); |
| 65 virtual void CancelResourceRequests(int render_widget_id); | 65 virtual void CancelResourceRequests(int render_widget_id); |
| 66 virtual void CrossSiteClosePageACK(const ViewMsg_ClosePage_Params& params); | 66 virtual void CrossSiteSwapOutACK(const ViewMsg_SwapOut_Params& params); |
| 67 virtual bool WaitForUpdateMsg(int render_widget_id, | 67 virtual bool WaitForUpdateMsg(int render_widget_id, |
| 68 const base::TimeDelta& max_delay, | 68 const base::TimeDelta& max_delay, |
| 69 IPC::Message* msg); | 69 IPC::Message* msg); |
| 70 virtual void ReceivedBadMessage(); | 70 virtual void ReceivedBadMessage(); |
| 71 virtual void WidgetRestored(); | 71 virtual void WidgetRestored(); |
| 72 virtual void WidgetHidden(); | 72 virtual void WidgetHidden(); |
| 73 virtual void ViewCreated(); | 73 virtual void ViewCreated(); |
| 74 virtual void SendVisitedLinkTable(base::SharedMemory* table_memory); | 74 virtual void SendVisitedLinkTable(base::SharedMemory* table_memory); |
| 75 virtual void AddVisitedLinks(const VisitedLinkCommon::Fingerprints& links); | 75 virtual void AddVisitedLinks(const VisitedLinkCommon::Fingerprints& links); |
| 76 virtual void ResetVisitedLinks(); | 76 virtual void ResetVisitedLinks(); |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 // messages that are sent once the process handle is available. This is | 217 // messages that are sent once the process handle is available. This is |
| 218 // because the queued messages may have dependencies on the init messages. | 218 // because the queued messages may have dependencies on the init messages. |
| 219 std::queue<IPC::Message*> queued_messages_; | 219 std::queue<IPC::Message*> queued_messages_; |
| 220 | 220 |
| 221 base::ScopedCallbackFactory<BrowserRenderProcessHost> callback_factory_; | 221 base::ScopedCallbackFactory<BrowserRenderProcessHost> callback_factory_; |
| 222 | 222 |
| 223 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost); | 223 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost); |
| 224 }; | 224 }; |
| 225 | 225 |
| 226 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ | 226 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ |
| OLD | NEW |