| 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 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 802 #endif | 802 #endif |
| 803 switches::kEnableSeccompSandbox, | 803 switches::kEnableSeccompSandbox, |
| 804 switches::kEnableSoftwareCompositingGLAdapter, | 804 switches::kEnableSoftwareCompositingGLAdapter, |
| 805 switches::kEnableStatsTable, | 805 switches::kEnableStatsTable, |
| 806 switches::kEnableThreadedCompositing, | 806 switches::kEnableThreadedCompositing, |
| 807 switches::kEnableTouchDragDrop, | 807 switches::kEnableTouchDragDrop, |
| 808 switches::kDisableThreadedCompositing, | 808 switches::kDisableThreadedCompositing, |
| 809 switches::kDisableTouchAdjustment, | 809 switches::kDisableTouchAdjustment, |
| 810 switches::kEnableViewport, | 810 switches::kEnableViewport, |
| 811 switches::kEnableOpusPlayback, | 811 switches::kEnableOpusPlayback, |
| 812 switches::kEnableVp9Playback, | |
| 813 switches::kForceDeviceScaleFactor, | 812 switches::kForceDeviceScaleFactor, |
| 814 switches::kFullMemoryCrashReport, | 813 switches::kFullMemoryCrashReport, |
| 815 #if !defined (GOOGLE_CHROME_BUILD) | 814 #if !defined (GOOGLE_CHROME_BUILD) |
| 816 // These are unsupported and not fully tested modes, so don't enable them | 815 // These are unsupported and not fully tested modes, so don't enable them |
| 817 // for official Google Chrome builds. | 816 // for official Google Chrome builds. |
| 818 switches::kInProcessPlugins, | 817 switches::kInProcessPlugins, |
| 819 #endif // GOOGLE_CHROME_BUILD | 818 #endif // GOOGLE_CHROME_BUILD |
| 820 switches::kInProcessWebGL, | 819 switches::kInProcessWebGL, |
| 821 switches::kJavaScriptFlags, | 820 switches::kJavaScriptFlags, |
| 822 switches::kLoggingLevel, | 821 switches::kLoggingLevel, |
| (...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1617 TRACE_EVENT0("renderer_host", | 1616 TRACE_EVENT0("renderer_host", |
| 1618 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1617 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1619 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1618 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
| 1620 ack_params.sync_point = 0; | 1619 ack_params.sync_point = 0; |
| 1621 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1620 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1622 gpu_process_host_id, | 1621 gpu_process_host_id, |
| 1623 ack_params); | 1622 ack_params); |
| 1624 } | 1623 } |
| 1625 | 1624 |
| 1626 } // namespace content | 1625 } // namespace content |
| OLD | NEW |