| OLD | NEW |
| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 class BrowserRenderProcessHost : public RenderProcessHost, | 50 class BrowserRenderProcessHost : public RenderProcessHost, |
| 51 public NotificationObserver { | 51 public NotificationObserver { |
| 52 public: | 52 public: |
| 53 explicit BrowserRenderProcessHost(Profile* profile); | 53 explicit BrowserRenderProcessHost(Profile* profile); |
| 54 ~BrowserRenderProcessHost(); | 54 ~BrowserRenderProcessHost(); |
| 55 | 55 |
| 56 // RenderProcessHost implementation (public portion). | 56 // RenderProcessHost implementation (public portion). |
| 57 virtual bool Init(); | 57 virtual bool Init(); |
| 58 virtual int GetNextRoutingID(); | 58 virtual int GetNextRoutingID(); |
| 59 virtual void CancelResourceRequests(int render_widget_id); | 59 virtual void CancelResourceRequests(int render_widget_id); |
| 60 virtual void CrossSiteClosePageACK(int new_render_process_host_id, | 60 virtual void CrossSiteClosePageACK(const ViewMsg_ClosePage_Params& params); |
| 61 int new_request_id); | |
| 62 virtual bool WaitForPaintMsg(int render_widget_id, | 61 virtual bool WaitForPaintMsg(int render_widget_id, |
| 63 const base::TimeDelta& max_delay, | 62 const base::TimeDelta& max_delay, |
| 64 IPC::Message* msg); | 63 IPC::Message* msg); |
| 65 virtual void ReceivedBadMessage(uint16 msg_type); | 64 virtual void ReceivedBadMessage(uint16 msg_type); |
| 66 virtual void WidgetRestored(); | 65 virtual void WidgetRestored(); |
| 67 virtual void WidgetHidden(); | 66 virtual void WidgetHidden(); |
| 68 virtual void AddWord(const std::wstring& word); | 67 virtual void AddWord(const std::wstring& word); |
| 69 virtual void AddVisitedLinks(const VisitedLinkCommon::Fingerprints& links); | 68 virtual void AddVisitedLinks(const VisitedLinkCommon::Fingerprints& links); |
| 70 virtual void ResetVisitedLinks(); | 69 virtual void ResetVisitedLinks(); |
| 71 virtual bool FastShutdownIfPossible(); | 70 virtual bool FastShutdownIfPossible(); |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 // Buffer visited links and send them to to renderer. | 162 // Buffer visited links and send them to to renderer. |
| 164 scoped_ptr<VisitedLinkUpdater> visited_link_updater_; | 163 scoped_ptr<VisitedLinkUpdater> visited_link_updater_; |
| 165 | 164 |
| 166 // True iff the renderer is a child of a zygote process. | 165 // True iff the renderer is a child of a zygote process. |
| 167 bool zygote_child_; | 166 bool zygote_child_; |
| 168 | 167 |
| 169 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost); | 168 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost); |
| 170 }; | 169 }; |
| 171 | 170 |
| 172 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ | 171 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ |
| OLD | NEW |