Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 10323002: Move message handlers that don't belong in RenderProcessHostImpl to their own files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 friend class VisitRelayingRenderProcessHost; 152 friend class VisitRelayingRenderProcessHost;
153 153
154 // Creates and adds the IO thread message filters. 154 // Creates and adds the IO thread message filters.
155 void CreateMessageFilters(); 155 void CreateMessageFilters();
156 156
157 // Control message handlers. 157 // Control message handlers.
158 void OnShutdownRequest(); 158 void OnShutdownRequest();
159 void OnDumpHandlesDone(); 159 void OnDumpHandlesDone();
160 void SuddenTerminationChanged(bool enabled); 160 void SuddenTerminationChanged(bool enabled);
161 void OnUserMetricsRecordAction(const std::string& action); 161 void OnUserMetricsRecordAction(const std::string& action);
162 void OnRevealFolderInOS(const FilePath& path);
163 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size);
164 162
165 // CompositorSurfaceBuffersSwapped handler when there's no RWH. 163 // CompositorSurfaceBuffersSwapped handler when there's no RWH.
166 void OnCompositorSurfaceBuffersSwappedNoHost(int32 surface_id, 164 void OnCompositorSurfaceBuffersSwappedNoHost(int32 surface_id,
167 uint64 surface_handle, 165 uint64 surface_handle,
168 int32 route_id, 166 int32 route_id,
169 int32 gpu_process_host_id); 167 int32 gpu_process_host_id);
170 168
171 // Generates a command line to be used to spawn a renderer and appends the 169 // Generates a command line to be used to spawn a renderer and appends the
172 // results to |*command_line|. 170 // results to |*command_line|.
173 void AppendRendererCommandLine(CommandLine* command_line) const; 171 void AppendRendererCommandLine(CommandLine* command_line) const;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 // filtering for this at the render widget level. 259 // filtering for this at the render widget level.
262 bool ignore_input_events_; 260 bool ignore_input_events_;
263 261
264 // Records the last time we regarded the child process active. 262 // Records the last time we regarded the child process active.
265 base::TimeTicks child_process_activity_time_; 263 base::TimeTicks child_process_activity_time_;
266 264
267 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 265 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
268 }; 266 };
269 267
270 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 268 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698