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

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

Issue 1530403002: Removal of geolocation APIs on insecure origins (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fix unit test Created 5 years 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
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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 const char kEnableStaleWhileRevalidate[] = "enable-stale-while-revalidate"; 451 const char kEnableStaleWhileRevalidate[] = "enable-stale-while-revalidate";
452 452
453 // Enables StatsTable, logging statistics to a global named shared memory table. 453 // Enables StatsTable, logging statistics to a global named shared memory table.
454 const char kEnableStatsTable[] = "enable-stats-table"; 454 const char kEnableStatsTable[] = "enable-stats-table";
455 455
456 // Blocks all insecure requests from secure contexts, and prevents the user 456 // Blocks all insecure requests from secure contexts, and prevents the user
457 // from overriding that decision. 457 // from overriding that decision.
458 const char kEnableStrictMixedContentChecking[] = 458 const char kEnableStrictMixedContentChecking[] =
459 "enable-strict-mixed-content-checking"; 459 "enable-strict-mixed-content-checking";
460 460
461 // Blocks insecure usage of number of powerful features (geolocation, for 461 // Blocks insecure usage of number of powerful features (device orientation, for
462 // example) that we haven't yet deprecated for the web at large. 462 // example) that we haven't yet deprecated for the web at large.
463 const char kEnableStrictPowerfulFeatureRestrictions[] = 463 const char kEnableStrictPowerfulFeatureRestrictions[] =
464 "enable-strict-powerful-feature-restrictions"; 464 "enable-strict-powerful-feature-restrictions";
465 465
466 // Enable use of experimental TCP sockets API for sending data in the 466 // Enable use of experimental TCP sockets API for sending data in the
467 // SYN packet. 467 // SYN packet.
468 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; 468 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen";
469 469
470 // Enabled threaded compositing for layout tests. 470 // Enabled threaded compositing for layout tests.
471 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; 471 const char kEnableThreadedCompositing[] = "enable-threaded-compositing";
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 997 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
998 998
999 // Enables the exporting of the tracing events to ETW. This is only supported on 999 // Enables the exporting of the tracing events to ETW. This is only supported on
1000 // Windows Vista and later. 1000 // Windows Vista and later.
1001 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1001 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1002 #endif 1002 #endif
1003 1003
1004 // Don't dump stuff here, follow the same order as the header. 1004 // Don't dump stuff here, follow the same order as the header.
1005 1005
1006 } // namespace switches 1006 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698