Add git cl format presubmit warning for extension and apps.
[chromium-blink-merge.git] / android_webview / common / aw_switches.h
blob7b31bfd57938a903c98e6c01e3d39852fe0dd84c
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.
5 #ifndef ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_
6 #define ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_
8 namespace switches {
10 // When set, falls back to using the old disk cache.
11 extern const char kDisableSimpleCache[];
13 // When set, forces use of fallback SW path even on HW canvas.
14 extern const char kDisableWebViewGLMode[];
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[];
20 // Maximum number of gralloc allocations per webview.
21 extern const char kNumGrallocBuffersPerWebview[];
23 // Explicitly enable accelerated 2d canvas.
24 // TODO(boliu): Remove this switch once on by default.
25 extern const char kEnableAccelerated2dCanvas[];
27 } // namespace switches
29 #endif // ANDROID_WEBVIEW_COMMON_AW_SWITCHES_H_