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 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 // layer compositing. | 558 // layer compositing. |
559 const char kShowCompositedLayerTree[] = "show-composited-layer-tree"; | 559 const char kShowCompositedLayerTree[] = "show-composited-layer-tree"; |
560 | 560 |
561 // Draws a FPS indicator | 561 // Draws a FPS indicator |
562 const char kShowFPSCounter[] = "show-fps-counter"; | 562 const char kShowFPSCounter[] = "show-fps-counter"; |
563 | 563 |
564 // Visibly render a border around paint rects in the web page to help debug | 564 // Visibly render a border around paint rects in the web page to help debug |
565 // and study painting behavior. | 565 // and study painting behavior. |
566 const char kShowPaintRects[] = "show-paint-rects"; | 566 const char kShowPaintRects[] = "show-paint-rects"; |
567 | 567 |
| 568 // Map mouse input events into touch gesture events. Useful for debugging touch |
| 569 // gestures without needing a touchscreen. |
| 570 const char kSimulateTouchScreenWithMouse[] = |
| 571 "simulate-touch-screen-with-mouse"; |
| 572 |
568 // Runs the renderer and plugins in the same process as the browser | 573 // Runs the renderer and plugins in the same process as the browser |
569 const char kSingleProcess[] = "single-process"; | 574 const char kSingleProcess[] = "single-process"; |
570 | 575 |
571 // Skip gpu info collection, blacklist loading, and blacklist auto-update | 576 // Skip gpu info collection, blacklist loading, and blacklist auto-update |
572 // scheduling at browser startup time. | 577 // scheduling at browser startup time. |
573 // Therefore, all GPU features are available, and about:gpu page shows empty | 578 // Therefore, all GPU features are available, and about:gpu page shows empty |
574 // content. The switch is intended only for tests. | 579 // content. The switch is intended only for tests. |
575 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; | 580 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; |
576 | 581 |
577 // Runs the security test for the renderer sandbox. | 582 // Runs the security test for the renderer sandbox. |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
698 // Sets the width and height above which a composited layer will get tiled. | 703 // Sets the width and height above which a composited layer will get tiled. |
699 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 704 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
700 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 705 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
701 | 706 |
702 const char kEnableFixedPositionCreatesStackingContext[] | 707 const char kEnableFixedPositionCreatesStackingContext[] |
703 = "enable-fixed-position-creates-stacking-context"; | 708 = "enable-fixed-position-creates-stacking-context"; |
704 const char kDisableFixedPositionCreatesStackingContext[] | 709 const char kDisableFixedPositionCreatesStackingContext[] |
705 = "disable-fixed-position-creates-stacking-context"; | 710 = "disable-fixed-position-creates-stacking-context"; |
706 | 711 |
707 } // namespace switches | 712 } // namespace switches |
OLD | NEW |