summaryrefslogtreecommitdiffstats
path: root/android_webview/common
Commit message (Collapse)AuthorAgeFilesLines
* aw: Remove aw_switchesboliu@chromium.org2014-03-212-27/+0
| | | | | | | | | | | | 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
* Move user_agent code from webkit/ to content/.tfarina@chromium.org2014-03-111-2/+2
| | | | | | | | | | | 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
* Move GetContextMenuNode from RenderView to RenderFrame.jam@chromium.org2014-03-101-2/+2
| | | | | | | | | 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
* Simplify the user agent code some more since after r255534 it's not affected ↵jam@chromium.org2014-03-102-3/+17
| | | | | | | | | | | | | | | 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
* Revert 255858 "Simplify the user agent code some more since afte..."jam@chromium.org2014-03-092-17/+3
| | | | | | | | | | | | | | | | | | | 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
* Simplify the user agent code some more since after r255534 it's not affected ↵jam@chromium.org2014-03-092-3/+17
| | | | | | | | | | | | | 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
* aw: Remove kDisableSimpleCache switchboliu@chromium.org2014-03-072-5/+0
| | | | | | | | | | | | 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
* aw: Split hardware rendering into HardwareRendererboliu@chromium.org2014-02-262-16/+0
| | | | | | | | | | | | | | | | | | 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
* [Android WebView] Add DevTools Timeline instrumentation for embedder callbacksmnaganov@chromium.org2014-02-241-0/+39
| | | | | | | | | | | 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
* [Android WebView] Turn on accelerated canvas based on View.isHardwareAcceleratedboliu@chromium.org2014-01-172-0/+6
| | | | | | | | | | | | | | | 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
* Make per-file message file reviewers consistent across owners.tsepez@chromium.org2014-01-171-0/+4
| | | | | | | | 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
* Revert 244533 "Chrome security team IPC message owners."tsepez@chromium.org2014-01-131-3/+9
| | | | | | | | | | | | | > 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
* Chrome security team IPC message owners.tsepez@chromium.org2014-01-131-9/+3
| | | | | | | | 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
* Fix race condition introduced in r242200 where AwContentsIoThreadClient is ↵jam@chromium.org2014-01-131-0/+5
| | | | | | | | | | | | | | | 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
* Replace the GetAssociatedRenderView call with GetAssociatedRenderFrame in ↵jam@chromium.org2013-12-311-1/+1
| | | | | | | | | | | | | | 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
* Revert "Replace the GetAssociatedRenderView call with ↵loislo@chromium.org2013-12-301-1/+1
| | | | | | | | | | | | | | | | 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
* Replace the GetAssociatedRenderView call with GetAssociatedRenderFrame in ↵jam@chromium.org2013-12-281-1/+1
| | | | | | | | | | | 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
* Add base:: to string16s in android_webview/.dbeam@chromium.org2013-12-196-9/+9
| | | | | | | | | 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
* aw: Limit full url href hittest to only anchor typeboliu@chromium.org2013-12-181-10/+11
| | | | | | | | | | | 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
* Rather than using a throttle, we are now using sgurun@chromium.org2013-12-101-0/+11
| | | | | | | | | | 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
* For implementing printing in android K release, we had to temporarilysgurun@chromium.org2013-12-024-1/+534
| | | | | | | | | | | | | | | | | | | | 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
* Extend WebView useragent to mention Chrome version.joth@chromium.org2013-11-261-3/+6
| | | | | | | | | | | | | | | | | | | | 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
* Rename WebKit namespace to blink (part 5)abarth@chromium.org2013-11-071-1/+1
| | | | | | | | | | | | 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
* [Android WebView] Change tile size to 384boliu@chromium.org2013-11-012-0/+5
| | | | | | | | | | | | | | | | | | | | | | | 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
* [Android WebView] Register android-webview scheme as secure.benm@chromium.org2013-10-212-0/+5
| | | | | | | | | | | | 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
* Use contents size for android_webview layout size.mkosiba@chromium.org2013-09-181-1/+5
| | | | | | | | | | | | | | | | 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
* Use new WebView zoom API.mkosiba@chromium.org2013-09-181-3/+3
| | | | | | | | | | | 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
* [android_webview] Fixes for wrap_content layouts.mkosiba@chromium.org2013-09-161-0/+5
| | | | | | | | | | | | 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
* [Android WebView] First cut memory managementboliu@chromium.org2013-09-102-0/+6
| | | | | | | | | | | | | | | 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
* [Android WebView] Add an API to toggle the JS navigator.online propertybenm@chromium.org2013-08-271-1/+3
| | | | | | | | 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
* [Android webview] Cleanup some command line flagsjoth@chromium.org2013-08-052-3/+3
| | | | | | | | | | | | | | 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
* [Android WebView] Include Mobile in the user agentjoth@chromium.org2013-07-281-1/+8
| | | | | | | | | | | | 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
* Hooking up setBackgroundColor from AwContents to rendererjoth@chromium.org2013-07-231-0/+5
| | | | | | | | | | 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
* Migrate from googleurl/ includes to url/ ones in the remaining top-level ↵tfarina@chromium.org2013-07-131-1/+1
| | | | | | | | | | | 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
* Delete the browser-compositor webview render modejoth@chromium.org2013-06-135-105/+0
| | | | | | | | | | | | | 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
* Make security team OWNERS for all IPC *_messages*.h files.palmer@chromium.org2013-06-121-7/+7
| | | | | | | | | | | | | 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
* Use a direct include of strings headers in android_webview/.avi@chromium.org2013-06-101-1/+1
| | | | | | | | | | 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
* Remove dead WebCompositorInputHandler related codejamesr@chromium.org2013-05-231-6/+0
| | | | | | | | | | 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
* Move webkit/user_agent/ into webkit/commonjamesr@chromium.org2013-05-231-1/+1
| | | | | | | | | | | | | 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
* Switch Android WebView to use the simple cachejoth@chromium.org2013-05-212-0/+5
| | | | | | | | | 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
* Made the following changes to enable merge modemichaelbai@chromium.org2013-05-092-4/+4
| | | | | | | | | | | | | - 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
* [android] Resize the android_webview if it's 0x0 initially.mkosiba@chromium.org2013-04-191-0/+4
| | | | | | | | | | | | | | | | 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
* [Android WebView] Never turn off viewport and fixed layoutmnaganov@chromium.org2013-04-171-6/+0
| | | | | | | | | | | 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
* Move GpuMemoryBufferFactoryProxy to gpu/command_buffer/client as we'll be ↵kaanb@chromium.org2013-04-112-46/+0
| | | | | | | | | | | 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
* android_webview: changes to support Android GraphicBufferskaanb@chromium.org2013-04-085-2/+55
| | | | | | | | | 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
* Add cevans as an IPC OWNER for all areas.palmer@chromium.org2013-03-181-0/+1
| | | | | | | | | | 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
* Allow for synchronous compositor input handling when UI and compositor threads jdduke@chromium.org2013-03-181-0/+7
| | | | | | | | | | | | | | | | | 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
* Allow renderer compositor message loop to be set by content embedderboliu@chromium.org2013-03-072-0/+27
| | | | | | | | | | | | | | | | | | 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
* [Android WebView] Implement WebView.setInitialScalemnaganov@chromium.org2013-02-281-0/+5
| | | | | | | | | | 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
* [Android WebView] Update WebView.EnableFixedLayoutMode in sync with ↵mnaganov@chromium.org2013-02-271-0/+6
| | | | | | | | | | | | | | | | | | | 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