轉自: https://blog.csdn.net/xiezhongyuan07/article/details/86640413web
1.cef3 commandLine設置chrome
在cef3開發過程當中,在OnBeforeCommandLineProcessing 函數中,咱們能夠經過命令行添加一些命令,來對瀏覽器進行一些設置:api
void BrowserApp::OnBeforeCommandLineProcessing(const CefString& process_type, CefRefPtr<CefCommandLine> command_line) 瀏覽器
不過都有哪些命令能夠設置呢? 找了好久,才發現,官方其實進行了總結:app
https://peter.sh/experiments/chromium-command-line-switches/#allow-external-pages 函數
2. cef3 各類查看配置、測試方法,咱們能夠參考chrome 的urls測試
1 List of Chrome URLs 2 3 chrome://about 4 chrome://accessibility 5 chrome://appcache-internals 6 chrome://apps 7 chrome://blob-internals 8 chrome://bluetooth-internals 9 chrome://bookmarks 10 chrome://chrome 11 chrome://chrome-urls 12 chrome://components 13 chrome://conflicts 14 chrome://crashes 15 chrome://credits 16 chrome://device-log 17 chrome://devices 18 chrome://dino 19 chrome://discards 20 chrome://download-internals 21 chrome://downloads 22 chrome://extensions 23 chrome://flags 24 chrome://flash 25 chrome://gcm-internals 26 chrome://gpu 27 chrome://help 28 chrome://histograms 29 chrome://history 30 chrome://indexeddb-internals 31 chrome://inspect 32 chrome://interstitials 33 chrome://interventions-internals 34 chrome://invalidations 35 chrome://local-state 36 chrome://media-engagement 37 chrome://media-internals 38 chrome://nacl 39 chrome://net-export 40 chrome://net-internals 41 chrome://network-error 42 chrome://network-errors 43 chrome://newtab 44 chrome://ntp-tiles-internals 45 chrome://omnibox 46 chrome://password-manager-internals 47 chrome://policy 48 chrome://predictors 49 chrome://print 50 chrome://quota-internals 51 chrome://safe-browsing 52 chrome://serviceworker-internals 53 chrome://settings 54 chrome://signin-internals 55 chrome://site-engagement 56 chrome://suggestions 57 chrome://supervised-user-internals 58 chrome://sync-internals 59 chrome://system 60 chrome://taskscheduler-internals 61 chrome://terms 62 chrome://thumbnails 63 chrome://tracing 64 chrome://translate-internals 65 chrome://usb-internals 66 chrome://user-actions 67 chrome://version 68 chrome://webrtc-internals 69 chrome://webrtc-logs 70 71 72 For Debug 73 The following pages are for debugging purposes only. Because they crash or hang the renderer, they're not linked directly; you can type them into the address bar if you need them. 74 chrome://badcastcrash/ 75 chrome://inducebrowsercrashforrealz/ 76 chrome://crash/ 77 chrome://crashdump/ 78 chrome://kill/ 79 chrome://hang/ 80 chrome://shorthang/ 81 chrome://gpuclean/ 82 chrome://gpucrash/ 83 chrome://gpuhang/ 84 chrome://memory-exhaust/ 85 chrome://ppapiflashcrash/ 86 chrome://ppapiflashhang/ 87 chrome://inducebrowserheapcorruption/ 88 chrome://heapcorruptioncrash/ 89 chrome://quit/ 90 chrome://restart/
--------------------- 做者:漫步繁華街 來源:CSDN 原文:https://blog.csdn.net/xiezhongyuan07/article/details/86640413 版權聲明:本文爲博主原創文章,轉載請附上博文連接!ui