Hi Aram,
Chrome flags (chrome://flags) are basically on/off switches for experimental
and dangerous features not yet officially announced in a Chrome release,
Crosswalk is powered by Chromium and supports Chromium command line base on
corresponding Chromium versions.
A. you can try
python make_apk.py --xwalk-command-line='--ignore-gpu-blacklist' [other
required options]
B. Or you can use command-line manually by adding a text file called
xwalk-command-line (no suffix) to the assets/ directory of your Android apk
package. This file should contain a single line, representing the xwalk command
line to run; in this case, the line would be:
xwalk --disable-gpu-rasterization
C. Or in Embedding API:
static final String INIT_SWITCHES[] = { "Xwalk",
"--disable-pull-to-refresh-effect" };
if (!CommandLine.isInitialized()) {
CommandLine.init(INIT_SWITCHES);
}
public static final String COMMAND_LINE_FILE =
"/data/local/tmp/xwview-shell-command-line";
if (!CommandLine.isInitialized()) {
CommandLine.initFromFile(COMMAND_LINE_FILE);
}
https://github.com/crosswalk-project/crosswalk-website/wiki/Use-Chromium-command-lines-in-your-apps-on-Android
http://peter.sh/experiments/chromium-command-line-switches/
https://lists.crosswalk-project.org/pipermail/crosswalk-help/2015-July/001333.html
BR
Belem
From: Crosswalk-help
[mailto:[email protected]] On Behalf Of Aram
Ter-Martirosyan
Sent: Tuesday, August 25, 2015 5:11 AM
To: [email protected]
Cc: [email protected]
Subject: [Crosswalk-help] Is there any way to set flags for Chrome with
crosswalk-webview?
Hello
Is there any way to set flags for Chrome with crosswalk-webview?
I need to increase #max-tiles-for-interest-area and #disable_click-delay
parameters just like I am able to do in Chrome browser.
How can I establish data in crosswalk-webview?
Thanks,
Aram Ter-Martirosyan
ConnectTo Communications
http://www.ConnectTo.com<http://www.connectto.com/>
555 Riverdale, Suite A
Glendale, CA 91204
[email protected]<mailto:[email protected]>
tel 818.546.4601
fax 818.546.4617
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help