# README

## Chromium\_doc\_zh

> Chromium中文文档 for <https://www.chromium.org/developers/design-documents>

> 翻译之加强对android webview理解，同时作为架构设计的学习。

> 还未完全完成，不断更新ing，欢迎star

> gitbook地址：<https://ahangchen.gitbooks.io/chromium\\_doc\\_zh/content/zh/> 适合阅读，可以导出pdf

> github地址： <https://github.com/ahangchen/Chromium\\_doc\\_zh>

> 翻译了一段时间感觉内容真的好多，欢迎志同道合的朋友一起翻译。

## 设计文档

* [Start Here: 背景阅读](/chromium/zh/start_here_background_reading.md): 描述Chromium的宏观架构
  * [多进程架构](/chromium/zh/start_here_background_reading/multi-process_architecture.md)

    **Note**: 设计文档的大部分剩余部分都认为你对上面这个文档里的内容非常熟悉。
  * [Blink 如何工作](/chromium/zh/start_here_background_reading/how_blink_works.md) Blink 宏观架构概述
  * “一个像素的一生”演讲。 ([slides](http://bit.ly/lifeofapixel) / [video](http://bit.ly/loap-2020-video)) 介绍 Chromium 的渲染管线，从网页的内容追踪到展示的像素。
  * \[有点过时了] [Chromium如何展示web界面](/chromium/zh/start_here_background_reading/how_chromium_displays_web_pages.md): 自底向上概述WebKit是如何嵌入到Chromium中的

### See Also: 源代码中的设计文档

```
https://chromium.googlesource.com/chromium/src/+/master/docs/
```

* \###[整体架构](/chromium/zh/general_architecture.md)
  * [跨平台开发的约定与模式](/chromium/zh/general_architecture/conventions_and_patterns_for_multi-platform_development.md)
  * [扩展安全架构](/chromium/zh/general_architecture/extension_security_architecture.md): 扩展系统是如何降低扩展脆弱性的严重程度的
  * [硬件视频加速](/chromium/zh/general_architecture/hw_video_acceleration_in_chrom-eium-os.md)
  * [跨进程通信](/chromium/zh/general_architecture/inter-process_communication.md): 浏览进程，绘制器，插件进程是如何交流的
  * [多进程资源加载](/chromium/zh/general_architecture/multi-process_resource_loading.md): 页面和图像是如何从网络加载到绘制器中的
  * [插件架构](/chromium/zh/general_architecture/plugin_architecture.md)
  * [进程模型](/chromium/zh/general_architecture/process_models.md): 创建新绘制进程的策略
  * [Profile架构](/chromium/zh/general_architecture/profile_architecture.md)
  * [安全浏览](/chromium/zh/general_architecture/safebrowsing.md)
  * [沙箱](/chromium/zh/general_architecture/sandbox.md)
    * [沙箱FAQ](/chromium/zh/general_architecture/sandbox_faq.md)
    * [OSX中的沙箱设计](/chromium/zh/general_architecture/osx_sandbox_design.md)
  * [安全架构](/chromium/zh/general_architecture/security_architecture.md): Chromium沙箱绘制引擎是如何保护免受恶意软件侵害的
  * [启动](/chromium/zh/general_architecture/startup.md)
  * [线程](/chromium/zh/general_architecture/threading.md): 在chromium中如何使用线程

也可以看看 [V8](https://github.com/hatrd/Chromium_doc_zh/blob/master/zh/http:/code.google.com/apis/v8/README.md)的文档, 这是Chromium使用的Javascript引擎

* #### [UI Framework](/chromium/zh/ui_framework.md)
  * [UI开发实践](/chromium/zh/ui_framework/ui_development_practices.md): 在Chrome的content区域内外开发的最佳实践
  * [Views framework](/chromium/zh/ui_framework/views_framework.md): Windows和Chrome OS上使用的UI layout 层级
  * [views Windowing系统](/chromium/zh/ui_framework/views_windowing_system.md): 如何用view构建对话框盒子和其他windowUI
  * [Aura](/chromium/zh/ui_framework/aura.md): Chrome下一代硬件加速UI框架，新的ChromeOS 系统由它构建而成
  * [Native控制](/chromium/zh/ui_framework/nativecontrols.md): 在view中使用平台原生widget
  * 用View和Aura实现聚焦与激活
* #### [Graphics](/chromium/zh/graphics.md)
  * [概述](/chromium/zh/graphics/overview.md)
  * [Chrome中使用的GPU加速](/chromium/zh/graphics/gpu_accelerated_compositing_in_chrome.md)
  * [GPU特性状态仪表盘](/chromium/zh/graphics/gpu_feature_status_dashboard.md)
  * [绘制架构图](/chromium/zh/graphics/rendering_architecture_diagrams.md)
  * [Graphics和Skia](/chromium/zh/graphics/graphics_and_skia.md)
  * [绘制文本以及Chrome UI 文本绘制](/chromium/zh/graphics/rendertext_and_chrome_ui_text_drawing.md)
  * [GPU命令缓冲区](/chromium/zh/graphics/gpu_command_buffer.md)
  * [GPU程序缓冲区](/chromium/zh/graphics/gpu_program_caching.md)
  * [Blink/WebCore中的组合](/chromium/zh/graphics/compositing_in_blink_webcore.md)
  * [排版线程架构](/chromium/zh/graphics/compositor_thread_architecture.md)
  * [绘制标准](/chromium/zh/graphics/rendering_benchmarks.md)
  * [实现层绘制](/chromium/zh/graphics/impl-side_painting.md)
  * [视频回放与排版](/chromium/zh/graphics/video_playback_and_compositor.md)
  * [ANGLE架构表示](/chromium/zh/graphics/angle_architecture_presentation.md)
* [网络栈](/chromium/zh/network_stack.md)
  * [概述](/chromium/zh/network_stack/overview.md)
  * [网络栈的目标](/chromium/zh/network_stack/network_stack_objectives.md)
  * [Crypto](/chromium/zh/network_stack/crypto.md)
  * [磁盘缓存](/chromium/zh/network_stack/disk_cache.md)
  * [HTTP缓存](/chromium/zh/network_stack/http_cache.md)
  * [进程外代理解决草案\[unimplemented\]](/chromium/zh/network_stack/out_of_process_proxy_resolving_draft_-unimplemented.md)
  * [代理设置与回退](/chromium/zh/network_stack/proxy_settings_and_fallback.md)
  * [调试网络代理问题](/chromium/zh/network_stack/debugging_network_proxy_problems.md)
  * [HTTP授权](/chromium/zh/network_stack/http_authentication.md)
  * [查看网络内部情况的工具](/chromium/zh/network_stack/view_network_internals_tool.md)
  * [用SPDY页面使得网络更快](/chromium/zh/network_stack/make_the_web_faster_with_spdy_pages.md)
  * [用OUIC页面使得网络更快](/chromium/zh/network_stack/_the_web_even_faster_with_quic_pages.md)
  * [Cookie存储与获取](/chromium/zh/network_stack/cookie_storage_and_retrieval.md)
* [安全](/chromium/zh/security.md)
  * [概述](/chromium/zh/security/security_overview.md)
  * [保护缓存用户数据](/chromium/zh/security/protecting_cached_user_data.md)
  * [系统强化](/chromium/zh/security/system_hardening.md)
  * [Chaps技术设计](/chromium/zh/security/chaps_technical_design.md)
  * [TPM使用](/chromium/zh/security/tpm_usage.md)
  * [每个页面的子源](/chromium/zh/security/per-page_suborigins.md)
  * [加密分割恢复](/chromium/zh/security/encrypted_partition_recovery.md)
* [Input](/chromium/zh/input.md)
  * 看这个文档[chromium input](/chromium/zh/input/chromium_input.md)（关于设计文档以及一些其他资源）
* [绘制](/chromium/zh/rendering.md)
  * [多列布局](/chromium/zh/rendering/multi-column_layout.md)
  * [刷新时重置Style](/chromium/zh/rendering/style_invalidation_in_blink.md)
  * [刷新与空间的协调](/chromium/zh/rendering/blink_coordinate_spaces.md)
* [构建](/chromium/zh/building.md)
  * [IDL构建](/chromium/zh/building/idl_build.md)
  * [IDL编译器](/chromium/zh/building/idl_compiler.md)
  * 也可以看这个文档，[GYP, the build script generation tool.](/chromium/zh/building/gyp_the_build_script_generation_tool..md)
* [测试](/chromium/zh/testing.md)
  * [Layout测试结果面板](/chromium/zh/testing/layout_test_results_dashboard.md)
  * [Test shell中的真实主题](/chromium/zh/testing/generic_theme_for_test_shell.md)
  * [完全回退移除layout测试](/chromium/zh/testing/moving_layouttests_fully_upstream.md)
* [特性相关](/chromium/zh/feature-specific.md)
  * [关于冲突](/chromium/zh/feature-specific/aboutconflicts.md)
  * [可用性](/chromium/zh/feature-specific/accessibility.md): 当前（以及将来）可用性支持的轮廓。
  * [自适应屏幕截图与镜像](/chromium/zh/feature-specific/auto-throttled_screen_capture_and_mirroring.md)
  * [浏览器window](/chromium/zh/feature-specific/browser_window.md)
  * [Chromium打印代理](/chromium/zh/feature-specific/chromium_print_proxy.md): 为保留打印机与未来的云服务打印机使能云打印服务
  * [强制弹出窗口](/chromium/zh/feature-specific/constrained_popup_windows.md)
  * [桌面通知](/chromium/zh/feature-specific/desktop_notifications.md)
  * [Chrome on Windows的直写式Cache](/chromium/zh/feature-specific/directwrite_font_cache_for_chrome_on_windows.md)
  * [DNS预拉取](/chromium/zh/feature-specific/dns_prefetching.md): 通过在用户打开链接前,预先解析域名,来减少延迟
  * [在浏览器窗口中,嵌入式Flash的全屏](/chromium/zh/feature-specific/embedding_flash_fullscreen_in_the_browser_window.md)
  * [拓展: 设计文档与推荐的api ](/chromium/zh/feature-specific/extensions_design_documents_and_proposed_apis..md): Design documents and proposed APIs.
  * [查找栏](/chromium/zh/feature-specific/find_bar.md)
  * [表单自动填充](/chromium/zh/feature-specific/form_autofill.md): 一个用合适的数据自动填充html表单的特性
  * [地理信息](/chromium/zh/feature-specific/geolocation.md): 添加对[W3C Geolocation API](https://github.com/hatrd/Chromium_doc_zh/blob/master/zh/http:/www.w3.org/TR/geolocation-API/README.md)的支持,使用native WebKit bindings.
  * [IDN in Google Chrome](/chromium/zh/feature-specific/idn_in_google_chrome.md)
  * [索引式DB(早期草稿)](/chromium/zh/feature-specific/indexeddb__early_draft_.md)
  * [信息栏](/chromium/zh/feature-specific/info_bars.md)
  * [安装](/chromium/zh/feature-specific/installer.md): 注册入口与快捷方式
  * [即时](/chromium/zh/feature-specific/instant.md)
  * [独立网站](/chromium/zh/feature-specific/isolated_sites.md)
  * [Linux资源与本地化字符串](/chromium/zh/feature-specific/linux_resources_and_localized_strings.md): Linux资源与本地化字符串的加载
  * [媒体路由 & Web Presentation API](/chromium/zh/feature-specific/media_router_and_web_presentation_api.md)
  * [内存使用统计后端](/chromium/zh/feature-specific/memory_usage_backgrounder.md): 我们在Chromium中如何测量内存的一些api
  * [鼠标锁定](/chromium/zh/feature-specific/mouse_lock.md)
  * [地址栏自动完成](/chromium/zh/feature-specific/omnibox_autocomplete.md): 在地址栏中打字时,Chromium搜索并建议可能的结果
    * [快速提供历史](/chromium/zh/feature-specific/omnibox_autocomplete/historyquickprovider.md): 由用户历史访问网站提供建议
  * [搜索栏/IME协作](/chromium/zh/feature-specific/omnibox_ime_coordination.md)
  * [Ozone移植抽象](/chromium/zh/feature-specific/ozone_porting_abstraction.md)
  * [密码生成](/chromium/zh/feature-specific/password_generation.md)
  * [Pepper插件实现](/chromium/zh/feature-specific/pepper_plugin_implementation.md)
  * [插件能力保存](/chromium/zh/feature-specific/plugin_power_saver.md)
  * [选项](/chromium/zh/feature-specific/preferences.md)
  * [预渲染](/chromium/zh/feature-specific/prerender.md)
  * [打印预览](/chromium/zh/feature-specific/print_preview.md)
  * [打印](/chromium/zh/feature-specific/printing.md)
  * [view中基于矩形的事件目标](/chromium/zh/feature-specific/rect-based_event_targeting_in_views.md): 使得触摸激发view元素更加容易
  * [替换语义cookie提示](/chromium/zh/feature-specific/replace_the_modal_cookie_prompt.md)
  * [安全搜索](/chromium/zh/feature-specific/safesearch.md)
  * [Sane Time](/chromium/zh/feature-specific/sane_time.md): 在Chrome中决定一个精确的时间
  * [安全web代理](/chromium/zh/feature-specific/secure_web_proxy.md)
  * [服务进程](/chromium/zh/feature-specific/service_processes.md)
  * [站点隔离](/chromium/zh/feature-specific/site_isolation.md): 进程内的一些工作,提高Chromium在网站安全方面的进程模型
  * [软件更新: Courgette](/chromium/zh/feature-specific/software_updates_courgette.md)
  * [同步](/chromium/zh/feature-specific/sync.md)
  * [Tab助手](/chromium/zh/feature-specific/tab_helpers.md)
  * [Tab搜索](/chromium/zh/feature-specific/tab_to_search.md): 如果让地址栏自动提供标签来搜索你的网站
  * [Tabtastic2需求](/chromium/zh/feature-specific/tabtastic2_requirements.md)
  * [临时下载](/chromium/zh/feature-specific/temporary_downloads.md)
  * [时间资源](/chromium/zh/feature-specific/time_sources.md): 在一个Chrome OS设备上决定时间
  * [时钟](/chromium/zh/feature-specific/timeticks.md): 我们单一的时钟是如何在不同系统上工作的
  * [UI镜像基础设施](/chromium/zh/feature-specific/ui_mirroring_infrastructure.md): 描述ChromeViews中的UI框架,允许在希伯来与或阿拉伯语这样的RTL语言环境中镜像浏览器UI
  * [UI定位](/chromium/zh/feature-specific/ui_localization.md): 描述如何定位要加入chromium的字符串
  * [用户脚本](/chromium/zh/feature-specific/user_scripts.md): Chrome对于用户脚本的一些支持信息
  * [视频](/chromium/zh/feature-specific/video.md)
  * [WebSocket](/chromium/zh/feature-specific/websocket.md): 允许web应用程序与服务端进程维护一个双向的交流
  * [Web MIDI](/chromium/zh/feature-specific/web_midi.md)
  * [Web导航 API内部实现](/chromium/zh/feature-specific/webnavigation_api_internals.md)
* [OS-相关](/chromium/zh/os-specific.md)
  * [Android](/chromium/zh/os-specific/android.md)
    * [Android上的Java资源](/chromium/zh/os-specific/android/java_resources_on_android.md)
    * [JNI绑定](/chromium/zh/os-specific/android/jni_bindings.md)
    * [WebView代码组织](/chromium/zh/os-specific/android/webview_code_organization.md)
  * [Chrome OS](/chromium/zh/os-specific/chrome_os.md)
    * 查看[Chrome OS设计文档相关章节](/chromium/zh/os-specific/chrome_os/chrome_os_design_documents_section..md)
  * [Mac OS X](/chromium/zh/os-specific/mac_os_x.md)
    * [Apple脚本Support](/chromium/zh/os-specific/mac_os_x/applescript_support.md)
    * [BrowserWindowController对象所有权](/chromium/zh/os-specific/mac_os_x/browserwindowcontroller_object_ownership.md)
    * [确认退出](/chromium/zh/os-specific/mac_os_x/confirm_to_quit.md)
    * [Mac App模式(草案)](/chromium/zh/os-specific/mac_os_x/mac_app_mode__draft_.md)
    * [Mac全屏模式(草案)](/chromium/zh/os-specific/mac_os_x/mac_fullscreen_mode__draft_.md)
    * [Mac NPAPI插件托管](/chromium/zh/os-specific/mac_os_x/mac_npapi_plugin_hosting.md)
    * [Mac上UI定位的相关记录](/chromium/zh/os-specific/mac_os_x/mac_specific_notes_on_ui_localization.md)
    * [菜单,快捷键和命令调度](/chromium/zh/os-specific/mac_os_x/menus_hotkeys_and_command_dispatch.md)
    * [IOSurface使用与语义相关会议的一些记录](/chromium/zh/os-specific/mac_os_x/notes_from_meeting_on_iosurface_usage_and_semantics.md)
    * [OS X跨进程通信(已过时)](/chromium/zh/os-specific/mac_os_x/os_x_interprocess_communication__obsolete_.md)
    * [密码管理/密码链集成](/chromium/zh/os-specific/mac_os_x/password_manager_keychain_integration.md)
    * [沙箱设计](/chromium/zh/os-specific/mac_os_x/sandboxing_design.md)
    * [Tab切换设计(包括标签布局与标签拖动)](/chromium/zh/os-specific/mac_os_x/tab_strip_design__includes_tab_layout_and_tab_dragging_.md)
    * [扳手状菜单按钮](/chromium/zh/os-specific/mac_os_x/wrench_menu_buttons.md)
* [Other](/chromium/zh/other.md)
  * [64位支持](/chromium/zh/other/64-bit_support.md)
  * [浏览器组件/层级组件](/chromium/zh/other/browser_components___layered_components.md)
  * [闭合编译Chrome代码](/chromium/zh/other/closure_compiling_chrome_code.md)
  * [内容模块/内容API](/chromium/zh/other/content_module___content_api.md)
  * [正在编写的设计文档(wiki)](/chromium/zh/other/design_docs_that_still_need_to_be_written__wiki_.md)
  * [可移植性:进程内重构关键浏览器进程架构](/chromium/zh/other/in_progress_refactoring_of_key_browser-process_architecture_for_porting.md)
  * [网络实验](/chromium/zh/other/network_experiments.md)
  * [将float的inlinebox转为layout单元](/chromium/zh/other/transitioning_inlineboxes_from_floats_to_layoutunits.md)

> 如果觉得我的文章对您有帮助的话，不妨点个star


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nan03s-organization.gitbook.io/chromium/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
