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

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

Issue 370513002: Mac ÜC: Make resize smooth (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@enable_uc_for_reals
Patch Set: Add comments Created 6 years, 5 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
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 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 void CreateMessageFilters(); 288 void CreateMessageFilters();
289 289
290 // Control message handlers. 290 // Control message handlers.
291 void OnShutdownRequest(); 291 void OnShutdownRequest();
292 void OnDumpHandlesDone(); 292 void OnDumpHandlesDone();
293 void SuddenTerminationChanged(bool enabled); 293 void SuddenTerminationChanged(bool enabled);
294 void OnUserMetricsRecordAction(const std::string& action); 294 void OnUserMetricsRecordAction(const std::string& action);
295 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size); 295 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size);
296 void OnCloseACK(int old_route_id); 296 void OnCloseACK(int old_route_id);
297 297
298 #if defined(OS_MACOSX)
298 // CompositorSurfaceBuffersSwapped handler when there's no RWH. 299 // CompositorSurfaceBuffersSwapped handler when there's no RWH.
299 void OnCompositorSurfaceBuffersSwappedNoHost( 300 void OnCompositorSurfaceBuffersSwappedNoHost(
300 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params); 301 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params);
302 #endif
301 303
302 // Generates a command line to be used to spawn a renderer and appends the 304 // Generates a command line to be used to spawn a renderer and appends the
303 // results to |*command_line|. 305 // results to |*command_line|.
304 void AppendRendererCommandLine(base::CommandLine* command_line) const; 306 void AppendRendererCommandLine(base::CommandLine* command_line) const;
305 307
306 // Copies applicable command line switches from the given |browser_cmd| line 308 // Copies applicable command line switches from the given |browser_cmd| line
307 // flags to the output |renderer_cmd| line flags. Not all switches will be 309 // flags to the output |renderer_cmd| line flags. Not all switches will be
308 // copied over. 310 // copied over.
309 void PropagateBrowserCommandLineToRenderer( 311 void PropagateBrowserCommandLineToRenderer(
310 const base::CommandLine& browser_cmd, 312 const base::CommandLine& browser_cmd,
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 #if defined(OS_MACOSX) 463 #if defined(OS_MACOSX)
462 base::ScopedCFTypeRef<IOSurfaceRef> last_io_surface_; 464 base::ScopedCFTypeRef<IOSurfaceRef> last_io_surface_;
463 #endif 465 #endif
464 466
465 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 467 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
466 }; 468 };
467 469
468 } // namespace content 470 } // namespace content
469 471
470 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 472 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698