摘要:
接Chrome RenderText分析(1) 继续分析以下步骤 一.TextRun结构 struct TextRun { TextRun(); ~TextRun(); ui::Range range; Font font; // A gfx::Font::FontStyle flag to specify bold and italic styles. // S... 阅读全文
随笔分类 - chrome源码剖析
Chrome RenderText分析(1)
2013-10-20 17:40 by Clingingboy, 1782 阅读, 收藏, 编辑
摘要:
先从一些基础的类开始 1.Range // A Range contains two integer values that represent a numeric range, like the // range of characters in a text selection. A range is made of a start and end // positio... 阅读全文
chrome ui源码剖析-Accelerator(快捷键)
2013-08-06 00:19 by Clingingboy, 1123 阅读, 收藏, 编辑
摘要:
好久没有自己写东西了,chrome有着取之不尽的技术精华供学习,记录一下. 源码目录: http://src.chromium.org/viewvc/chrome/trunk/src/ui/base/accelerators/ 一.Accelerator 类 // This class describe a keyboard accelerator (or keyboard shor... 阅读全文