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

Side by Side Diff: content/public/android/java/src/org/chromium/content/common/CommandLine.java

Issue 11066087: Upstream BrowserChildProcessHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed file and the static method and added the call to render_process_host_impl.cc Created 8 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 package org.chromium.content.common; 5 package org.chromium.content.common;
6 6
7 import android.text.TextUtils; 7 import android.text.TextUtils;
8 import android.util.Log; 8 import android.util.Log;
9 9
10 import java.io.File; 10 import java.io.File;
(...skipping 29 matching lines...) Expand all
40 // Unlike renderer-process-limit, this is a hard limit on the number of 40 // Unlike renderer-process-limit, this is a hard limit on the number of
41 // concurrent sandboxed processes. 41 // concurrent sandboxed processes.
42 public static final String SANDBOXED_SERVICE_LIMIT = "sandboxed-service-limi t"; 42 public static final String SANDBOXED_SERVICE_LIMIT = "sandboxed-service-limi t";
43 43
44 // Dump frames-per-second to the log 44 // Dump frames-per-second to the log
45 public static final String LOG_FPS = "log-fps"; 45 public static final String LOG_FPS = "log-fps";
46 46
47 // Whether Chromium should use a mobile user agent. 47 // Whether Chromium should use a mobile user agent.
48 public static final String USE_MOBILE_UA = "use-mobile-user-agent"; 48 public static final String USE_MOBILE_UA = "use-mobile-user-agent";
49 49
50 // tablet specific UI components.
51 // Native switch - chrome_switches::kTabletUI
52 public static final String TABLET_UI = "tablet-ui";
53
50 // Change the url of the JavaScript that gets injected when accessibility mo de is enabled. 54 // Change the url of the JavaScript that gets injected when accessibility mo de is enabled.
51 public static final String ACCESSIBILITY_JAVASCRIPT_URL = "accessibility-js- url"; 55 public static final String ACCESSIBILITY_JAVASCRIPT_URL = "accessibility-js- url";
52 56
53 // Public abstract interface, implemented in derived classes. 57 // Public abstract interface, implemented in derived classes.
54 // All these methods reflect their native-side counterparts. 58 // All these methods reflect their native-side counterparts.
55 /** 59 /**
56 * Returns true if this command line contains the given switch. 60 * Returns true if this command line contains the given switch.
57 * (Switch names ARE case-sensitive). 61 * (Switch names ARE case-sensitive).
58 */ 62 */
59 public abstract boolean hasSwitch(String switchString); 63 public abstract boolean hasSwitch(String switchString);
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 } 382 }
379 } 383 }
380 384
381 private static native void nativeReset(); 385 private static native void nativeReset();
382 private static native boolean nativeHasSwitch(String switchString); 386 private static native boolean nativeHasSwitch(String switchString);
383 private static native String nativeGetSwitchValue(String switchString); 387 private static native String nativeGetSwitchValue(String switchString);
384 private static native void nativeAppendSwitch(String switchString); 388 private static native void nativeAppendSwitch(String switchString);
385 private static native void nativeAppendSwitchWithValue(String switchString, String value); 389 private static native void nativeAppendSwitchWithValue(String switchString, String value);
386 private static native void nativeAppendSwitchesAndArguments(String[] array); 390 private static native void nativeAppendSwitchesAndArguments(String[] array);
387 }; 391 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698