summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* This patch implements the necessary plumbing to allow ↵alexst@chromium.org2013-04-127-11/+84
| | | | | | | | | | | | WebExternalTextureLayerClient to be used with texture mailboxes, which allows WebGL and Canvas2D to work with ubercompositor. CC part of this patch requests the client to prepare a mailbox instead of a texture. Compositor bindings handle interaction with Blink as well as callbacks associated with mailboxes being released. BUG=179371 Review URL: https://chromiumcodereview.appspot.com/12374028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193807 0039d316-1c4b-4281-b951-d872f2087c98
* Remove 'recursive' flag on FileSystemFileUtil::CreateFileEnumeratortommycli@chromium.org2013-04-1111-44/+36
| | | | | | Review URL: https://chromiumcodereview.appspot.com/13939004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193749 0039d316-1c4b-4281-b951-d872f2087c98
* Clear browsing data clears data for type kStorageTypeTemporary but not for ↵cramya@chromium.org2013-04-113-4/+9
| | | | | | | | | | | | | | kStorageTypeSyncable. This bug is visible in Android for mail.google.com Even after Clearing all the data, the syncable data was left behind. This CL should fix this bug. BUG=180249 Review URL: https://chromiumcodereview.appspot.com/13357004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193738 0039d316-1c4b-4281-b951-d872f2087c98
* [Android WebView] Enable legacy support for target-densityDpimnaganov@chromium.org2013-04-112-1/+5
| | | | | | | | | Turns on the corresponding setting in Blink for AW. Review URL: https://chromiumcodereview.appspot.com/13814013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193630 0039d316-1c4b-4281-b951-d872f2087c98
* Purge in-memory localStorage areas if the # of areas exceeds the limitkinuko@chromium.org2013-04-117-5/+52
| | | | | | | | | BUG=178980 TEST=manual (verified the memory stops increasing at a certain level) Review URL: https://chromiumcodereview.appspot.com/12398008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193585 0039d316-1c4b-4281-b951-d872f2087c98
* Modify kUseExternalVideoSurface to have threshold value.wonsik@chromium.org2013-04-113-10/+26
| | | | | | | | | | | | | Modify kUseExternalVideoSurface from on-off flag to threshold in terms of number of pixels per video frame. BUG=180197 R=sievers@chromium.org,scherkus@chromium.org Review URL: https://chromiumcodereview.appspot.com/13775009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193562 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite scoped_array<T> to scoped_ptr<T[]> in webkit.dcheng@chromium.org2013-04-111-1/+1
| | | | | | | | | | | | This is a manual cleanup pass using sed for files which are not built on Linux. BUG=171111 Review URL: https://chromiumcodereview.appspot.com/13912009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193548 0039d316-1c4b-4281-b951-d872f2087c98
* Simple PMP reader to parse Picasa's metadatatommycli@chromium.org2013-04-1110-0/+918
| | | | | | | | | | For Media Galleries project. BUG=151701 Review URL: https://chromiumcodereview.appspot.com/12704024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193537 0039d316-1c4b-4281-b951-d872f2087c98
* cursor: Add dummy implementations for cursors, and use it for non-x11 chromeos.sadrul@chromium.org2013-04-102-0/+40
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/13841021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193490 0039d316-1c4b-4281-b951-d872f2087c98
* Remove URL fragment from referrer HTTP header (to comply with rfc2616) when ↵mef@chromium.org2013-04-101-1/+1
| | | | | | | | | | | | | | opening link using "Open Link in New Tab" option. Change URLRequest::set_referrer to URLRequest::SetReferrer which sanitizes referrer by removing URL fragment, user name and password. Remove URLRequest::GetSanitizedReferrer as URLRequest::referrer is now sanitized during set. BUG=168213 TEST=net_unittests, browser_tests Review URL: https://chromiumcodereview.appspot.com/12569007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193482 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore symlinks in Drag-and-drop'ed folderkinuko@chromium.org2013-04-102-59/+19
| | | | | | | | | | | | | | This patch also deprecate recursive enumeration support in IsolatedFileUtil as we no longer need it (http://crbug.com/176443) and adding symlink fix in the dead code doesn't sound productive. BUG=176443,229849 TEST=IsolatedFileUtilTest.ReadDirectoryTest Review URL: https://chromiumcodereview.appspot.com/13850004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193413 0039d316-1c4b-4281-b951-d872f2087c98
* Add a ConvertableToTraceFormat type to the trace framework.dsinclair@chromium.org2013-04-101-1/+1
| | | | | | | | | | | | | | This patch allows us to have larger objects passed into the trace framework which, at the point when we output tracing data, will request they be converted to TraceFormat by calling the AppendAsTraceFormat method. BUG= Review URL: https://chromiumcodereview.appspot.com/13590005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193388 0039d316-1c4b-4281-b951-d872f2087c98
* FileAPI: Run database recovery on IOError.tzik@chromium.org2013-04-106-2/+98
| | | | | | | | | | | | In this case, the databases was actually corrupted but the database classes did not try to repair. After this CL lands, these corruption should be repaired correctly. TEST="content_unittests: FileSystemDirectoryDatabaseTest.TestRepairDatabase_MissingManifest & FileSystemOriginDatabaseTest.DatabaseRecoveryForMissingManifestTest" BUG=229773 Review URL: https://chromiumcodereview.appspot.com/13946004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193380 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor FileSystemMountPointProvider::CreateFileStream{Reader,Writer}nhiroki@chromium.org2013-04-1014-53/+64
| | | | | | | | | | | | FileSystemMountPointProvider::CreateFileStream{Reader,Writer} should return scoped_ptr instead of raw pointer so that the caller can make sure it obtains the ownership of the returned Reader/Writer. BUG=175934 TEST=should pass all existing tests Review URL: https://chromiumcodereview.appspot.com/13811013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193354 0039d316-1c4b-4281-b951-d872f2087c98
* WebSocket: Remove runtime disable flagtoyoshim@chromium.org2013-04-092-2/+0
| | | | | | | | | | | | | Now, Chrome doesn't need --disable-web-sockets flag any more. This flag was added due to security concern in early days. BUG=none TEST=layout tests, browser_tests, net_unittests, and so on Review URL: https://chromiumcodereview.appspot.com/13913004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193205 0039d316-1c4b-4281-b951-d872f2087c98
* Add thunk code for PPB_Ext_Socket_Dev.yzshen@chromium.org2013-04-091-0/+1
| | | | | | | | | | | | With this CL the interface will work, but requests/responses go by way of the renderer process. More work will be needed to create a direct plugin-browser channel. BUG=226303 TEST=None Review URL: https://chromiumcodereview.appspot.com/13801006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193154 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite std::string("") to std::string(), Linux edition.dcheng@chromium.org2013-04-0920-50/+61
| | | | | | | | | | | | | | | | | | | This patch was generated by running the empty_string clang tool across the Chromium Linux compilation database. Implicitly or explicitly constructing std::string() with a "" argument is inefficient as the caller needs to emit extra instructions to pass an argument, and the constructor needlessly copies a byte into internal storage. Rewriting these instances to simply call the default constructor appears to save ~14-18 kilobytes on an optimized release build. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193020 Review URL: https://codereview.chromium.org/13145003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193040 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Add FileSystemContext::CreateFileStreamWriterkinuko@chromium.org2013-04-093-6/+22
| | | | | | | | | | | | | Works as well as CreateFileStreamReader, just dispatches the appropriate MountPointProvider's corresponding method. BUG=none TEST=no new tests, cleanup only Review URL: https://chromiumcodereview.appspot.com/13591004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193038 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Rewrite std::string("") to std::string(), Linux edition."dcheng@chromium.org2013-04-0920-61/+50
| | | | | | | | | | | | | | This reverts commit e59558b78e8c6a1b0bd916a724724b638c3c91b6. Revert "Fix build after r193020." This reverts commit 558a35897f6b3ffbcaefde927c1f150b815d140a. Revert "Really fix build after r193020." This reverts commit e3748a79b523a8d365d4a33ef986eebb4186fa78. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193030 0039d316-1c4b-4281-b951-d872f2087c98
* Really fix build after r193020.dcheng@chromium.org2013-04-091-1/+1
| | | | | | | | | | | Argh. Macros are evil. BUG= TBR=darin Review URL: https://codereview.chromium.org/13937002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193029 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite std::string("") to std::string(), Linux edition.dcheng@chromium.org2013-04-0920-50/+61
| | | | | | | | | | | | | | | | | This patch was generated by running the empty_string clang tool across the Chromium Linux compilation database. Implicitly or explicitly constructing std::string() with a "" argument is inefficient as the caller needs to emit extra instructions to pass an argument, and the constructor needlessly copies a byte into internal storage. Rewriting these instances to simply call the default constructor appears to save ~14-18 kilobytes on an optimized release build. BUG=none Review URL: https://codereview.chromium.org/13145003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193020 0039d316-1c4b-4281-b951-d872f2087c98
* Delete layout_viewport_size.aelias@chromium.org2013-04-092-4/+4
| | | | | | | | | | | | | | | | This value is redundant. We can use the root cliprect size or the device_viewport_size divided by device_scale_factor instead. This value was only used by PinchZoomScrollbars, I replaced it with one that should be equivalent. NOTRY=true BUG=229098 Review URL: https://chromiumcodereview.appspot.com/13637017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193013 0039d316-1c4b-4281-b951-d872f2087c98
* Implement pinch zoom for bottom-right fixed-position elementstrchen@chromium.org2013-04-092-7/+29
| | | | | | | | | | | | | | | This patch adds a fixed container size compensation matrix to fixed-position layers, so fixed-position layers can be anchored to right / bottom edge during a pinch gesture. WebKit side: https://bugs.webkit.org/show_bug.cgi?id=111670 BUG=160223 Review URL: https://chromiumcodereview.appspot.com/12552004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192999 0039d316-1c4b-4281-b951-d872f2087c98
* Add xxxFloat() methods to WebMediaPlayer implementations.acolwell@chromium.org2013-04-086-8/+128
| | | | | | | | | | | | | These methods will be used to transition the corresponding WebMediaPlayer methods from using floats to using doubles instead. BUG=227156 TEST=All tests pass. No change in functionality. Review URL: https://chromiumcodereview.appspot.com/13431009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192902 0039d316-1c4b-4281-b951-d872f2087c98
* LayerTreeHost::SetAnimationEvents should use AnimationRegistrarajuma@chromium.org2013-04-081-2/+1
| | | | | | | | | | | | | | | This makes LayerTreeHost::SetAnimationEvents iterate over all active animation controllers registered with its AnimationRegistrar instead of iterating over the layer tree. This allows us to properly deliver animation events to a layer that has been temporarily removed from the layer tree when SetAnimationEvents is called. BUG=196284 Review URL: https://chromiumcodereview.appspot.com/13465014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192835 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite scoped_array<T> to scoped_ptr<T[]> in media/ and webkit/.dcheng@chromium.org2013-04-0721-41/+41
| | | | | | | | | | This changelist was automatically generated using a clang tool. BUG=171111 Review URL: https://codereview.chromium.org/13752002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192779 0039d316-1c4b-4281-b951-d872f2087c98
* Remove developer_extras_enabled from WebPreferencesyurys@chromium.org2013-04-064-9/+0
| | | | | | | | | | | | DevTools are always enabled in Content. R=pfeldman BUG=None Review URL: https://chromiumcodereview.appspot.com/13529010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192746 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove Synchronous MTP delegate support now that all MTPDelegates ↵thestig@chromium.org2013-04-0611-484/+4
| | | | | | | | | | are async. BUG=154835 Review URL: https://chromiumcodereview.appspot.com/13687004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192743 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a compile assert macro undef to match definewolenetz@chromium.org2013-04-061-1/+1
| | | | | | | | | | | | | | | | This compile assert was not correctly undefined previously. BUG= TEST=Compile succeeds on linux x64, layout tests pass (with expected mp4 IsTypeSupported true on build with ffmpeg_branding=Chrome proprietary_codecs=1, all media_unittests pass except for unrelated AudioInputVolumeTest.InputVolumeTest R=acolwell@chromium.org Review URL: https://chromiumcodereview.appspot.com/13594012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192724 0039d316-1c4b-4281-b951-d872f2087c98
* [Media Galleries] Switch Mac MTP delegate to async interface.gbillock@chromium.org2013-04-051-1/+1
| | | | | | | | | BUG=None Review URL: https://chromiumcodereview.appspot.com/12255023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192631 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable DomSerializerTests.SerializeXMLDocWithBuiltInEntitiesyurys@chromium.org2013-04-051-1/+2
| | | | | | | | | R=vsevik,pfeldman BUG=227030 Review URL: https://codereview.chromium.org/13674009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192574 0039d316-1c4b-4281-b951-d872f2087c98
* Enable media stream layout test with content_shell. wjia@chromium.org2013-04-046-0/+166
| | | | | | | | | | | When using content_shell to run media stream layout test, it's needed to use override createMediaPlayer because the media stream is generated by TestMediaStreamClient, not MediaStreamImpl which is used by RenderViewImpl::createMediaPlayer. This patch is needed by patch in https://bugs.webkit.org/show_bug.cgi?id=113633, and they work together to enable media stream layout test in content_shell. BUG=222906 Review URL: https://codereview.chromium.org/13159005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192373 0039d316-1c4b-4281-b951-d872f2087c98
* Add validation framework to Copy or Move operations in fileapi.vandebo@chromium.org2013-04-0416-0/+504
| | | | | | | | | BUG=176566 Review URL: https://chromiumcodereview.appspot.com/12886042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192246 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Make components build work in 64bit mode.thakis@chromium.org2013-04-031-0/+2
| | | | | | | | | | | | | | | | | | | | - CoreAnimation moved from Cocoa to QuartzCore - symbol visibility now applies to ObjC interfaces, so many of these need _EXPORT annotations - private ivars are now always hidden symbols, so categories in one module can't access private ivars of interfaces from another module (the only instance of this was ui_localizer.mm, the fix was to make the IBOutlet ivars of a class in GTM @protected instead). - to not require _EXPORT annotations in GTM (which is third-party code), build the GTM files without -fvisibility=hidden when doing a components build. BUG=190508 TBR=avi,tony Review URL: https://codereview.chromium.org/13507002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192155 0039d316-1c4b-4281-b951-d872f2087c98
* Split the power monitoring feature from SystemMonitorhongbo.min@intel.com2013-04-031-0/+2
| | | | | | | | | | | | | | | | | | The SystemMonitor is a mixed monitor which not only monitors the power state changes but also the devices changes. This patch is to separate the power monitor from SystemMonitor as a new class PowerMonitor which is dedicated to monitor power state. The next step is to seek a opportunity to refactor SystemMonitor as something like DeviceMonitor. BUG=149059 TEST=base_unittests --gtest_filter=PowerMonitorTest.* Review URL: https://chromiumcodereview.appspot.com/10959020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192114 0039d316-1c4b-4281-b951-d872f2087c98
* AppCache: support custom schemes in appcache interfaces.pfeldman@chromium.org2013-04-032-1/+21
| | | | | | Review URL: https://codereview.chromium.org/13469005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192064 0039d316-1c4b-4281-b951-d872f2087c98
* [MIPS] Fix webkit deserialization alignment problempetarj@mips.com2013-04-031-4/+6
| | | | | | | | | | | | | | | | | Reading double from the pickle uses pointer cast to double pointer, which can be unaligned, and it crashes on on ldc1 instruction on MIPS arch. Writing to the pickle uses memcpy(), so there is no alignment problem, and this change does the same for reading. Original patch by Paul Lind. BUG= https://code.google.com/p/chromium/issues/detail?id=130022 TEST=make chrome Review URL: https://chromiumcodereview.appspot.com/13460003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192000 0039d316-1c4b-4281-b951-d872f2087c98
* Move key system constants to separate file.kjyoun@google.com2013-04-034-125/+184
| | | | | | | | | | | | As a result, in order to override key systems/plugin mapping, only constant table in a separate file has to be replaced. BUG=179769 TEST=content_unittests Review URL: https://chromiumcodereview.appspot.com/13470004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191950 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Fix remaining linker errors for components buildyfriedman@chromium.org2013-04-031-1/+2
| | | | | | | | | | | Miscellaneous missing dependencies and a few more exports. BUG=158821 Review URL: https://chromiumcodereview.appspot.com/12988003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191944 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB: Ensure connections arriving for terminated workers are closedjsbell@chromium.org2013-04-022-2/+3
| | | | | | | | | | | | | | If a renderer is closed, the browser cleans up orphaned in-flight connections. But if a worker is terminated the renderer needs to do this. Have the message filter check for a terminated worker message loop, and do the necessary connection cleanup. BUG=123418 Review URL: https://chromiumcodereview.appspot.com/13349005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191937 0039d316-1c4b-4281-b951-d872f2087c98
* Fire kClientError in the event of Decryptor creation failure.xhwang@chromium.org2013-04-021-1/+1
| | | | | | | | | | For now AesDecryptor can never fail to be created, so this error pretty much means that the plugin cannot be created/loaded. Review URL: https://chromiumcodereview.appspot.com/13472014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191926 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up media EME UMA reporting in WebMediaPlayerImpl.xhwang@chromium.org2013-04-021-20/+31
| | | | | | | | Add two helper functions so that we don't call Histogram code directly. Review URL: https://chromiumcodereview.appspot.com/13401002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191874 0039d316-1c4b-4281-b951-d872f2087c98
* Add Query() support to FileRef.teravest@chromium.org2013-04-022-2/+99
| | | | | | | | | | | | | This change brings Query() support back to FileRef for in-process and out-of-process plugins. I've added testing for a file that exists and one that doesn't. BUG=170721 Review URL: https://chromiumcodereview.appspot.com/12817009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191805 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 191795 "Move key system constants to separate file."tommyw@chromium.org2013-04-024-183/+125
| | | | | | | | | | | | | | | | > Move key system constants to separate file. > > As a result, in order to override key systems/plugin mapping, only constant table in a separate file has to be replaced. > > BUG=179769 > TEST=content_unittests > > Review URL: https://chromiumcodereview.appspot.com/12882003 TBR=kjyoun@google.com Review URL: https://codereview.chromium.org/13463002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191801 0039d316-1c4b-4281-b951-d872f2087c98
* Move key system constants to separate file.kjyoun@google.com2013-04-024-125/+183
| | | | | | | | | | | As a result, in order to override key systems/plugin mapping, only constant table in a separate file has to be replaced. BUG=179769 TEST=content_unittests Review URL: https://chromiumcodereview.appspot.com/12882003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191795 0039d316-1c4b-4281-b951-d872f2087c98
* Extract metadata for media elementsqinmin@chromium.org2013-04-022-2/+7
| | | | | | | | | | | | In our current html5 media implemtation, we pretend everything is loaded and gave a temporary duration of 100 seconds to WebKit. However, this will break things if developer do sth like video.seek(video.duration). Also, width and height information are not available. This change adds a thread in browser process to extract media metadata from the elements, before reporting to WebKit that media is loaded. This only works if wifi or ethernet is available. Review URL: https://chromiumcodereview.appspot.com/12518035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191786 0039d316-1c4b-4281-b951-d872f2087c98
* Switch TouchFlingGestureCurveUnittest to use WebFloatSize.aelias@chromium.org2013-04-021-10/+10
| | | | | | | | | | | | | | This was a unit test I forgot to update when I originally changed the type in r186611. As a result, compile is failing after I deleted the old method in WebKit r147357, blocking the WebKit roll. NOTRY=true BUG=180331 Review URL: https://chromiumcodereview.appspot.com/13386016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191734 0039d316-1c4b-4281-b951-d872f2087c98
* Exclude OS_CHROMEOS when using WIDEVINE_CDM_MIN_GLIBC_VERSION.xhwang@google.com2013-04-022-8/+11
| | | | | | | | | | BUG=224767 NOTRY=true R=ddoriwin@chromium.org Review URL: https://codereview.chromium.org/13415002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191732 0039d316-1c4b-4281-b951-d872f2087c98
* Check glibc version for Widevine CDM.xhwang@chromium.org2013-04-012-4/+30
| | | | | | | | | BUG=224767 Review URL: https://chromiumcodereview.appspot.com/13314008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191702 0039d316-1c4b-4281-b951-d872f2087c98
* Unlike GetOSFileDescriptor, this API is asynchronous.hamaji@chromium.org2013-04-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Both GetOSFileDescriptor and RequestOSFileHandle use GetOSFileDescriptor chrome IPC for now. I'm planning to remove call sites of GetOSFileDescriptor PPAPI and rename GetOSFileDescriptor chrome IPC to RequestOSFileHandle. - Add --allow-get-os-file-handle-api. With this flag, 1. browser_tests can test this API and 2. we can use this API even before this issue is resolved: http://crbug.com/224123 - Add TestRequestOSFileHandle in FileIO. This checks if read, write, lseek, and mmap work for FD fetched by this API. - PepperFileIOHost::OnHostMsgGetOSFileDescriptor use ShareHandleWithRemote to pass a file handle - Fix ShareHandleWithRemote for in-process API BUG=183015 TEST=trybots, browser_tests Review URL: https://chromiumcodereview.appspot.com/13032002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191616 0039d316-1c4b-4281-b951-d872f2087c98