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

Side by Side Diff: content/public/common/content_switches.cc

Issue 1366893002: Make window.scroll properties relative to the layout viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "worked on review comments" Created 5 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('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 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 550
551 // These mappings only apply to the host resolver. 551 // These mappings only apply to the host resolver.
552 const char kHostResolverRules[] = "host-resolver-rules"; 552 const char kHostResolverRules[] = "host-resolver-rules";
553 553
554 // Ignores certificate-related errors. 554 // Ignores certificate-related errors.
555 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors"; 555 const char kIgnoreCertificateErrors[] = "ignore-certificate-errors";
556 556
557 // Ignores GPU blacklist. 557 // Ignores GPU blacklist.
558 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; 558 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist";
559 559
560 // Makes all APIs reflect the layout viewport.
561 const char kInertVisualViewport[] = "inert-visual-viewport";
562
560 // Run the GPU process as a thread in the browser process. 563 // Run the GPU process as a thread in the browser process.
561 const char kInProcessGPU[] = "in-process-gpu"; 564 const char kInProcessGPU[] = "in-process-gpu";
562 565
563 // Overrides the timeout, in seconds, that a child process waits for a 566 // Overrides the timeout, in seconds, that a child process waits for a
564 // connection from the browser before killing itself. 567 // connection from the browser before killing itself.
565 const char kIPCConnectionTimeout[] = "ipc-connection-timeout"; 568 const char kIPCConnectionTimeout[] = "ipc-connection-timeout";
566 569
567 // Specifies the flags passed to JS engine 570 // Specifies the flags passed to JS engine
568 const char kJavaScriptFlags[] = "js-flags"; 571 const char kJavaScriptFlags[] = "js-flags";
569 572
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 966 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
964 967
965 // Enables the exporting of the tracing events to ETW. This is only supported on 968 // Enables the exporting of the tracing events to ETW. This is only supported on
966 // Windows Vista and later. 969 // Windows Vista and later.
967 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 970 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
968 #endif 971 #endif
969 972
970 // Don't dump stuff here, follow the same order as the header. 973 // Don't dump stuff here, follow the same order as the header.
971 974
972 } // namespace switches 975 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698