FAQ
Q: 如何替換chromium瀏覽器中的圖標(biāo)?
A: 替換srcchromeappthemechromium下面相關(guān)的圖片;
Q: chrome應(yīng)用可以分為哪些類型?
A:
case Manifest::TYPE_EXTENSION:
case Manifest::TYPE_THEME:
case Manifest::TYPE_USER_SCRIPT:
case Manifest::TYPE_HOSTED_APP:
case Manifest::TYPE_LEGACY_PACKAGED_APP:
case Manifest::TYPE_PLATFORM_APP:
case Manifest::TYPE_SHARED_MODULE:
Q: extension是可以通過(guò)哪些發(fā)方式來(lái)加載?
A:
// What an extension was loaded from.
// NOTE: These values are stored as integers in the preferences and used
// in histograms so don't remove or reorder existing items. Just append
// to the end.
enum Location {
INVALID_LOCATION,
INTERNAL, // A crx file from the internal Extensions directory.
EXTERNAL_PREF, // A crx file from an external directory (via prefs).
EXTERNAL_REGISTRY, // A crx file from an external directory (via eg the
// registry on Windows).
UNPACKED, // From loading an unpacked extension from the
// extensions settings page.
COMPONENT, // An integral component of Chrome itself, which
// happens to be implemented as an extension. We don't
// show these in the management UI.
EXTERNAL_PREF_DOWNLOAD, // A crx file from an external directory (via
// prefs), installed from an update URL.
EXTERNAL_POLICY_DOWNLOAD, // A crx file from an external directory (via
// admin policies), installed from an update URL.
COMMAND_LINE, // --load-extension.
EXTERNAL_POLICY, // A crx file from an external directory (via admin
// policies), cached locally and installed from the
// cache.
EXTERNAL_COMPONENT, // Similar to COMPONENT in that it's considered an
// internal implementation detail of chrome, but
// installed from an update URL like the *DOWNLOAD ones.
NUM_LOCATIONS
};
An extension that's installed automatically is known as an external extension. Google Chrome supports two ways of installing external extensions:
Using a preferences JSON file (Mac OS X and Linux only)
Using the Windows registry (Windows only)src/chrome/common/extensions/docs/templates/articles/external_extensions.html
Q: 以什么理由來(lái)通知系統(tǒng)我們需要通過(guò)本地安裝呢?
A:
enum OffStoreInstallAllowReason {
OffStoreInstallDisallowed,
OffStoreInstallAllowedFromSettingsPage,
OffStoreInstallAllowedBecausePref,
OffStoreInstallAllowedInTest,
NumOffStoreInstallAllowReasons
};
擴(kuò)展默認(rèn)安裝示例
A: srcchromebrowserextensionsapimanagementmanagement_apitest.cc:102行
Q: 如何編譯chromium?
A: 最新的chromium(2014-03-18)已經(jīng)不再支持單獨(dú)的vs編譯方式,需要用nanja或者nanja+vs的方式來(lái)編譯,具體參考這里。
Q: chromium代碼由于網(wǎng)絡(luò)的原因很難下載源碼,怎么辦?
A: 可以從網(wǎng)上下載別人編譯好的放到自己的本地,可以從這里下載http://pan.baidu.com/s/1kTofGc3,請(qǐng)仔細(xì)看說(shuō)明后在動(dòng)手。但代碼目錄一定要和原編譯人的一樣,也可以按如下操作解決,說(shuō)白了就是vs、sdk等有些變量的路徑查找不到。具體詳細(xì)討論看這里
http://code.google.com/p/chromium/issues/detail?id=353425
Delete depot_toolswin_toolchain and reinstal it (by running gclient runhooks) error
wont happen in new partition.
Q:chromium release版本在那里看?
A: http://src.chromium.org/viewvc/chrome/releases和http://src.chromium.org/svn/releases/
Q: 如何開(kāi)始學(xué)習(xí)chromium?
A: 請(qǐng)到這里http://chromium.hiju.com/ 和http://www.chromium.org/Home上開(kāi)始學(xué)習(xí)。
Q:如何開(kāi)始調(diào)試chromium?啟動(dòng)時(shí)默認(rèn)的動(dòng)作執(zhí)行在是如何開(kāi)始的?
A: srcchromebrowserchrome_browser_main.cc:ChromeBrowserMainParts::PreMainMessageLoopRunImpl() :1094
window 平臺(tái)cmd下能用什么命令看一個(gè)進(jìn)程的父進(jìn)程的PID?
A: process explorer
在哪里可以了解到chromium設(shè)計(jì)的策略?
A: http://www.chromium.org/administrators/policy-list-3
如何修改安裝后第一次運(yùn)行時(shí)顯示的歡迎頁(yè)面?
A: srcchromebrowserresourceslocale_settings.grd中搜索IDS_WELCOME_PAGE_URL,修改為自己的。
如何給chromium添加默認(rèn)的extension
A 具體參考這里
1. http://developer.chrome.com/extensions/external_extensions
2. http://dev.chromium.org/administrators/pre-installed-extensions
3. http://dev.chromium.org/administrators/configuring-other-preferences
4. http://open.chrome.#/extension_dev/external_extensions.html
5. http://www.chromium.org/developers/design-documents/extensions/how-the-extension-system-works/default-apps
下載擴(kuò)展的方法:http://blog.csdn.net/talking12391239/article/details/22877451
代碼調(diào)試位置:
安裝步驟
一、在本站下載最新版的Chromium瀏覽器安裝包,雙擊打開(kāi)。
二、軟件就安裝好了。
使用技巧
打開(kāi)谷歌瀏覽器,左上角位置,如圖,五角星是快速收藏當(dāng)前網(wǎng)址按鈕,點(diǎn)擊會(huì)提示“已添加收藏夾”,文件夾可以調(diào)整收藏的書簽位置,點(diǎn)擊完成即可。
用戶評(píng)價(jià)
客家話
軟件使用很不錯(cuò),打開(kāi)網(wǎng)頁(yè)速度快,很好
昆侖決
支持谷歌,瀏覽器響應(yīng)非???,贊一個(gè)
小編寄語(yǔ)
作為一款可讓您更快速,輕松且安全地使用網(wǎng)絡(luò)的瀏覽器,Chromium瀏覽器的設(shè)計(jì)超級(jí)簡(jiǎn)潔,使用起來(lái)更加方便。
您的評(píng)論需要經(jīng)過(guò)審核才能顯示
有用
有用
有用