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

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

Issue 38793007: Experimental viewport meta tag support for desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
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 953 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 switches::kEnableSkiaBenchmarking, 964 switches::kEnableSkiaBenchmarking,
965 switches::kEnableSoftwareCompositing, 965 switches::kEnableSoftwareCompositing,
966 switches::kEnableSpeechSynthesis, 966 switches::kEnableSpeechSynthesis,
967 switches::kEnableStatsTable, 967 switches::kEnableStatsTable,
968 switches::kEnableStrictSiteIsolation, 968 switches::kEnableStrictSiteIsolation,
969 switches::kEnableThreadedCompositing, 969 switches::kEnableThreadedCompositing,
970 switches::kEnableUniversalAcceleratedOverflowScroll, 970 switches::kEnableUniversalAcceleratedOverflowScroll,
971 switches::kEnableTouchDragDrop, 971 switches::kEnableTouchDragDrop,
972 switches::kEnableTouchEditing, 972 switches::kEnableTouchEditing,
973 switches::kEnableViewport, 973 switches::kEnableViewport,
974 switches::kEnableViewportMeta,
975 switches::kScaleViewportOnResize,
974 switches::kEnableVtune, 976 switches::kEnableVtune,
975 switches::kEnableWebAnimationsCSS, 977 switches::kEnableWebAnimationsCSS,
976 switches::kEnableWebAnimationsSVG, 978 switches::kEnableWebAnimationsSVG,
977 switches::kEnableWebGLDraftExtensions, 979 switches::kEnableWebGLDraftExtensions,
978 switches::kEnableWebMIDI, 980 switches::kEnableWebMIDI,
979 switches::kForceDeviceScaleFactor, 981 switches::kForceDeviceScaleFactor,
980 switches::kFullMemoryCrashReport, 982 switches::kFullMemoryCrashReport,
981 switches::kJavaScriptFlags, 983 switches::kJavaScriptFlags,
982 switches::kLoggingLevel, 984 switches::kLoggingLevel,
983 switches::kMaxUntiledLayerWidth, 985 switches::kMaxUntiledLayerWidth,
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
1827 // Skip widgets in other processes. 1829 // Skip widgets in other processes.
1828 if (widget->GetProcess()->GetID() != GetID()) 1830 if (widget->GetProcess()->GetID() != GetID())
1829 continue; 1831 continue;
1830 1832
1831 RenderViewHost* rvh = RenderViewHost::From(widget); 1833 RenderViewHost* rvh = RenderViewHost::From(widget);
1832 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1834 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1833 } 1835 }
1834 } 1836 }
1835 1837
1836 } // namespace content 1838 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698