| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
RenderViews.
This is also part of the work of making ContentRendererClient's OverrideCreatePlugin and CreatePluginReplacement take only a RenderFrame.
BUG=304341
R=creis@chromium.org, mmenke@chromium.org, tburkard@chromium.org
Review URL: https://codereview.chromium.org/107893003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239860 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL updates all references to the WebKit namespace in chrome and
components.
TBR=darin@chromium.org
BUG=295096
Review URL: https://codereview.chromium.org/63273002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233464 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There's no need to maintain the reference; once abandon or cancel is called,
the LinkLoader (as PrerenderClient) has already been removed from the Prerender
in Blink, so it is no longer consuming didStopPrerender and friends. Rather,
this is causing us to leak cancelled prerenders because the browser process
does not send OnPrerenderStop for canceled prerenders either, leaving nothing
to release PrerenderDispatcher's reference to the Prerender (via WebPrerender).
This introduces the possibility of an OnPrerenderStart from the browser racing
with an (asynchronous) cancel message to the browser, so handle that case.
BUG=290197
Review URL: https://codereview.chromium.org/27195006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229604 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
As of r209797 it no longer inherits from WebKit::WebMediaPlayer.
Review URL: https://chromiumcodereview.appspot.com/18587003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210495 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=229660
TBR=thestig@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/18523004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210197 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
content/renderer/media/.
The biggest change is to replace the coarse-grained WebMediaPlayer-based content API with finer-grained APIs for controlling media resource loads (e.g., prerendering) and media stream audio/video rendering (e.g., WebRTC layout tests).
BUG=239826,251306
Review URL: https://chromiumcodereview.appspot.com/18123002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209797 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
chrome/renderer/, chrome/service/.
BUG=254986
TEST=none
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/18147002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209157 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL changes the majority of include paths from the old
Source/WebKit/chromium/public to the new public/web directory.
TBR=darin
BUG=239545
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/17148003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206664 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently prerendered pages can end up playing video/audio in the back ground
if they are using Media Source. After this change the loading of the files
will be deferred till the prerender is swapped in.
TEST=PrerenderBrowserTest.PrerenderHTML5MediaSourceVideo
BUG=136262
Review URL: https://chromiumcodereview.appspot.com/16797002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206144 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
longer working on chrome.
R=gavinp@chromium.org
Review URL: https://codereview.chromium.org/16109012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205535 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Missed this one when I removed the other overrides in r204601.
R=dominich
Review URL: https://chromiumcodereview.appspot.com/16566004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205299 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This code is only used in renderer processes, this just moves the files
to reflect that fact in the directory structure so we can verify it
with DEPS.
BUG=237267
Review URL: https://chromiumcodereview.appspot.com/15842010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203248 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These headers have moved from Source/Platform/chromium/public to
public/platform. This CL updates chrome's references to the old location to
point to the new location. After this CL lands, I'll remove the forwarding
headers that are letting these references still work.
TBR=jamesr@chromium.org
BUG=239545
Review URL: https://chromiumcodereview.appspot.com/16109004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203133 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before this change, a render-initiated navigation could only swap to a prerender if the prerender was created via a <link rel="prerender"> element from a RenderView within the same render process.
Now that we are experimenting with local-browsing based prerenders, this means that a lot of prerenders may never be used. The prerenders are created in the browser process, and need to be advertised to all render processes.
There is a slight risk that an owned render process can spy on some navigations that a user does due to the broadcast.
BUG=239180
Review URL: https://chromiumcodereview.appspot.com/15027009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200223 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The earlier patch in issue 12253035 didn't fix all cases; this more
conservative renderer side guard should work better. The renderer data
structure should strictly have longer lifetime than the browser side
structure, so this should totally eliminate the race (at the cost of
stopping some prerenders that while "valid" are very weird and
unexpected).
R=mmenke@chromium.org
BUG=173012
Review URL: https://chromiumcodereview.appspot.com/12521012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187698 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Platform directory
Review URL: https://chromiumcodereview.appspot.com/11826035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176788 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/11745025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175221 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The event is already on the webkit side, this patch plumbs it through. Note that this patch is downstream from https://codereview.chromium.org/11551003/ and so it can't land until after that one.
R=mmenke@chromium.org,jschuh@chromium.org
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11571037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175011 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that media code runs on a single thread we no longer need to worry about creating additional threads at runtime.
To make changes like this easier in the future, webkit_media::WebMediaPlayerParams is introduced to avoid plumbing parameters through Chrome's various abstraction layers.
BUG=116873
Review URL: https://codereview.chromium.org/11468033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174808 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We've switched to our new event names, we've made sure that the PrerenderHandle and the PrerenderLinkManager are connected, and now, we pass these events into WebKit.
This change depends on the WebKit changes in https://bugs.webkit.org/show_bug.cgi?id=96474 landing first. As well, this CL depends on the earlier work in https://chromiumcodereview.appspot.com/11316311/ , which makes the PrerenderHandle an observer of the PrerenderContents, being landed first. As well, since this code depends on WebPrerender.h changing, it actually needs to be staged carefully between WebKit & Chrome. Careful readers will also observe that this change obsoletes https://chromiumcodereview.appspot.com/10918189/ .
R=mmenke@chromium.org
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11459003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173625 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The big implication of this is that PrerenderLinkManager is an observer of PrerenderHandle, and so messaging to/from the browser process about prerenders ends up mostly in the same place.
Interestingly, we basically can toss out the pending_prerenders_ list in the PrerenderManager; the only thing it bought us was tracking cancelation, which is now done with a bool in PrerenderHandle, just as easily.
The earlier work on the lifetime of PrerenderContents and PrerenderHandle was building up to this. This CL depends on https://codereview.chromium.org/11348357/ , and can't land until after it.
R=mmenke@chromium.org
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11316311
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173322 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TBR=ben@chromium.org
BUG=none
Review URL: https://chromiumcodereview.appspot.com/11415030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168361 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the prerendering_support. functionality into the prerender dispatcher, which is the logical place to handle messages from either the browser or WebKit.
This is being done in preparation for adding events on prerenders, which require more connection between the WebKit/browser messaging.
There's no test, as this should be refactoring only.
BUG=none
R=mmenke@chromium.org
TBR=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11288002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163960 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
WebMediaPlayerImpl needs to own the audio source provider to keep it from being destroyed too soon.
BUG=132890
TEST=See test in bug report.
Review URL: https://chromiumcodereview.appspot.com/10662030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146897 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
For context see this thread:
https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II
TBR=thakis,pkasting,jam
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is the new name in preparation for deleting the backwards-compatible typedef.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10532162
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143282 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=123369
TEST=PrerenderBrowserTest.PrerenderHTML5VideoNetwork passes again
Review URL: https://chromiumcodereview.appspot.com/10540053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141027 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
There's enough renderer-side for Prerendering that we should make sure there's
prerender reviewer coverage for changes there.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10441017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139126 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10424002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138877 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Make the PrerenderingInterface into a scoped pointer.
BUG=127953
Review URL: https://chromiumcodereview.appspot.com/10391134
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138494 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch implements the renderer side classes corresponding to
https://bugs.webkit.org/show_bug.cgi?id=85005 , and adds messaging
up to the browser process for link prerender events. A new
PrerenderLinkManager is introduced to handle these events for the
LinkManager.
BUG=84236
Review URL: https://chromiumcodereview.appspot.com/10198040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136611 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
They used to get swapped in by observing provisional loads. This is being changed to Navigate so renderer-issued navigations into a prerender can be handled with the same mechanism that is used to handle renderer-issued navigations which need to cross process boundaries, such as clicking into a hosted app.
For browser issued navigations, this means that we will immediately swap in the prerender, instead of sending a Navigate message to the render view and swapping in on the provisional load statement.
For renderer issued navigations, decidePolicyForNavigation will ultimately cancel the navigation in the renderer and send an OpenURL up to the browser process.
In order to make the renderer know that a navigation could be prerendered, a set of prerendered URLs need to be sent to a render process.
BUG=104493
TEST=Existing browser tests, manual tests that omnibox prerenders work. There should be no user-visible changes.
Review URL: http://codereview.chromium.org/9623018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125836 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
implementation of the interface.
Three years ago I thought that having a separate interface would be A Good Thing. Needless to say there has never been a case where having an interface defintion of Pipeline came in handy as all clients create and access PipelineImpl objects directly.
Review URL: http://codereview.chromium.org/9243025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118082 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
OverrideCreateWebMediaPlayer() was simplified to return a pointer instead of relying on a bool+out-param since unlike OverrideCreatePlugin() we don't require blocking creation of media players.
BUG=109958
Review URL: http://codereview.chromium.org/9187045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117607 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(take 2)
RenderAudioSourceProvider implements WebKit::WebAudioSourceProvider using AudioRendererImpl
BUG=none
TEST=none
(tested locally)
Original Code Review: http://codereview.chromium.org/8980008/
Review URL: http://codereview.chromium.org/9122009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116778 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MediaElementAudioSourceNode
RenderAudioSourceProvider implements WebKit::WebAudioSourceProvider using AudioRendererImpl
BUG=none
TEST=none
(tested locally)
Review URL: http://codereview.chromium.org/8980008
TBR=crogers@google.com
Review URL: http://codereview.chromium.org/9121001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116647 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
RenderAudioSourceProvider implements WebKit::WebAudioSourceProvider using AudioRendererImpl
BUG=none
TEST=none
(tested locally)
Review URL: http://codereview.chromium.org/8980008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116643 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
let's turn it back on and see if it's a useful intermediate between
preconnect and prerendering.
This is the first of two CLs, this one renames the existing field trial, the next CL will actually flip the switch and add prefetch historgrams.
BUG=107897
Review URL: http://codereview.chromium.org/8965032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115832 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=98690
TEST=
Review URL: http://codereview.chromium.org/8095007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113742 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Data that's only pertinent to initially loading the document is stored in LoadTimes. These are carried over when the NavigationState changes due to in-document navigation.
I'd be interested in feedback on the position of LoadTimes. I'm not happy with it. I'd prefer to have it on WebDataSource, but I expect NavigationState was hidden in ExtraData for a reason.
This also impacts PLT histograms. In-document navigation is the cause of some of the missing start types. So, by fixing this, we should get more complete page load data. There are probably whole classes of sites where we have no PLT data, such as Google Docs.
BUG=79078
TEST=ui_tests
Review URL: http://codereview.chromium.org/8404018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110392 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
to the interface. In a future change I'll rename RenderView to RenderViewImpl.
BUG=98716
Review URL: http://codereview.chromium.org/8201029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104727 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
namespace.
BUG=98716
Review URL: http://codereview.chromium.org/8114019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103826 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
content\public\renderer and put them in the content namespace.
BUG=98716
Review URL: http://codereview.chromium.org/8124001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103758 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ChromeViewMsg_, ChromeViewHostMsg, etc.
This makes it easier to identify which messages are specific to content and chrome.
This is a preparation CL for bug http://code.google.com/p/chromium/issues/detail?id=87335 which
requires IPC's to not span across content and chrome. When IPC's cross these boundaries they need
to be handled as API calls.
BUG=87335
Review URL: http://codereview.chromium.org/7631063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97536 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in a new background tab not updating.
Also adds a couple tests for the visibility API.
BUG=87926
TEST=PrerenderBrowserTest.PrerenderVisibilityBackgroundTab, PrerenderBrowserTest.PrerenderVisibilityForegroundTab, PrerenderBrowserTest.PrerenderVisibility
Review URL: http://codereview.chromium.org/7282013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91182 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CID=6462,16139,16144,16145,16233,16322,16402,16421,16422,16423,16660,16663,
16942,17035,17118,17120,17144,17243,17266,17267,17268
BUG=none
TEST=none
R=kmadhusu@chromium.org
Review URL: http://codereview.chromium.org/7206047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89894 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
prerender mode.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/7054064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88117 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
disable field trials. I am going to have a need for both soon.
Update some documentation about empty trial names, add TrialExists() method and update many call-sites to use this (it simplifies the previous logic which checked for existence and then for non-empty name, which can no longer happen).
Refactor a bit in browser_main.
While I'm in there and needing base/OWNERS approval, add an OWNERS
file for base/metrics that adds jar@chromium.org as an owner for that
directory.
Initially committed as r84197.
Rolled back due to DCHECK in official builds, r84373.
Will re-submit with fix.
BUG=81750
TEST=base_unittests
Review URL: http://codereview.chromium.org/6883102
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84801 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ability to
disable field trials. I am going to have a need for both soon.
Cleaning up some comments about empty trial names, adding static
method TrialExists() and simplifying many call sites by using this
method.
While I'm in there and needing base/OWNERS approval, add an OWNERS
file for base/metrics that adds jar@chromium.org as an owner for that
directory.
BUG=none
TEST=base_unittests
TBR=jam@chromium.org
R=jar@chromium.org,phajdan.jr@chromium.org,mark@chromium.org,wtc@chromium.org
Reason for revert: See http://crbug.com/81750
BUG=81750
TBR=joi@chromium.org
Review URL: http://codereview.chromium.org/6931048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84373 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
disable field trials. I am going to have a need for both soon.
Cleaning up some comments about empty trial names, adding static
method TrialExists() and simplifying many call sites by using this
method.
While I'm in there and needing base/OWNERS approval, add an OWNERS
file for base/metrics that adds jar@chromium.org as an owner for that
directory.
BUG=none
TEST=base_unittests
TBR=jam@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84197 0039d316-1c4b-4281-b951-d872f2087c98
|