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 3 // found in the LICENSE file. 4 5 #ifndef ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_ 6 #define ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_ 7 8 namespace switches { 9 10 // When set, falls back to using the old disk cache. 11 extern const char kDisableSimpleCache[]; 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 } // namespace switches 24 25 #endif // ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_ 26