| 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 // Experimentally ensures that each renderer process: | 362 // Experimentally ensures that each renderer process: |
| 363 // 1) Only handles rendering for a single page. | 363 // 1) Only handles rendering for a single page. |
| 364 // (Note that a page can reference content from multiple origins due to images, | 364 // (Note that a page can reference content from multiple origins due to images, |
| 365 // iframes, etc). | 365 // iframes, etc). |
| 366 // 2) Only has authority to see or use cookies for the page's top-level origin. | 366 // 2) Only has authority to see or use cookies for the page's top-level origin. |
| 367 // (So if a.com iframe's b.com, the b.com network request will be sent without | 367 // (So if a.com iframe's b.com, the b.com network request will be sent without |
| 368 // cookies). | 368 // cookies). |
| 369 // This is expected to break compatibility with many pages for now. | 369 // This is expected to break compatibility with many pages for now. |
| 370 const char kEnableStrictSiteIsolation[] = "enable-strict-site-isolation"; | 370 const char kEnableStrictSiteIsolation[] = "enable-strict-site-isolation"; |
| 371 | 371 |
| 372 // Enable tab capture API. |
| 373 const char kEnableTabCapture[] = "enable-tab-capture"; |
| 374 |
| 372 // Enable multithreaded GPU compositing of web content. | 375 // Enable multithreaded GPU compositing of web content. |
| 373 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; | 376 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; |
| 374 | 377 |
| 375 // Disable multithreaded GPU compositing of web content. | 378 // Disable multithreaded GPU compositing of web content. |
| 376 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 379 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
| 377 | 380 |
| 378 // Enable use of experimental TCP sockets API for sending data in the | 381 // Enable use of experimental TCP sockets API for sending data in the |
| 379 // SYN packet. | 382 // SYN packet. |
| 380 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 383 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
| 381 | 384 |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 // Sets the width and height above which a composited layer will get tiled. | 744 // Sets the width and height above which a composited layer will get tiled. |
| 742 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 745 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
| 743 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 746 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
| 744 | 747 |
| 745 const char kEnableFixedPositionCreatesStackingContext[] | 748 const char kEnableFixedPositionCreatesStackingContext[] |
| 746 = "enable-fixed-position-creates-stacking-context"; | 749 = "enable-fixed-position-creates-stacking-context"; |
| 747 const char kDisableFixedPositionCreatesStackingContext[] | 750 const char kDisableFixedPositionCreatesStackingContext[] |
| 748 = "disable-fixed-position-creates-stacking-context"; | 751 = "disable-fixed-position-creates-stacking-context"; |
| 749 | 752 |
| 750 } // namespace switches | 753 } // namespace switches |
| OLD | NEW |