Wwez@chromium.orgFix pp::View and pp::BrowserFontTrusted wrapper version checks.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Add DEPS include rules so we don't accidentally use chromium stuff. I basically turned off everything that is turned on in the root DEPS file, and then selectively turned stuff on. I had to provide some macros to replace the use of base/compilerspecific.h and build/buildconfig.h. I'm not sure if we have a coherent understanding of private vs trusted yet, but my thinking is that trusted can do anything, but private can't use trusted (it sounds like we may start selectively exposing some private interfaces to installed apps). BUG=None TEST=None Review URL: http://codereview.chromium.org/8764004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112512 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Fix pp::View and pp::BrowserFontTrusted wrapper version checks. BUG=107398 TEST=Existing unit-tests. Review URL: https://chromiumcodereview.appspot.com/10454095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139940 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Rename PPB_Font to PPB_BrowserFont_Trusted. PPB_Font can never be exported to NaCl since it relies on in-process WebKit. So I'm renaming this to BrowserFont_Trusted to imply that this is the way that the browser would render fonts in the content area (if we export a font API to NaCl in the future, it will likely be a simpler native font API). The new API is binary compatible with the old font API, so I map PPB_Font to PPB_BrowserFont_Trusted for now to avoid breaking Flash (which uses this). When we update Flash and push it out, we can remove the mapping and PPB_Font. This does a lot of cleanup of the font implementation. It had complexity from the fact that it used to run on a different thread. I was able to remove a lot of code. Review URL: https://chromiumcodereview.appspot.com/9360045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122564 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Modified the pepper file chooser API to support filtering files by extensions. Previously you could filter only by MIME type. This adds support for filtering by specific extensions as well, e.g. .txt,.html. This change is aligned with the web platform which now allows filtering by file extension for <input> elements (http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#attr-input-accept). This also changes the linux implementation of the file dialog (SelectFileDialogImplGTK). In the past, it would turn file extensions to filter into MIME types. However this is a bit silly because in FileSelectHelper we do the reverse (turn MIME types into a list of file extensions to filter by). It also prevents us from filtering by a specific extensions when this is really what is desired. BUG=129251 TEST= Review URL: https://chromiumcodereview.appspot.com/10414085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139434 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Modified the pepper file chooser API to support filtering files by extensions. Previously you could filter only by MIME type. This adds support for filtering by specific extensions as well, e.g. .txt,.html. This change is aligned with the web platform which now allows filtering by file extension for <input> elements (http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#attr-input-accept). This also changes the linux implementation of the file dialog (SelectFileDialogImplGTK). In the past, it would turn file extensions to filter into MIME types. However this is a bit silly because in FileSelectHelper we do the reverse (turn MIME types into a list of file extensions to filter by). It also prevents us from filtering by a specific extensions when this is really what is desired. BUG=129251 TEST= Review URL: https://chromiumcodereview.appspot.com/10414085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139434 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add FileIOTrusted class. BUG=none TEST=none Review URL: http://codereview.chromium.org/8965007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114720 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Add FileIOTrusted class. BUG=none TEST=none Review URL: http://codereview.chromium.org/8965007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114720 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 |