Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(542)

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 17738002: Enable accelerated overflow scrolling for high dpi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 921 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 #if defined(OS_MACOSX) 932 #if defined(OS_MACOSX)
933 // Allow this to be set when invoking the browser and relayed along. 933 // Allow this to be set when invoking the browser and relayed along.
934 switches::kEnableSandboxLogging, 934 switches::kEnableSandboxLogging,
935 #endif 935 #endif
936 switches::kEnableSoftwareCompositingGLAdapter, 936 switches::kEnableSoftwareCompositingGLAdapter,
937 switches::kEnableStatsTable, 937 switches::kEnableStatsTable,
938 switches::kEnableThreadedCompositing, 938 switches::kEnableThreadedCompositing,
939 switches::kEnableCompositingForFixedPosition, 939 switches::kEnableCompositingForFixedPosition,
940 switches::kEnableHighDpiCompositingForFixedPosition, 940 switches::kEnableHighDpiCompositingForFixedPosition,
941 switches::kDisableCompositingForFixedPosition, 941 switches::kDisableCompositingForFixedPosition,
942 switches::kEnableAcceleratedOverflowScroll,
942 switches::kEnableCompositingForTransition, 943 switches::kEnableCompositingForTransition,
943 switches::kDisableCompositingForTransition, 944 switches::kDisableCompositingForTransition,
944 switches::kDisableThreadedCompositing, 945 switches::kDisableThreadedCompositing,
945 switches::kDisableTouchAdjustment, 946 switches::kDisableTouchAdjustment,
946 switches::kDefaultTileWidth, 947 switches::kDefaultTileWidth,
947 switches::kDefaultTileHeight, 948 switches::kDefaultTileHeight,
948 switches::kMaxUntiledLayerWidth, 949 switches::kMaxUntiledLayerWidth,
949 switches::kMaxUntiledLayerHeight, 950 switches::kMaxUntiledLayerHeight,
950 switches::kEnableViewport, 951 switches::kEnableViewport,
951 switches::kEnableOpusPlayback, 952 switches::kEnableOpusPlayback,
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
1776 // Skip widgets in other processes. 1777 // Skip widgets in other processes.
1777 if (widgets[i]->GetProcess()->GetID() != GetID()) 1778 if (widgets[i]->GetProcess()->GetID() != GetID())
1778 continue; 1779 continue;
1779 1780
1780 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); 1781 RenderViewHost* rvh = RenderViewHost::From(widgets[i]);
1781 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1782 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1782 } 1783 }
1783 } 1784 }
1784 1785
1785 } // namespace content 1786 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698