FAQ
Q: 如何替換chromium瀏覽器中的圖標?
A: 替換srcchromeappthemechromium下面相關的圖片;
Q: chrome應用可以分為哪些類型?
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是可以通過哪些發方式來加載?
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: 以什么理由來通知系統我們需要通過本地安裝呢?
A:
enum OffStoreInstallAllowReason {
OffStoreInstallDisallowed,
OffStoreInstallAllowedFromSettingsPage,
OffStoreInstallAllowedBecausePref,
OffStoreInstallAllowedInTest,
NumOffStoreInstallAllowReasons
};
擴展默認安裝示例
A: srcchromebrowserextensionsapimanagementmanagement_apitest.cc:102行
Q: 如何編譯chromium?
A: 最新的chromium(2014-03-18)已經不再支持單獨的vs編譯方式,需要用nanja或者nanja+vs的方式來編譯,具體參考這里。
Q: chromium代碼由于網絡的原因很難下載源碼,怎么辦?
A: 可以從網上下載別人編譯好的放到自己的本地,可以從這里下載http://pan.baidu.com/s/1kTofGc3,請仔細看說明后在動手。但代碼目錄一定要和原編譯人的一樣,也可以按如下操作解決,說白了就是vs、sdk等有些變量的路徑查找不到。具體詳細討論看這里
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: 如何開始學習chromium?
A: 請到這里http://chromium.hiju.com/ 和http://www.chromium.org/Home上開始學習。
Q:如何開始調試chromium?啟動時默認的動作執行在是如何開始的?
A: srcchromebrowserchrome_browser_main.cc:ChromeBrowserMainParts::PreMainMessageLoopRunImpl() :1094
window 平臺cmd下能用什么命令看一個進程的父進程的PID?
A: process explorer
在哪里可以了解到chromium設計的策略?
A: http://www.chromium.org/administrators/policy-list-3
如何修改安裝后第一次運行時顯示的歡迎頁面?
A: srcchromebrowserresourceslocale_settings.grd中搜索IDS_WELCOME_PAGE_URL,修改為自己的。
如何給chromium添加默認的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.360.cn/extension_dev/external_extensions.html
5. http://www.chromium.org/developers/design-documents/extensions/how-the-extension-system-works/default-apps
下載擴展的方法:http://blog.csdn.net/talking12391239/article/details/22877451
代碼調試位置:
安裝步驟
一、在本站下載最新版的Chromium瀏覽器安裝包,雙擊打開。
二、軟件就安裝好了。
使用技巧
打開谷歌瀏覽器,左上角位置,如圖,五角星是快速收藏當前網址按鈕,點擊會提示“已添加收藏夾”,文件夾可以調整收藏的書簽位置,點擊完成即可。
用戶評價
客家話
軟件使用很不錯,打開網頁速度快,很好
昆侖決
支持谷歌,瀏覽器響應非???,贊一個
小編寄語
作為一款可讓您更快速,輕松且安全地使用網絡的瀏覽器,Chromium瀏覽器的設計超級簡潔,使用起來更加方便。





















您的評論需要經過審核才能顯示
有用
有用
有用