Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(512)

Side by Side Diff: android_webview/common/aw_switches.cc

Issue 406683003: aw: Expose record document as public api (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "base/command_line.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 const char kDisableRecordDocumentWorkaround[] =
11 "disable-record-document-workaround";
12
13 const char kForceAuxiliaryBitmap[] = "force-auxiliary-bitmap"; 10 const char kForceAuxiliaryBitmap[] = "force-auxiliary-bitmap";
14 11
15 bool ForceAuxiliaryBitmap() { 12 bool ForceAuxiliaryBitmap() {
16 static bool force_auxiliary_bitmap = 13 static bool force_auxiliary_bitmap =
17 CommandLine::ForCurrentProcess()->HasSwitch(kForceAuxiliaryBitmap); 14 CommandLine::ForCurrentProcess()->HasSwitch(kForceAuxiliaryBitmap);
18 return force_auxiliary_bitmap; 15 return force_auxiliary_bitmap;
19 } 16 }
20 17
21 } // namespace switches 18 } // namespace switches
OLDNEW
« no previous file with comments | « no previous file | android_webview/java/src/org/chromium/android_webview/AwContentsStatics.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698