OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_ | 5 #ifndef ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_ |
6 #define ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_ | 6 #define ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_ |
7 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // When set, falls back to using the old disk cache. | 10 // When set, falls back to using the old disk cache. |
11 extern const char kDisableSimpleCache[]; | 11 extern const char kDisableSimpleCache[]; |
12 | 12 |
13 // When set, forces use of fallback SW path even on HW canvas. | |
14 extern const char kDisableWebViewGLMode[]; | |
15 | |
16 // Used to make tile memory allocation decision. Roughly the number of | |
17 // displays that a single layer will have enough memory for. | |
18 extern const char kTileMemoryMultiplier[]; | |
19 | |
20 // Maximum number of gralloc allocations per webview. | |
21 extern const char kNumGrallocBuffersPerWebview[]; | |
22 | |
23 // Explicitly enable accelerated 2d canvas. | 13 // Explicitly enable accelerated 2d canvas. |
24 // TODO(boliu): Remove this switch once on by default. | 14 // TODO(boliu): Remove this switch once on by default. |
25 extern const char kEnableAccelerated2dCanvas[]; | 15 extern const char kEnableAccelerated2dCanvas[]; |
26 | 16 |
27 } // namespace switches | 17 } // namespace switches |
28 | 18 |
29 #endif // ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_ | 19 #endif // ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_ |
OLD | NEW |