Google Chrome中本机PDF查看器的源代码在哪里?

时间:2010-09-11 20:49:35

标签: pdf google-chrome chromium

似乎无法在后备箱中找到它。这实际上是开源Chromium项目的一部分吗?或者它的来源实际上并未发布?只提一下我能找到:

http://www.listware.net/201007/chromium-discuss/93274-chromium-discuss-chrome-pdf-viewer-source.html

4 个答案:

答案 0 :(得分:11)

使用Git获取它:

  • $ git clone https://pdfium.googlesource.com/pdfium

查看和贡献:

答案 1 :(得分:2)

Chromium只是自动嵌入包含PDF的页面,自定义插件与Chrome捆绑在一起。 Adobe和Google有一些共同的协议:

您可以右键单击并检查PDF Native Viewer以查看自己,您将看到如下内容:

<html>
<body marginwidth="0" marginheight="0" bgcolor="rgb(38,38,38)">
<embed width="100%" height="100%" name="plugin" src="http://path/to/file.pdf" type="application/pdf">
</body>
</html>

答案 2 :(得分:0)

我只引用Chromium wiki的片段(最后更新于2012年11月20日):

  

Chrome PDF插件使用第三方非免费代码;没有自由软件PDF插件支持我们想要的所有PDF功能(例如填写表格)。 :(

答案 3 :(得分:-1)

它是封闭源代码,就像本机Flash插件一样。