summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* (reland)sheu@chromium.org2014-02-0713-282/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove threading from GpuVideoAcceleratorFactories This change removes all the threading considerations from GpuVideoAcceleratorFactories (and its implementation, RendererGpuVideoAcceleratorFactories). Most notably, it removes Abort() and associated functions and state. And with the removal of Abort() and friends, we can also remove its Clone() interface. All of the previously abortable operations on the RGVAF (with the exception of ReadPixels()) can be made non-abortable, with no functional difference, due to the way the users of RGVAF function. These three users are WebMediaPlayerImpl/GpuVideoDecoder, RTCVideoDecoder, and RTCVideoEncoder, and they can be made non-abortable because: WebMediaPlayerImpl/GpuVideoDecoder: * Abort() is called from WebMediaPlayerImpl::Destroy(). It has no effect, as: * All the RGVAF entry points are called from the the RGVAF message loop from GpuVideoDecoder (except for ReadPixels()), so the Abort() has no effect on them. RTCVideoDecoder: * Abort() is called from RTCVideoDecoder::WillDestroyCurrentMessageLoop() for the RGVAF message loop. It has no effect, as: * Amost all the RGVAF entry points are called from the RGVAF message loop (except for ReadPixels()), so Abort() has no effect on them. * The other exception is CreateVideoDecodeAccelerator(), which is called from RTC's main thread. But as the Abort() is called from WillDestroyCurrentMessageLoop() for the RGVAF message loop itself, it is guaranteed to occur after any tasks posted to the RGVAF message loop by CreateVideoDecodeAccelerator() has completed, and so the Abort() has no effect. RTCVideoEncoder: * Abort() is called from RTCVideoDecoder::Release(). It has no effect, as: * All the RGVAF entry points are called from the RGVAF message loop. The only functional difference remaining is that making ReadPixels() non-abortable. This is preferable, as as long as a completed video accelerator texture is available, it should be readable. We also specify that all calls to ReadPixels must be made on the RGVAF message loop, like all other entry points, and leave it up to the users of ReadPixels() to handle thread trampolining if necessary. This is a revert of a revert of a revert of a revert of r247480. Yes. BUG=306333 TEST=local build, run on CrOS snow; build, run unittests on desktop Linux TBR=jamesr@chromium.org, wuchengli@chromium.org, fischman@chromium.org Review URL: https://codereview.chromium.org/141663005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249638 0039d316-1c4b-4281-b951-d872f2087c98
* Update remaining references to the NPAPI test plugin.tfarina@chromium.org2014-02-072-3/+3
| | | | | | | | | | | | | This should fix all the references to TestNetscapePlugIn and blink_test_plugin.gyp:blink_test_plugin. BUG=331302 TEST=None R=jochen@chromium.org,mark@chromium.org Review URL: https://codereview.chromium.org/154573003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249637 0039d316-1c4b-4281-b951-d872f2087c98
* Add additional traces to the browser touch and gesture pipelinejdduke@chromium.org2014-02-077-0/+19
| | | | | | | | | | | | There are several dark areas in telemetry for our browser input pipeline, particularly for synthetic events. Add some additional trace points to refine our understanding of costs for the different stages. BUG=341613 Review URL: https://codereview.chromium.org/147243003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249636 0039d316-1c4b-4281-b951-d872f2087c98
* [webcrypto] Require optional JWK properties to have the correct type.eroman@chromium.org2014-02-074-76/+193
| | | | | | | | BUG=245025 Review URL: https://codereview.chromium.org/150303003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249614 0039d316-1c4b-4281-b951-d872f2087c98
* Disable RenderViewBrowserTest.ConfirmCacheInformationPlumbed on Android (Flaky)piman@chromium.org2014-02-071-1/+9
| | | | | | | | | BUG=341745 TBR=rdsmith Review URL: https://codereview.chromium.org/139233007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249607 0039d316-1c4b-4281-b951-d872f2087c98
* Android: Fix null ptr derefsievers@chromium.org2014-02-071-2/+2
| | | | | | | | | BUG=341698 NOTRY=True Review URL: https://codereview.chromium.org/133373008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249598 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 249516 "Move DidCommitProvisionalLoad code from RenderVie..."piman@chromium.org2014-02-0739-1263/+967
| | | | | | | | | | | | | | | | | | > Move DidCommitProvisionalLoad code from RenderView to RenderFrame. > > BUG=304341 > R=creis@chromium.org > > Review URL: https://codereview.chromium.org/135723003 Casuses a UAF on ASAN bots in SigninBrowserTest.SigninSkipForNowAndGoBack http://build.chromium.org/p/chromium.memory/builders/Linux%20ASAN%20Tests%20%283%29/builds/22688/steps/browser_tests/logs/stdio TBR=nasko@chromium.org Review URL: https://codereview.chromium.org/152143010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249583 0039d316-1c4b-4281-b951-d872f2087c98
* Drop excessive StartCapture messages in video capture host.wjia@chromium.org2014-02-071-1/+5
| | | | | | | | | | | | | | A renderer process is supposed to send StartCapture message for a specific device only once before a StopCapture message. The DCHECK() is not good enough to handle compromised renderer process. Drop all StartCapture messages if that device has been started in video capture host. BUG=339314 R=jiayl@chromium.org Review URL: https://codereview.chromium.org/150103011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249577 0039d316-1c4b-4281-b951-d872f2087c98
* Make content::TitleWatcher robust to fast-running testssheu@chromium.org2014-02-071-0/+1
| | | | | | | | | | | | | | | | | | | | Tests that use TitleWatcher usually have the use pattern: 1. Test harness runs test (usually JS in a page). 2. Test harness waits for window title to change using TitleWatcher. 3. Test execution completes and changes window title to notify harness. 4. TitleWatcher is notified of window title and unblocks test harness. In the case that the test execution runs fast enough to change the window title before the TitleWatcher begins its wait, the title change is never noticed and the test appears to hang/timeout. Fix this. BUG=341265 TEST=local build, run unittests on desktop Linux Review URL: https://codereview.chromium.org/156363002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249575 0039d316-1c4b-4281-b951-d872f2087c98
* Check audio_bytes_per_frame in ↵xhwang@chromium.org2014-02-071-0/+2
| | | | | | | | | | | | | | ContentDecryptorDelegate::DeserializeAudioFrames(). This is to avoid division-by-zero error if the audio format isn't set properly. TBR=dmichael@chromium.org BUG=169105 Review URL: https://codereview.chromium.org/149473006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249571 0039d316-1c4b-4281-b951-d872f2087c98
* Add a context menu to the aura/views content shellcbiesinger@chromium.org2014-02-079-48/+100
| | | | | | | | | | | | | | | | | This also removes the "Debug" menu, because the functionality moved to the context menu. I added a function to Shell and ShellDevtoolsFrontend to inspect a specific element when opening devtools. This effectively reverts most of https://codereview.chromium.org/151823002/ R=pfeldman@chromium.org BUG= Review URL: https://codereview.chromium.org/140333009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249566 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline pixel test because of changes to android screenshot.powei@chromium.org2014-02-071-3/+3
| | | | | | | | | | BUG=341686 R=kbr@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/157133002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249565 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Don't create GL context for GetSharedSurfaceHandle()sievers@chromium.org2014-02-071-5/+0
| | | | | | | | | BUG=329737 NOTRY=True Review URL: https://codereview.chromium.org/148243011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249564 0039d316-1c4b-4281-b951-d872f2087c98
* Enlarge the maximum sizes of EME message parametes.ycheo@chromium.org2014-02-071-4/+6
| | | | | | | | BUG=341411 Review URL: https://codereview.chromium.org/142413015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249548 0039d316-1c4b-4281-b951-d872f2087c98
* Start EmbeddedWorker during registration - take 2alecflett@chromium.org2014-02-0717-114/+314
| | | | | | | | | | | | This adds the starting of the server worker to the registration job pipeline. Eventually this will also dispatch the 'install' event. A second version of this, based on kinuko's work Review URL: https://codereview.chromium.org/140743012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249544 0039d316-1c4b-4281-b951-d872f2087c98
* Create a visible window with class name Chrome_RenderWidgetHostHWND which ↵ananta@chromium.org2014-02-0712-164/+415
| | | | | | | | | | | | | | | | | | | | | | | | | | corresponds to the bounds of the web contents. This is done to ensure that legacy drivers for trackpoints/trackpads and others which use track gestures for back forward navigations work. These drivers call the WindowFromPoint API and get the process name. For Chrome they look for the old Window class Chrome_RenderWidgetHostHWND. They use this to determine whether to send mouse wheels and special keyboard message for back forward navigations, etc. With Aura we don't have this window class anymore causing Chrome to not work well for a number of users. To workaround this in the shortterm, a dummy HWND with the Chrome_RenderWidgetHostHWND class name is created. This window is visible and handles mouse events. It is transparent to ensure that it does not need to draw. To ensure that we don't mess wit mouse events too much we set capture to the parent window as needed. This window also serves as the parent to windowless NPAPI plugins like Flash. Additionally the dummy accessibility window with this class name has been removed and the functionality has been consolidated into the newly added LegacyRenderWidgetHostHWND class which provides this functionality. BUG=326022,335941 R=cpu@chromium.org, scottmg@chromium.org, sky@chromium.org, cpu, scottmg TBR=jam Review URL: https://codereview.chromium.org/151083002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249537 0039d316-1c4b-4281-b951-d872f2087c98
* Make webrtc-internals graphs handle float numbers better.jiayl@chromium.org2014-02-061-2/+3
| | | | | | | | | | | It used to be limited to integer when the value <1024, now changed to allow up to 2 decimal digits. BUG= Review URL: https://codereview.chromium.org/137703013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249528 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb network stack information about existence of cached copyrdsmith@chromium.org2014-02-0613-35/+302
| | | | | | | | | | | | | | | | | | | through to error page. Specifically, add a "stale_copy_in_cache" argument to all of (ordered from Browser->Renderer): * ResourceMsg_RequestComplete IPC message. * ResourceDispatcher::OnRequestComplete * ResourceLoaderBridge::Peer::OnCompletedRequest. * All subclasses of RLB::P::OnCompleted Request, including WebURLLoaderImpl::context::OnCompletedRequest. * Blink WebURLError and ResourceError classes (https://codereview.chromium.org/138493002). * LocalizedError::GetStrings. This is a paired commit with the blink CL https://codereview.chromium.org/138493002. That CL must be landed before this one. BUG=329620 Review URL: https://codereview.chromium.org/138513002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249527 0039d316-1c4b-4281-b951-d872f2087c98
* Add IsRestored() interface to NavigationEntry and use it to differentiatehaitaol@chromium.org2014-02-064-0/+11
| | | | | | | | | | normal and restored synced navigations. BUG=340464 Review URL: https://codereview.chromium.org/152233003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249526 0039d316-1c4b-4281-b951-d872f2087c98
* Move DidCommitProvisionalLoad code from RenderView to RenderFrame.nasko@chromium.org2014-02-0639-967/+1263
| | | | | | | | | BUG=304341 R=creis@chromium.org Review URL: https://codereview.chromium.org/135723003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249516 0039d316-1c4b-4281-b951-d872f2087c98
* <webview>: Add better loadabort reason messagesfsamuel@chromium.org2014-02-062-17/+44
| | | | | | | | | | | | | | This CL adds the following loadabort reasons: ERR_INVALID_URL ERR_DISALLOWED_URL_SCHEME ERR_ACCESS_DENIED BUG=341097 Review URL: https://codereview.chromium.org/130183004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249498 0039d316-1c4b-4281-b951-d872f2087c98
* android: Fix ContentUtilBrowserTest to switch to delegated rendering for androidpowei@chromium.org2014-02-061-1/+1
| | | | | | | | | BUG=326363 NOTRY=true Review URL: https://codereview.chromium.org/148343006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249488 0039d316-1c4b-4281-b951-d872f2087c98
* WebGL CTS expectations update.jmadill@chromium.org2014-02-061-8/+0
| | | | | | | | | BUG=322794 NOTRY=true Review URL: https://codereview.chromium.org/156153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249483 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 249293 "Revert 248828 "<webview>: navigating to WebStore ..."fsamuel@chromium.org2014-02-063-41/+40
| | | | | | | | | | | | | | | | | | | | | | | | | > Revert 248828 "<webview>: navigating to WebStore should fire a l..." > > > <webview>: navigating to WebStore should fire a loadabort instead of crashing. > > > > All top-level navigations now get plumbed through: BrowserPluginGuest::LoadURLWithParams. > > URL validation now happens there. If a URL is determined to be inappropriate for a <webview>, > > a loadabort event will fire instead of crashing the <webview> guest content. > > > > BUG=334531 > > Test=WebViewTest.Shim_TestNavigateToWebStore > > > > Review URL: https://codereview.chromium.org/140073002 > > TBR=fsamuel@chromium.org > > Review URL: https://codereview.chromium.org/152783004 TBR=hajimehoshi@chromium.org Review URL: https://codereview.chromium.org/151243004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249482 0039d316-1c4b-4281-b951-d872f2087c98
* Update callers of WebArrayBuffer/V8 conversions to use WebArrayBufferConverteradamk@chromium.org2014-02-063-5/+10
| | | | | | | | | | | | This will allow moving WebArrayBuffer's implementation into Blink's platform dll. Depends on https://src.chromium.org/viewvc/blink?view=rev&revision=166514 BUG=297477 Review URL: https://codereview.chromium.org/149133005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249479 0039d316-1c4b-4281-b951-d872f2087c98
* android: Migrate old content readback to use async readback (and delegated ↵powei@chromium.org2014-02-069-232/+179
| | | | | | | | | | | | | | | | | | | | | | | renderer) This patch removes the use of a helper context for content readback. Instead, we use the async readback API. This patch is also setting delegated renderer as the default for android. android= https://chrome-internal-review.googlesource.com/#/c/153746/ BUG=326363 TBR=sievers@chromium.org NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248827 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249081 Review URL: https://codereview.chromium.org/143803004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249453 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 249431 "Using grayscale screenshots for GestureNav so tha..."acolwell@chromium.org2014-02-061-17/+2
| | | | | | | | | | | | | | | | | This change appears to create a memory leak that make the Linux ASAN bot unhappy. http://build.chromium.org/p/chromium.memory/builders/Linux%20ASAN%20Tests%20%282%29/builds/22676/steps/content_unittests/logs/PurgeScreenshot > Using grayscale screenshots for GestureNav so that the user can clearly tell when screenshot is shown vs. the live content. > > BUG=331895 > > Review URL: https://codereview.chromium.org/136453009 TBR=mfomitchev@chromium.org Review URL: https://codereview.chromium.org/156803002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249451 0039d316-1c4b-4281-b951-d872f2087c98
* Update WebFrameClient implementations to maintain frame tree.dcheng@chromium.org2014-02-061-0/+4
| | | | | | | | | | | BUG=340002 R=boliu@chromium.org, creis@chromium.org, nasko@chromium.org, thestig@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249168 Review URL: https://codereview.chromium.org/148353003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249449 0039d316-1c4b-4281-b951-d872f2087c98
* Load an empty page to set up a renderer process for EmbeddedWorker testskinuko@chromium.org2014-02-064-37/+15
| | | | | | | | | | | | | | | | | | We used to load a test page (service_worker/index.html) that calls 'registerServiceWorker()', but it'll be kicking more background jobs (like registration jobs) after more patches land, so this patch changes the common test setup process to load an empty page which has no (or much less) side effect. This also removes test-only hacky method ServiceWorkerContextCore::GetAllProviderHosts(). BUG=313530 TEST=content_browsertests:ServiceWorker\* Review URL: https://codereview.chromium.org/141163022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249448 0039d316-1c4b-4281-b951-d872f2087c98
* Some more non-Aura Windows cleanup.jam@chromium.org2014-02-066-3523/+8
| | | | | | | | BUG=330735 Review URL: https://codereview.chromium.org/142393003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249437 0039d316-1c4b-4281-b951-d872f2087c98
* Using grayscale screenshots for GestureNav so that the user can clearly tell ↵mfomitchev@chromium.org2014-02-061-2/+17
| | | | | | | | | | when screenshot is shown vs. the live content. BUG=331895 Review URL: https://codereview.chromium.org/136453009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249431 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Pass WebInputEvent by const ref when creating LatencyInfojdduke@chromium.org2014-02-061-1/+1
| | | | | | | | | | | | A raw WebInputEvent should never be constructed, as it's an abstract base class masquerading as a POD struct. Use a const ref WebInputEvent arg to prevent this. NOTRY=true Review URL: https://codereview.chromium.org/155043002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249400 0039d316-1c4b-4281-b951-d872f2087c98
* Back CAOpenGLLayers by CGL contexts instead of NSGL contextsccameron@chromium.org2014-02-067-119/+173
| | | | | | | | | | | | | | | | | | | | | | | | Change CompositingIOSurfaceContext to have a separate path for creating a CGLContextObj directly, rather than creating a NSOpenGLContext and using its CGLContextObj. Add asserts to prevent trying to grab the NSOpenGLContext when using CoreAnimation. Change the CAOpenGLLayer to create the CGLContextObj at creation, and pass a retained pointer to it and its pixel format when requested, and allow the superclass to handle the release of the pixel format and context. This matches the behavior in WebKit. Change DisplayLinkMac to call CVDisplayLinkRelease instead of CFRelease because here is no documentation that CFRelease may be used with a CVDisplayLink. BUG=245900 Review URL: https://codereview.chromium.org/131453012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249398 0039d316-1c4b-4281-b951-d872f2087c98
* Corrections of some WebRTC logging comments.grunell@chromium.org2014-02-062-8/+9
| | | | | | | | | | | Follow-up to https://codereview.chromium.org/140843007/ R=joi@chromium.org, vrk@chromium.org TBR=joi@chromium.org (for render_process_host.h) Review URL: https://codereview.chromium.org/148183002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249392 0039d316-1c4b-4281-b951-d872f2087c98
* Use constant for invalid request_id in EmbeddedWorker messagingkinuko@chromium.org2014-02-063-5/+12
| | | | | | | | | BUG=313530 TEST=existing EW tests should pass Review URL: https://codereview.chromium.org/149673005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249387 0039d316-1c4b-4281-b951-d872f2087c98
* Disable PluginTest.SelfDeletePluginGetUrl, ↵glider@chromium.org2014-02-061-3/+15
| | | | | | | | | | | | | PluginTest.SelfDeletePluginInvoke, PluginTest.SelfDeletePluginInvokeAlert under OS X. BUG=340806 TBR=tfarina@chromium.org Review URL: https://codereview.chromium.org/153173005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249385 0039d316-1c4b-4281-b951-d872f2087c98
* Correctly pass compositor frame data's LatencyInfo into browser compositormiletus@chromium.org2014-02-061-8/+8
| | | | | | | | | | | | | | | It used to be that we only pass GL renderer frame data's LatencyInfo into browser compositor. Now with delegated renderer enabled on android, we need to pass the delegated frame data's LatencyInfo into browser compositor as well. BUG=246034 TEST=telemetry smoothness test on andorid can show touch scroll latency number. Review URL: https://codereview.chromium.org/156393002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249379 0039d316-1c4b-4281-b951-d872f2087c98
* Quota: Remove ifdef macros used for callback cleanupnhiroki@chromium.org2014-02-0610-69/+13
| | | | | | | | | | | | Depends on: https://codereview.chromium.org/135723009/ BUG=338995 TEST=compile Review URL: https://codereview.chromium.org/155283003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249374 0039d316-1c4b-4281-b951-d872f2087c98
* Proxy the PDF API to the PDF plugin.koz@chromium.org2014-02-063-34/+4
| | | | | | | | This makes the Rotate Clockwise / Counterclockwise context menu items work. Review URL: https://codereview.chromium.org/142413006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249366 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable content_browsertests on main waterfall.zty@chromium.org2014-02-061-6/+28
| | | | | | | | | | | Disabled the two tests that are crashing on android. TBR=jam BUG=341142 Review URL: https://codereview.chromium.org/153503005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249358 0039d316-1c4b-4281-b951-d872f2087c98
* [WebMIDI] Increment in-flight bytes in front of sending data.yhirano@chromium.org2014-02-061-7/+9
| | | | | | | | | | | | | | | | | If we call AccumulateMIDIBytesSent in MidiManager::DispatchSendData, it tries to acquire |in_flight_lock_| which is already acquired. Since recursive locking is not supported by base::Lock in general, this may result in a deadlock. This CL fixes it by incrementing |sent_bytes_in_flight_| and releasing the lock in front of calling DispatchSendData. BUG=303596 R=toyoshim@chromium.org Review URL: https://codereview.chromium.org/154153003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249353 0039d316-1c4b-4281-b951-d872f2087c98
* Add PowerSaveBlocker in ContentVideoViewmichaelbai@chromium.org2014-02-063-12/+91
| | | | | | | | | | | This patch add additonal PowerSaveBlocker in ContentVideoView, and will block screen sleep when ContentView's container isn't visiable. BUG=338873 Review URL: https://codereview.chromium.org/141553010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249327 0039d316-1c4b-4281-b951-d872f2087c98
* Quota: Cap size of requested quotanhiroki@chromium.org2014-02-065-13/+16
| | | | | | | | | | | | | | | | This change caps size of requested quota as follows: - Temporary quota is capped at the maximum value of int64 (This is an implementation limitation) - Persistent quota is capped at 10GB per host BUG=256288 TEST=content_unittests NOTRY=true Review URL: https://codereview.chromium.org/150903003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249326 0039d316-1c4b-4281-b951-d872f2087c98
* [FileAPI] Don't fail on ReserveQuota() even on insufficient spacetzik@chromium.org2014-02-061-1/+1
| | | | | | | | | | | Return maximum available quota when there isn't sufficient available space to satisfy the requested amount of quota reservation. BUG=340703 Review URL: https://codereview.chromium.org/155603002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249323 0039d316-1c4b-4281-b951-d872f2087c98
* Do not build the Mock WebThemeEngine implementation on the Mac.dpranke@chromium.org2014-02-061-0/+5
| | | | | | | | | | | Since it doesn't actually work. R=jamesr@chromium.org, piman@chromium.org BUG=327471 Review URL: https://codereview.chromium.org/155443002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249319 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Enable rendering stats recording in browser compositor.ernstm@chromium.org2014-02-068-11/+8
| | | | | | | | | | | | | | | | | | This patch moves the kEnableGpuBenchmarking switch from content switches to cc switches for it to be accessible from ui/compositor/compositor.cc. If the flag is set, the browser compositor enalbes recording of rendering stats in its constructor. The recorded stats will be used by a follow-up patch that switches smoothness benchmark to use time stamps from the browser compositor when available. R=piman@chromium.org,nduca@chromium.org BUG=340747 Review URL: https://codereview.chromium.org/148983007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249307 0039d316-1c4b-4281-b951-d872f2087c98
* Fix logging in SandboxIPCProcess.jorgelo@chromium.org2014-02-061-5/+7
| | | | | | | | | | | Replace 'errno' with PLOG. BUG=None TEST=Chrome builds, runs. Review URL: https://codereview.chromium.org/152923004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249305 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of aura: Remove old GL paths from RenderWidgetHostViewAura. ↵pdr@chromium.org2014-02-065-46/+463
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/131443007/) Reason for revert: This patch is causing hundreds of layouttest timouts in Blink (see: http://goo.gl/6tX16t). My investigation is at crbug.com/341344. I'm going to roll this out for now to try to green the Blink tree. BUG=341344 Original issue's description: > aura: Remove old GL paths from RenderWidgetHostViewAura. > > Frames from the renderer are either legacy software, > software compositing, or ubercomp. Remove the old GL composited > paths that are no longer in use. > > R=piman > BUG=332998 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249226 TBR=piman@chromium.org,fsamuel@chromium.org,phajdan.jr@chromium.org,danakj@chromium.org NOTREECHECKS=true NOTRY=true BUG=332998 Review URL: https://codereview.chromium.org/150153003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249298 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 248828 "<webview>: navigating to WebStore should fire a l..."hajimehoshi@chromium.org2014-02-063-40/+41
| | | | | | | | | | | | | | | | | | | > <webview>: navigating to WebStore should fire a loadabort instead of crashing. > > All top-level navigations now get plumbed through: BrowserPluginGuest::LoadURLWithParams. > URL validation now happens there. If a URL is determined to be inappropriate for a <webview>, > a loadabort event will fire instead of crashing the <webview> guest content. > > BUG=334531 > Test=WebViewTest.Shim_TestNavigateToWebStore > > Review URL: https://codereview.chromium.org/140073002 TBR=fsamuel@chromium.org Review URL: https://codereview.chromium.org/152783004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249293 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r249112: "[webcrypto] Require optional JWK properties to have the ↵eroman@chromium.org2014-02-064-192/+75
| | | | | | | | | | correct type." (It triggered an uninitialized memory error on Mac Valgrind bot.) Review URL: https://codereview.chromium.org/150663011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249270 0039d316-1c4b-4281-b951-d872f2087c98