| 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 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 861 switches::kEnableTouchDragDrop, | 861 switches::kEnableTouchDragDrop, |
| 862 switches::kDisableThreadedCompositing, | 862 switches::kDisableThreadedCompositing, |
| 863 switches::kDisableTouchAdjustment, | 863 switches::kDisableTouchAdjustment, |
| 864 switches::kDefaultTileWidth, | 864 switches::kDefaultTileWidth, |
| 865 switches::kDefaultTileHeight, | 865 switches::kDefaultTileHeight, |
| 866 switches::kMaxUntiledLayerWidth, | 866 switches::kMaxUntiledLayerWidth, |
| 867 switches::kMaxUntiledLayerHeight, | 867 switches::kMaxUntiledLayerHeight, |
| 868 switches::kEnableViewport, | 868 switches::kEnableViewport, |
| 869 switches::kEnableOpusPlayback, | 869 switches::kEnableOpusPlayback, |
| 870 switches::kEnableVp9Playback, | 870 switches::kEnableVp9Playback, |
| 871 switches::kEnableVp8AlphaPlayback, |
| 871 switches::kForceDeviceScaleFactor, | 872 switches::kForceDeviceScaleFactor, |
| 872 switches::kFullMemoryCrashReport, | 873 switches::kFullMemoryCrashReport, |
| 873 #if !defined (GOOGLE_CHROME_BUILD) | 874 #if !defined (GOOGLE_CHROME_BUILD) |
| 874 // These are unsupported and not fully tested modes, so don't enable them | 875 // These are unsupported and not fully tested modes, so don't enable them |
| 875 // for official Google Chrome builds. | 876 // for official Google Chrome builds. |
| 876 switches::kInProcessPlugins, | 877 switches::kInProcessPlugins, |
| 877 #endif // GOOGLE_CHROME_BUILD | 878 #endif // GOOGLE_CHROME_BUILD |
| 878 switches::kJavaScriptFlags, | 879 switches::kJavaScriptFlags, |
| 879 switches::kLoggingLevel, | 880 switches::kLoggingLevel, |
| 880 switches::kMemoryMetrics, | 881 switches::kMemoryMetrics, |
| (...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1721 TRACE_EVENT0("renderer_host", | 1722 TRACE_EVENT0("renderer_host", |
| 1722 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1723 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1723 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1724 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
| 1724 ack_params.sync_point = 0; | 1725 ack_params.sync_point = 0; |
| 1725 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1726 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1726 gpu_process_host_id, | 1727 gpu_process_host_id, |
| 1727 ack_params); | 1728 ack_params); |
| 1728 } | 1729 } |
| 1729 | 1730 |
| 1730 } // namespace content | 1731 } // namespace content |
| OLD | NEW |