Chromium Code Reviews| 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 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
| 6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
| 7 | 7 |
| 8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 9 | 9 |
| 10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
| (...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 784 switches::kEnablePinch, | 784 switches::kEnablePinch, |
| 785 #if defined(OS_MACOSX) | 785 #if defined(OS_MACOSX) |
| 786 // Allow this to be set when invoking the browser and relayed along. | 786 // Allow this to be set when invoking the browser and relayed along. |
| 787 switches::kEnableSandboxLogging, | 787 switches::kEnableSandboxLogging, |
| 788 #endif | 788 #endif |
| 789 switches::kEnableSeccompSandbox, | 789 switches::kEnableSeccompSandbox, |
| 790 switches::kEnableStatsTable, | 790 switches::kEnableStatsTable, |
| 791 switches::kEnableThreadedCompositing, | 791 switches::kEnableThreadedCompositing, |
| 792 switches::kDisableThreadedCompositing, | 792 switches::kDisableThreadedCompositing, |
| 793 switches::kEnableTouchEvents, | 793 switches::kEnableTouchEvents, |
| 794 switches::kEnableVideoTrack, | 794 switches::kDisableVideoTrack, |
|
jam
2012/08/28 07:11:56
nit: order
annacc
2012/08/28 16:50:40
Done.
| |
| 795 switches::kEnableViewport, | 795 switches::kEnableViewport, |
| 796 switches::kForceDeviceScaleFactor, | 796 switches::kForceDeviceScaleFactor, |
| 797 switches::kFullMemoryCrashReport, | 797 switches::kFullMemoryCrashReport, |
| 798 #if !defined (GOOGLE_CHROME_BUILD) | 798 #if !defined (GOOGLE_CHROME_BUILD) |
| 799 // These are unsupported and not fully tested modes, so don't enable them | 799 // These are unsupported and not fully tested modes, so don't enable them |
| 800 // for official Google Chrome builds. | 800 // for official Google Chrome builds. |
| 801 switches::kInProcessPlugins, | 801 switches::kInProcessPlugins, |
| 802 #endif // GOOGLE_CHROME_BUILD | 802 #endif // GOOGLE_CHROME_BUILD |
| 803 switches::kInProcessWebGL, | 803 switches::kInProcessWebGL, |
| 804 switches::kJavaScriptFlags, | 804 switches::kJavaScriptFlags, |
| (...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1518 int32 route_id, | 1518 int32 route_id, |
| 1519 int32 gpu_process_host_id) { | 1519 int32 gpu_process_host_id) { |
| 1520 TRACE_EVENT0("renderer_host", | 1520 TRACE_EVENT0("renderer_host", |
| 1521 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1521 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1522 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1522 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1523 gpu_process_host_id, | 1523 gpu_process_host_id, |
| 1524 0); | 1524 0); |
| 1525 } | 1525 } |
| 1526 | 1526 |
| 1527 } // namespace content | 1527 } // namespace content |
| OLD | NEW |