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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 | 521 |
522 // Applies a new frameless window style to any dialog based on | 522 // Applies a new frameless window style to any dialog based on |
523 // ConstrainedWindowViews. | 523 // ConstrainedWindowViews. |
524 const char kEnableFramelessConstrainedDialogs[] = | 524 const char kEnableFramelessConstrainedDialogs[] = |
525 "enable-frameless-constrained-dialogs"; | 525 "enable-frameless-constrained-dialogs"; |
526 | 526 |
527 // By default, cookies are not allowed on file://. They are needed for testing, | 527 // By default, cookies are not allowed on file://. They are needed for testing, |
528 // for example page cycler and layout tests. See bug 1157243. | 528 // for example page cycler and layout tests. See bug 1157243. |
529 const char kEnableFileCookies[] = "enable-file-cookies"; | 529 const char kEnableFileCookies[] = "enable-file-cookies"; |
530 | 530 |
| 531 // Enable High DPI rendering in Chrome PDF Viewer on High DPI displays. |
| 532 const char kEnableHighDPIPDFPlugin[] = "enable-hidpi-pdf-plugin"; |
| 533 |
531 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will | 534 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will |
532 // try to figure out if pipelining can be used for a given host and request. | 535 // try to figure out if pipelining can be used for a given host and request. |
533 // Without this flag, pipelining will never be used. | 536 // Without this flag, pipelining will never be used. |
534 const char kEnableHttpPipelining[] = "enable-http-pipelining"; | 537 const char kEnableHttpPipelining[] = "enable-http-pipelining"; |
535 | 538 |
536 // Enables new WebRTC implementation of user image picker. | 539 // Enables new WebRTC implementation of user image picker. |
537 const char kEnableHtml5Camera[] = "enable-html5-camera"; | 540 const char kEnableHtml5Camera[] = "enable-html5-camera"; |
538 | 541 |
539 // Enable Instant extended API. | 542 // Enable Instant extended API. |
540 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; | 543 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; |
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1498 | 1501 |
1499 // ----------------------------------------------------------------------------- | 1502 // ----------------------------------------------------------------------------- |
1500 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1503 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1501 // | 1504 // |
1502 // You were going to just dump your switches here, weren't you? Instead, please | 1505 // You were going to just dump your switches here, weren't you? Instead, please |
1503 // put them in alphabetical order above, or in order inside the appropriate | 1506 // put them in alphabetical order above, or in order inside the appropriate |
1504 // ifdef at the bottom. The order should match the header. | 1507 // ifdef at the bottom. The order should match the header. |
1505 // ----------------------------------------------------------------------------- | 1508 // ----------------------------------------------------------------------------- |
1506 | 1509 |
1507 } // namespace switches | 1510 } // namespace switches |
OLD | NEW |