| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unlike normal operation, in layout tests the renderer can request a synchronous
change of its size. The renderer and the browser therefore often run out of
sync. However, it's important that the renderer always acks a resize request
from the browser.
Previously, I tried to track the size the browser expects the renderer to have
in the renderer, however, this turns out to not work when the compositor is in
hidpi mode. Instead of trying to fix this up somehow, just ignore whether or
not the browser is expecting resize acks during layout tests
BUG=244369
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/15878016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204458 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
RenderWidgetHostViews.
This avoids the need for special-case code in tests.
Review URL: https://chromiumcodereview.appspot.com/15793016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204456 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
media_source_browsertest.cc all share similar code to start a web server, load an html page with test parameters and check title changes.
This CL abstracts that code into main media_browsertest implentation and allows EME and MSE browser tests to extend it.
BUG=245497
TESTS=content_browsertests --gtest_filter=*Media*
Review URL: https://chromiumcodereview.appspot.com/16229009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204432 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
In response to comments by Yaron in review 15731002:
https://codereview.chromium.org/15731002/
BUG=
Review URL: https://chromiumcodereview.appspot.com/16453003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204429 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> IndexedDB: Convert decoding functions to pass StringPieces vs. pointers
>
> The ugly decoding functions that do pointer arithmetic were nasty in
> the Blink codebase. Conversion to Chromium and replacing WTF::Vector
> with std::vector made things worse due to iterator differences across
> platforms in C++03. Start replacing all that goo with StringPiece
> which encapsulates the pointers and is a better match for the "slice"
> model of leveldb.
>
> Also avoids a std::string to std::vector<char> data copy when getting
> values - hooray! Standardizes the various DecodeXXX function signatures
> to take a mutable slice and always return a success code.
>
> Key path encode/decode tests were updated to have the "expected" encoded
> data in the test rather than manually computing it.
>
> Left to do: the various Key-type classes still pass around raw pointers,
> and LevelDBSlice should be removed entirely in favor of StringPiece.
>
> BUG=234278
> R=alecflett@chromium.org
>
> Review URL: https://chromiumcodereview.appspot.com/16256014
TBR=jsbell@chromium.org
Review URL: https://codereview.chromium.org/16331006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204417 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of a member variable within each SiteInstance.
The local variable in one SiteInstance was documented to be passed on
to other SiteInstances spawned from it, but that never actually
worked. Even fixing that doesn't serve the use case of allowing
different RenderProcessHostFactories for different trees of
SiteInstances because of the many calls to SiteInstance::CreateForURL
inside RenderViewHostManager.
Review URL: https://chromiumcodereview.appspot.com/15799009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204409 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
The current NEON check in media_android.cc disables webrtc and <video>, which does not require NEON support.
We should only disable webaudio if no NEON is available.
BUG=244018
Review URL: https://chromiumcodereview.appspot.com/16399002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204406 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=NONE
Review URL: https://chromiumcodereview.appspot.com/16394002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204401 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This call has the same behavior but is slightly more efficient since it only
checks that layout is up to date once.
BUG=243314
Review URL: https://chromiumcodereview.appspot.com/16386002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204400 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to track the latency of drawing end-to-end on Macs.
BUG=155367
R=kbr@chromium.org
Review URL: https://codereview.chromium.org/16001008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204398 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/12792010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204393 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Android overscroll effect requires both loading and scaling Android bitmap
resources. This should not affect Application or tab startup time. This patch
delegates resource loading to a worker thread, and defers effect creation until
an overscroll event occurs.
BUG=245903
Review URL: https://chromiumcodereview.appspot.com/15896019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204392 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ugly decoding functions that do pointer arithmetic were nasty in
the Blink codebase. Conversion to Chromium and replacing WTF::Vector
with std::vector made things worse due to iterator differences across
platforms in C++03. Start replacing all that goo with StringPiece
which encapsulates the pointers and is a better match for the "slice"
model of leveldb.
Also avoids a std::string to std::vector<char> data copy when getting
values - hooray! Standardizes the various DecodeXXX function signatures
to take a mutable slice and always return a success code.
Key path encode/decode tests were updated to have the "expected" encoded
data in the test rather than manually computing it.
Left to do: the various Key-type classes still pass around raw pointers,
and LevelDBSlice should be removed entirely in favor of StringPiece.
BUG=234278
R=alecflett@chromium.org
Review URL: https://chromiumcodereview.appspot.com/16256014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204391 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This reduces the number of threads created per media element by one.
TBR=jamesr,jochen
BUG=61293
Review URL: https://chromiumcodereview.appspot.com/15993018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204386 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Switching from compositing back to the software rendering path can cause a
crash if a damage buffer is not yet available on the next UpdateRect.
This patch adds a NULL check to BrowserPlugin::OnUpdateRect.
BUG=245764
Test=manually
Review URL: https://chromiumcodereview.appspot.com/15813019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204384 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The LastInputEventForBeginFrame optimization makes reasoning
about ordering and scheduling more difficult.
Disabling it for now.
BUG=245438
Review URL: https://chromiumcodereview.appspot.com/15651006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204383 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=245942
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/16356014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204375 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The added ContentViewCore.setInitialViewportSize() function will not be used. Clean it up.
This reverts commit 430e321112c4d816a406dc93b8ec8baa02dc97a9.
BUG=168568
Review URL: https://chromiumcodereview.appspot.com/15927027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204372 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Broke it in r203823. This restores it.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/15785005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204371 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=142458, 156896, 247023
TEST=crashes go away
TBR=jeremy@chromium.org
Review URL: https://codereview.chromium.org/16492002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204355 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Rename ContentVideoViewContextDelegate to ContentVideoViewClient, instead of having the getContext() method, passing the context to ContentVideoView when it is created.
- Add getContentVideoViewClient method in ContentViewClient, so it will be created when it actually used.
BUG=http://b/8315237
Review URL: https://chromiumcodereview.appspot.com/13669003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204353 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://chromiumcodereview.appspot.com/16093032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204336 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is required to see stderr output from renderers on windows
BUG=111316
R=marja@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/16448003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204328 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=170921
R=avi@chromium.org, jam@chromium.org
Review URL: https://codereview.chromium.org/16273003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204320 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
~ShellViewsDelegateAura().
~TestViewsDelegate() aleady clears ViewsDelegate::views_delegate, so
~ShellViewsDelegateAura() does not need to clear. ShellViewsDelegateAura extends
DesktopTestViewsDelegate that extends TestViewsDelegate.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/16451004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204318 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently we trust the embedder to give the browser process the routing ID and
process ID of the guest it would like to inject script into. This is potentially
unsafe. We should instead use the guest instance ID and verify that the given
embedder can access the guest with the given instance ID.
BUG=246652
Review URL: https://chromiumcodereview.appspot.com/16361007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204311 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
memory leak.
BUG=246952
Review URL: https://chromiumcodereview.appspot.com/16448002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204300 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Android
The usage of native buffer size allows low latency playback.
BUG=243506
R=henrika@chromium.org, xians@chromium.org
Review URL: https://codereview.chromium.org/15795005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204290 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This should fix the uninitialized memory warning for valgrind on Mac.
BUG=244437
R=henrika@chromium.org
Review URL: https://codereview.chromium.org/16195007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204263 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The check is wrong since other clients doing capturing should not prevent speech start recording.
BUG=238800
TEST=goto www.corp.google.com/~dou/audio/audio_speech_crash/speech_input.html, the speech recognizer should work on ChromeOS
R=dalecurtis@chromium.org, joi@chromium.org, primiano@chromium.org
Review URL: https://codereview.chromium.org/16286010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204260 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
TBR=cjhopman@chromium.org
BUG=169648
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/16452006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204255 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Factor out FileSystemOperation creation and internal bookkeeping
from FileAPIMessageFilter into FileSystemOperationRunner.
This is the first cut to stop calling CreateFileSystemOperation
directly at the callsites.
BUG=176444
TEST=existing tests
R=tzik@chromium.org
Review URL: https://codereview.chromium.org/16424002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204242 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When content_shell is used as a browser it doesn't need a timeout mechanics.
When it is used as DRT it doesn't need the timeout mechanics because test framework does this job.
Lets remove timeout mechanics from WebKit and chromium parts of content_shell.
upstream patch https://chromiumcodereview.appspot.com/15930008/
BUG=none
TEST=layout_tests
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/16057015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204236 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=245942
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/16427002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204230 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This moves following files to webkit/common/appcache
- appcache/appcache_interfaces*
Following files to webkit/renderer/appcache
- appcache/appcache_frontend_impl*
- appcache/web_application_cache_host_impl*
and everything else to webkit/browser/appcache.
BUG=239109
TBR=avi@chromium.org, michaeln@chromium.org, thestig@chromium.org
Review URL: https://codereview.chromium.org/16081004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204218 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instance ID
This permits installing WebRequest API listeners prior to initial navigation and prior to attachment.
BUG=171421
Test=WebViewInteractiveTest.NewWindow
Review URL: https://chromiumcodereview.appspot.com/15894014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204213 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of tying contexts together through the parenting mechanism, we can allow
the client to produce the front buffer of an offscreen context into a mailbox,
and use that in the "parent" context.
It simplifies the code and the semantics wrt lost contexts, and we want to use
mailboxes anyway.
BUG=164095
Review URL: https://chromiumcodereview.appspot.com/15798014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204194 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
dump. Also disables the RTP recording button since it's not implemented yet.
BUG=244608
Review URL: https://chromiumcodereview.appspot.com/16181003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204188 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Replace MediaStreamUIController with MediaStreamUIProxy.
>
> Previously a single object MediaStreamUIController was used to control UI for
> all streams. Replaced it with a per-stream MediaStreamUIProxy that simplifies
> code in many places.
> Also moved media request queueing logic from content layer to chrome. Now
> different types of requests may be queued differently (e.g. there is no
> reason to block screen capture requests on webcam infobar).
>
> This change was previously landed in 197222 and reverted in 197242
>
> TBR=vrk@chromium.org
>
> Review URL: https://codereview.chromium.org/16342002
TBR=sergeyu@chromium.org
Review URL: https://codereview.chromium.org/15701023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204184 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=246163
R=pfeldman@chromium.org
Review URL: https://codereview.chromium.org/16329006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204178 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There's no reason for these to be called all over the code base when we
know the limited circumstances under which they must be called. Making
these private allows for a considerable cleanup of code.
The one sketchy part about this CL is removing PollAndStartIfDataReady()
for OSX. I believe stream startup times are long enough that data will
always be ready though. If this is not the case and our OSX stats for
DataReady() plummet, we can find a simpler solution then polling.
This change also fixes inaccuracy with the UMA histogram since previously
we were reporting DataReady() after WaitTilDataReady() had already been
called.
BUG=none
TEST=audio plays w/o glitching on mac, win, linux.
Review URL: https://chromiumcodereview.appspot.com/16103007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204172 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=245942
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/15825018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204171 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=245942
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/16426002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204170 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=245942
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/15984008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204164 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=233420
TEST=Enabled MSE/EME and tested on the WebM EME demo page (http://downloads.webmproject.org/adaptive-encrypted-demo/adaptive/dash-player.html). NeedKey is fired to the app and GenerateKeyRequest is passed to the browser process.
Review URL: https://chromiumcodereview.appspot.com/16272005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204163 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
API cleanup.
BUG=none
Review URL: https://chromiumcodereview.appspot.com/15677004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204160 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
IndexedDB code is now part of WebKit's Platform API, so we don't
need to manually inject the factory into the PlatformSupport object
anymore.
BUG=234278
TBR=jamesr@chromium.org
Review URL: https://codereview.chromium.org/16335017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204151 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This will allow the tracking of latency through the browser compositor.
BUG=155367
Review URL: https://chromiumcodereview.appspot.com/15842013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204147 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added this JS benchmarking API to clear image cache:
chrome.gpuBenchmarkingExtension.clearImageCache
Used this API to clear image cahe for these measurements:
image_decoding_measurement
rasterize_and_record_benchmark
BUG=241943
Review URL: https://chromiumcodereview.appspot.com/15801004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204132 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After months of attempted workarounds, there appears no avenue
left except to move CoreAudio calls onto the main thread. Sadly
that turns out to be the UI thread.
This CL swaps the message loop normally used by AudioManagerBase
with a pointer to the message loop on which the audio manager
is created (the UI loop in Chrome).
The audio thread used by Chrome is spun up on demand if a class
asks for it. Currently only Tab Audio capture will use this
thread.
BUG=158170
TEST=No more crashes. miu manually tested tab capture.
Review URL: https://chromiumcodereview.appspot.com/14273018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204130 0039d316-1c4b-4281-b951-d872f2087c98
|