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