| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
The last switch kEnableAccelerated2dCanvas is no longer needed. So
remove the whole file.
BUG=239864
NOTRY=true
Review URL: https://codereview.chromium.org/208143002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258575 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=265753, 338338, 237249
TEST=content_unittests
R=jam@chromium.org
TBR=darin
Review URL: https://codereview.chromium.org/186883002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256174 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=304341
R=boliu@chromium.org, nasko@chromium.org, sgurun@chromium.org
Review URL: https://codereview.chromium.org/191293006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256003 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
by the site's URL.
Code in content always gets it now from ContentClient::GetUserAgent. In Chrome, there's a GetUserAgent function which returns it.
BUG=338338
R=isherman@chromium.org, pauljensen@chromium.org, scottmg@chromium.org, tfarina@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255858
Review URL: https://codereview.chromium.org/191093002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255877 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are some browser_tests failures on the buildbots that don't reproduce locally. Reverting while I investigate.
> Simplify the user agent code some more since after r255534 it's not affected by the site's URL.
>
> Code in content always gets it now from ContentClient::GetUserAgent. In Chrome, there's a GetUserAgent function which returns it.
>
> BUG=338338
> R=isherman@chromium.org, pauljensen@chromium.org, scottmg@chromium.org, tfarina@chromium.org
>
> Review URL: https://codereview.chromium.org/191093002
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/192283002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255867 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
by the site's URL.
Code in content always gets it now from ContentClient::GetUserAgent. In Chrome, there's a GetUserAgent function which returns it.
BUG=338338
R=isherman@chromium.org, pauljensen@chromium.org, scottmg@chromium.org, tfarina@chromium.org
Review URL: https://codereview.chromium.org/191093002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255858 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Simple cache has been shipping on android stable for a few releases now.
No need to have switch to disable it.
BUG=350143
NOTRY=true
Review URL: https://codereview.chromium.org/187693009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255502 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The split is currently not perfect, but idea is all compositor
interactions dealing with hardware mode is moved to HardwareRenderer.
Should be a no-op change in general.
Also removed the BrowserViewRenderer <- InProcessViewRenderer
inheritance since it is not needed anymore.
Removed other random cruft too.
BUG=344087
NOTRY=true
Review URL: https://codereview.chromium.org/176543004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253315 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This allows displaying time spent in WebView callbacks code, which can
affect loading and page displaying times.
BUG=344871
Review URL: https://codereview.chromium.org/171793006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252919 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In onAttachedToWindow, check that if the view is hardware accelerated,
then enable hardware accelerated 2d canvas. Similarly disable canvas on
detach.
Note that accelerated 2d canvas is still off by default, but this patch
adds a command line switch to turn it on.
BUG=332273
Review URL: https://codereview.chromium.org/140753006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245648 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TBR=darin@chromium.org,isherman@chromium.org,thakis@chromium.org,jam@chromium.org
Review URL: https://codereview.chromium.org/130433008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245439 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Chrome security team IPC message owners.
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=166956
>
> Review URL: https://codereview.chromium.org/11188047
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/130713004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244556 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=166956
Review URL: https://codereview.chromium.org/11188047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244533 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
queried before a subframe's entry is added.
This happened because the entry was updated on the UI thread through WebContentsObserver::RenderFrameCreated. The race condition was that the IO thread could dispatch a resource request for that subframe before the map is updated.
The fix is to send a message from the renderer to the IO thread when a subframe is created so that the map is updated before any resouce requests arrive.
BUG=304341
R=mkosiba@chromium.org
Review URL: https://codereview.chromium.org/135443002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244521 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ResourceLoader and SSLClientAuthHandler.
BUG=304341
R=nasko@chromium.org
TBR=mkosiba
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242656
Review URL: https://codereview.chromium.org/120413003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242759 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GetAssociatedRenderFrame in ResourceLoader and SSLClientAuthHandler."
This reverts commit 6952f00643ee2d1a58177dd90f35e3542690cc87.
Gardening. This patch breaks 33 layout tests
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20Blink&tests=fast/encoding/mailto-always-utf-8.html,fast/forms/mailto/advanced-get.html,fast/forms/mailto/advanced-put.html,fast/forms/mailto/formenctype-attribute-button-html.html,fast/forms/mailto/formenctype-attribute-input-2.html,fast/forms/mailto/formenctype-attribute-input-html.html,fast/forms/mailto/get-multiple-items-text-plain.html,fast/forms/mailto/get-multiple-items-x-www-form-urlencoded.html,fast/forms/mailto/get-multiple-items.html,fast/forms/mailto/get-non-ascii-always-utf-8.html,fast/forms/mailto/get-non-ascii-text-plain-latin-1.html,fast/forms/mailto/get-non-ascii-text-plain.html,fast/forms/mailto/get-non-ascii.html,fast/forms/mailto/get-overwrite-query.html,fast/forms/mailto/post-append-query.html,fast/forms/mailto/post-multiple-items-multipart-form-data.html,fast/forms/mailto/post-multiple-items-text-plain.html,fast/forms/mailto/post-multiple-items-x-www-form-urlencoded.html,fast/forms/mailto/post-multiple-items.html,fast/forms/mailto/post-text-plain-with-accept-charset.html,fast/forms/mailto/post-text-plain.html,fast/loader/onload-policy-ignore-for-frame.html,fast/loader/reload-policy-delegate.html,http/tests/download/basic-ascii.html,http/tests/download/default-encoding.html,http/tests/download/inherited-encoding-form-submission-result.html,http/tests/download/inherited-encoding.html,http/tests/download/literal-utf-8.html,http/tests/history/back-to-post.html,http/tests/media/media-source/mediasource-remove.html,http/tests/misc/policy-delegate-called-twice.html,http/tests/navigation/post-redirect-get-reload.php,http/tests/security/feed-urls-from-remote.html
BUG=
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/101723004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242716 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
ResourceLoader and SSLClientAuthHandler.
BUG=304341
R=nasko@chromium.org
Review URL: https://codereview.chromium.org/120413003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242656 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
R=benm@chromium.org
BUG=329295
Review URL: https://codereview.chromium.org/100453010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241958 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This limits the fix for crrev.com/r223298 to anchor type, and
re-implement it and test it properly.
BUG=323989
Review URL: https://codereview.chromium.org/92903003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241601 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
HandleNavigation callback for implementing ShouldOverrideUrlLoading for compatibility with old Webview.
BUG=308257
Review URL: https://codereview.chromium.org/24228003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239646 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fork chromium. The first patchset below is equivalent to what we have
in KLP branch (minus machine generated makefiles).
This is to unfork the implementation.
Note that the print messages and print_web_view_helper are same (or
very slightly different) from their counterpart in
chrome/renderer/printing and chrome/common/print_messages. The plan is
to start componentizing printing immediately after and remove the
duplicate code
TBR=danakj@chromium.org
BUG=322276
Review URL: https://codereview.chromium.org/54963005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238196 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add "Chrome/XX.0.0.0" to the WebView's useragent to hint to servers that
the rendering engine is a modern Chromium and therefore it's okay to
serve "good" content to it. We keep the existing "Version/4.0" token in
case WebView-specific content is sniffing for it. The generic version
33.0.0.0 is used as the version of Chromium in the WebView does not
correspond to any exact Chromium branch and trunk is currently designated
as M33.
Bug: 10659017
Change-Id: I5c80509955ffb491f07b48cc5a0b0023ceb368a3
BUG=297522
NOTRY=true
Review URL: https://codereview.chromium.org/86843002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237435 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL updates all references to the WebKit namespace outside of content,
chrome, and components.
TBR=darin@chromium.org
BUG=295096
Review URL: https://codereview.chromium.org/61553006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233518 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
512x512 tiles uses exactly 1MB in memory. However the allocator
on certain devices allocates 1.25MB instead (due to performance
heuristics), so 20% of allocated tile memory is wasted in this
case.
Determined experimentally that 384 tiles do not have any overhead, so
update tile size to 384.
Also reduce the number of resources per webview from 200 to 150 to
overcome potential file handle limit problems, and add a command line
switch to control this value.
Internal bug b/11446261
BUG=
NOTRY=true
Review URL: https://codereview.chromium.org/56083003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232457 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The android-webview scheme is used to embed a defualt HTML5 video
poster. Register this scheme as secure such that it doesn't generate
mixed content warnings on https pages that embed HTML5 video.
Bug: b/11059667
Review URL: https://codereview.chromium.org/27567003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229822 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently android_webview uses RenderView::preferredSize (which is
based off of documentElement.height) to drive the android.view.View
layout size.
WebViewClassic would use content size for that purpose which meant
that absolute-positioned elements can cause the Classic WebView to
grow.
This CL makes AwContents use the contents size for driving layout.
BUG=286336
Review URL: https://chromiumcodereview.appspot.com/23899004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223984 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is a followup to http://crrev.com/23147003 which updates the
callsites to use the newly exposed zoom APIs.
BUG=275749
Review URL: https://chromiumcodereview.appspot.com/23152004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223807 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes AwContents to work correctly when in a WRAP_CONTENT
layout mode.
TBR=danakj@chromium.org
BUG=246621
Review URL: https://chromiumcodereview.appspot.com/23478022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223386 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Based on simple algorithm of visible rect x constant.
Completely disregards the preferred allocation from based on
content of the page.
Constants extermined experimentally using current android
nexus devices.
BUG=286026
Review URL: https://chromiumcodereview.appspot.com/23572023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222372 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=279929
Review URL: https://chromiumcodereview.appspot.com/22986033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219854 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove obsolete kUseZeroCopyBuffers
Remove placeholder testing-webview-gl-mode, replace with dedicated
kDisableWebViewGLMode
Set the disable webGL flag in follow up to crrev.com/215135
BUG=b/10188126
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/22260002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215714 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mirror chrome UA logic, and include 'Mobile' in the product unless it's
a tablet.
NOTRY=true
BUG=internal b/10041691
Review URL: https://chromiumcodereview.appspot.com/20617003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214107 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Final call into WebKit API ommitted as it depends on blink change https://codereview.chromium.org/19883002/
BUG=263263
Review URL: https://chromiumcodereview.appspot.com/19693016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213255 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
directories.
BUG=229660
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/18919005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211572 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This mode is now obsolete.
Follow-up patches can from content APIs only needed by this, e.g.
kEnableWebViewSynchronousAPIs and DIRECT_CONTEXT_ON_DRAW_THREAD.
NOTRY=true
BUG=179436
Review URL: https://chromiumcodereview.appspot.com/16796002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206108 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were set for *_messages.h, but there exist other files such as
*_messages_android.h and *_messages_internal.h which we should also perform
security review on.
BUG=247434
R=cevans@chromium.org
Review URL: https://codereview.chromium.org/16830003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205901 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=247723
TEST=none
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/16599011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205262 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This code is all a no-op as of r201016
BUG=241641
Review URL: https://chromiumcodereview.appspot.com/15484013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201750 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
webkit/user_agent/ defines a tidy little library that depends on almost nothing
and can be used in any process. This moves it into webkit/common/user_agent/.
It's still linked as a separate component in the shared_library build.
BUG=237267
R=darin
Review URL: https://chromiumcodereview.appspot.com/15702003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201700 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
NOTRY=true
BUG=241854
Review URL: https://chromiumcodereview.appspot.com/15294019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201344 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- only set EnableWebViewSynchronousAPIs in unmerge mode
- Allow wait in UI thread
- Disable 8 unit tests since SW renderer didn't work.
BUG=235702, 239144, 238735
Review URL: https://chromiumcodereview.appspot.com/13907007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199128 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes the content size update path for android_webview to use
the preferred size RenderView mechanism instead of the
CompositorFrameMetadata.
The reason for the change is due to the fact that the CompositorFrameMetadata
is not updated when the view size is 0x0, which is a common use case
for the WebView when it's layout mode is set to "wrap content".
BUG=b/8187850
TEST=AndroidWebViewTests
Review URL: https://chromiumcodereview.appspot.com/12567020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195135 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is to avoid skipping "meta viewport" tag processing.
For controlling wide viewport-related behavior, a corresponding
WebSetting has been added into Blink.
Review URL: https://codereview.chromium.org/14234002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194576 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
allocating buffers from gles2_implementation
BUG=175012
Review URL: https://chromiumcodereview.appspot.com/14009002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193559 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=175012
Review URL: https://chromiumcodereview.appspot.com/13135004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192882 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
He was an OWNER of some; now all.
NOTRY=true
Review URL: https://codereview.chromium.org/12672006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188870 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
are merged.
In particular, we provide a hook for input event filtering in
RenderWidgetHostView, which is used by RenderWidgetHostImpl during input event
processing. When the UI and compositor threads are merged (via a
WebView-specific flag), this hook allows compositor-relevant input events to be
filtered and processed synchronously, prior to their being forwarded to the
renderer.
BUG=
Review URL: https://chromiumcodereview.appspot.com/12416005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188797 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Accomplished by adding a override method to ContentRendererClient
to return a MessageLoop, which if not null, is used as the renderer
compositor thread. In the process, make the ownership of the
compositor thread into RenderThreadImpl and rename CompositorThread
to InputHandlerManager.
Added a thread merge command line switch to control this in
android_webview.
BUG=179436
Review URL: https://chromiumcodereview.appspot.com/12383056
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186682 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
WebView.setInitialScale allows to set up the initial page scale
which overrides viewport meta tag settings.
Review URL: https://chromiumcodereview.appspot.com/12315104
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185236 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ViewportEnabled
After WebKit http://trac.webkit.org/changeset/143735,
WebView.EnableFixedLayoutMode must be updated together with
WebSettings.ViewportEnabled. This is a temporary state of
affairs, one of these settings will be removed in future.
Only Android WebView needs to switch thid mode dynamically,
thus the change is implemented in the android_webview layer.
BUG=177684
Review URL: https://chromiumcodereview.appspot.com/12317071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185016 0039d316-1c4b-4281-b951-d872f2087c98
|