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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 bool deleting_soon_; | 144 bool deleting_soon_; |
145 | 145 |
146 // The count of currently swapped out but pending RenderViews. We have | 146 // The count of currently swapped out but pending RenderViews. We have |
147 // started to swap these in, so the renderer process should not exit if | 147 // started to swap these in, so the renderer process should not exit if |
148 // this count is non-zero. | 148 // this count is non-zero. |
149 int32 pending_views_; | 149 int32 pending_views_; |
150 | 150 |
151 private: | 151 private: |
152 friend class VisitRelayingRenderProcessHost; | 152 friend class VisitRelayingRenderProcessHost; |
153 | 153 |
| 154 FRIEND_TEST_ALL_PREFIXES(RenderProcessHostTest, DontPutNTPInDyingProcess); |
| 155 |
154 // Creates and adds the IO thread message filters. | 156 // Creates and adds the IO thread message filters. |
155 void CreateMessageFilters(); | 157 void CreateMessageFilters(); |
156 | 158 |
157 // Control message handlers. | 159 // Control message handlers. |
158 void OnShutdownRequest(); | 160 void OnShutdownRequest(); |
159 void OnDumpHandlesDone(); | 161 void OnDumpHandlesDone(); |
160 void SuddenTerminationChanged(bool enabled); | 162 void SuddenTerminationChanged(bool enabled); |
161 void OnUserMetricsRecordAction(const std::string& action); | 163 void OnUserMetricsRecordAction(const std::string& action); |
162 void OnRevealFolderInOS(const FilePath& path); | 164 void OnRevealFolderInOS(const FilePath& path); |
163 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size); | 165 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size); |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 // filtering for this at the render widget level. | 260 // filtering for this at the render widget level. |
259 bool ignore_input_events_; | 261 bool ignore_input_events_; |
260 | 262 |
261 // Records the last time we regarded the child process active. | 263 // Records the last time we regarded the child process active. |
262 base::TimeTicks child_process_activity_time_; | 264 base::TimeTicks child_process_activity_time_; |
263 | 265 |
264 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 266 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
265 }; | 267 }; |
266 | 268 |
267 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 269 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |