OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "android_webview/common/aw_switches.h" | 5 #include "android_webview/common/aw_switches.h" |
| 6 #include "base/command_line.h" |
6 | 7 |
7 namespace switches { | 8 namespace switches { |
8 | 9 |
9 const char kDisableRecordDocumentWorkaround[] = | 10 const char kDisableRecordDocumentWorkaround[] = |
10 "disable-record-document-workaround"; | 11 "disable-record-document-workaround"; |
11 | 12 |
| 13 const char kForceAuxiliaryBitmap[] = "force-auxiliary-bitmap"; |
| 14 |
| 15 bool ForceAuxiliaryBitmap() { |
| 16 static bool force_auxiliary_bitmap = |
| 17 CommandLine::ForCurrentProcess()->HasSwitch(kForceAuxiliaryBitmap); |
| 18 return force_auxiliary_bitmap; |
| 19 } |
| 20 |
12 } // namespace switches | 21 } // namespace switches |
OLD | NEW |