| 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 #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 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
| 10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 // (Note that a page can reference content from multiple origins due to images, | 516 // (Note that a page can reference content from multiple origins due to images, |
| 517 // JavaScript files, etc. Cross-site iframes are also loaded in-process.) | 517 // JavaScript files, etc. Cross-site iframes are also loaded in-process.) |
| 518 // 2) Only has authority to see or use cookies for the page's top-level origin. | 518 // 2) Only has authority to see or use cookies for the page's top-level origin. |
| 519 // (So if a.com iframes b.com, the b.com network request will be sent without | 519 // (So if a.com iframes b.com, the b.com network request will be sent without |
| 520 // cookies.) | 520 // cookies.) |
| 521 // This is expected to break compatibility with many pages for now. Unlike the | 521 // This is expected to break compatibility with many pages for now. Unlike the |
| 522 // --site-per-process flag, this allows cross-site iframes, but it blocks all | 522 // --site-per-process flag, this allows cross-site iframes, but it blocks all |
| 523 // cookies on cross-site requests. | 523 // cookies on cross-site requests. |
| 524 const char kEnableStrictSiteIsolation[] = "enable-strict-site-isolation"; | 524 const char kEnableStrictSiteIsolation[] = "enable-strict-site-isolation"; |
| 525 | 525 |
| 526 // Enable support for ServiceWorker. See |
| 527 // https://github.com/slightlyoff/ServiceWorker for more information. |
| 528 const char kEnableServiceWorker[] = "enable-service-worker"; |
| 529 |
| 526 // Enable use of experimental TCP sockets API for sending data in the | 530 // Enable use of experimental TCP sockets API for sending data in the |
| 527 // SYN packet. | 531 // SYN packet. |
| 528 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 532 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
| 529 | 533 |
| 530 // Enable Text Service Framework(TSF) for text inputting instead of IMM32. This | 534 // Enable Text Service Framework(TSF) for text inputting instead of IMM32. This |
| 531 // flag is ignored on Metro environment. | 535 // flag is ignored on Metro environment. |
| 532 const char kEnableTextServicesFramework[] = "enable-text-services-framework"; | 536 const char kEnableTextServicesFramework[] = "enable-text-services-framework"; |
| 533 | 537 |
| 534 // Enable multithreaded GPU compositing of web content. | 538 // Enable multithreaded GPU compositing of web content. |
| 535 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; | 539 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 983 #endif | 987 #endif |
| 984 | 988 |
| 985 #if defined(USE_AURA) | 989 #if defined(USE_AURA) |
| 986 // Forces usage of the test compositor. Needed to run ui tests on bots. | 990 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 987 extern const char kTestCompositor[] = "test-compositor"; | 991 extern const char kTestCompositor[] = "test-compositor"; |
| 988 #endif | 992 #endif |
| 989 | 993 |
| 990 // Don't dump stuff here, follow the same order as the header. | 994 // Don't dump stuff here, follow the same order as the header. |
| 991 | 995 |
| 992 } // namespace switches | 996 } // namespace switches |
| OLD | NEW |