| 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 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 switches::kEnableSandboxLogging, | 787 switches::kEnableSandboxLogging, |
| 788 #endif | 788 #endif |
| 789 switches::kEnableSeccompSandbox, | 789 switches::kEnableSeccompSandbox, |
| 790 switches::kEnableSoftwareCompositingGLAdapter, | 790 switches::kEnableSoftwareCompositingGLAdapter, |
| 791 switches::kEnableStatsTable, | 791 switches::kEnableStatsTable, |
| 792 switches::kEnableThreadedCompositing, | 792 switches::kEnableThreadedCompositing, |
| 793 switches::kEnableTouchDragDrop, | 793 switches::kEnableTouchDragDrop, |
| 794 switches::kDisableThreadedCompositing, | 794 switches::kDisableThreadedCompositing, |
| 795 switches::kDisableTouchAdjustment, | 795 switches::kDisableTouchAdjustment, |
| 796 switches::kEnableViewport, | 796 switches::kEnableViewport, |
| 797 switches::kEnableOpusPlayback, |
| 797 switches::kForceDeviceScaleFactor, | 798 switches::kForceDeviceScaleFactor, |
| 798 switches::kFullMemoryCrashReport, | 799 switches::kFullMemoryCrashReport, |
| 799 #if !defined (GOOGLE_CHROME_BUILD) | 800 #if !defined (GOOGLE_CHROME_BUILD) |
| 800 // These are unsupported and not fully tested modes, so don't enable them | 801 // These are unsupported and not fully tested modes, so don't enable them |
| 801 // for official Google Chrome builds. | 802 // for official Google Chrome builds. |
| 802 switches::kInProcessPlugins, | 803 switches::kInProcessPlugins, |
| 803 #endif // GOOGLE_CHROME_BUILD | 804 #endif // GOOGLE_CHROME_BUILD |
| 804 switches::kInProcessWebGL, | 805 switches::kInProcessWebGL, |
| 805 switches::kJavaScriptFlags, | 806 switches::kJavaScriptFlags, |
| 806 switches::kLoggingLevel, | 807 switches::kLoggingLevel, |
| (...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1592 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1593 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1593 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1594 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
| 1594 ack_params.surface_handle = surface_handle; | 1595 ack_params.surface_handle = surface_handle; |
| 1595 ack_params.sync_point = 0; | 1596 ack_params.sync_point = 0; |
| 1596 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1597 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1597 gpu_process_host_id, | 1598 gpu_process_host_id, |
| 1598 ack_params); | 1599 ack_params); |
| 1599 } | 1600 } |
| 1600 | 1601 |
| 1601 } // namespace content | 1602 } // namespace content |
| OLD | NEW |