| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
BUG=
Unlike the browser, the Chromium based webview needs to process and pass SslErrors to the application even for the non-Main-Frame resource types. This change creates the plumbing for that.
Review URL: https://chromiumcodereview.appspot.com/12207071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184483 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
TBR=sky
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184344 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most of the methods involves calling methods to QuotaManager
on the IO thread and translating the arguments between Java
and native code. Introduce AwQuotaManagerBridge to facilitate
this logic.
The Java AwQuotaManagerBridge is currently a singleton but
should be owned by AwBrowserContext when we have one. The
native one is owned by native AwBrowserContext. Java calls
the corresponding native AwBrowserContext to obtain the
pointer.
Introduced JniDependencyFactory interface used to create
native objects under native but is used or passed in
BrowserContext or ContentsBrowserClient.
Also added base::android::ToJavaLongArray to convert to
Java long arrays.
BUG=
Android only change. Ran through android bots.
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12253057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184139 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a part of a two-sided patch. Disabling the test to prevent
bots from going red after WK patch lands and is rolled into Chromium.
BUG=177684
TBR=benm@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12317069
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184132 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes it clear which coordinate space the width and height should
be reported in. This will also remove another dependency on
ContentViewCore from the glue layer.
R=benm@chromium.org
BUG=None
TEST=None
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12330047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183791 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were using package_name as a unique name for naming output files and
directories. package_name was typically the same as _target_name or a
variation of it (like dropping _apk). Using _target_name instead means
we need to specify one less thing and it is (maybe?) guaranteed to be
unique.
TBR=brettw,joi,jar,fischman,zea,sky
BUG=
Review URL: https://chromiumcodereview.appspot.com/11308030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183639 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a number of directories to the known issue list for the Android
WebView merge process; these are not directories with license problems,
but rather directories that contain code we want to be certain we are
not using to build. Previously we had some issues where we were
inadvertantly including Chromium's in-tree headers for libraries that we
linked to the system version of, causing ABI compatibility problems.
BUG=
Review URL: https://codereview.chromium.org/12255071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183551 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
testCreateLoadDestroyManyTimes is failing on the JB Nexus7 FYI bot.
BUG=172184
TBR=boliu@chromium.org
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/12320007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183540 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Last part of three way patch.
BUG=
Review URL: https://chromiumcodereview.appspot.com/12254042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183468 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
We are now using the locale paks instead.
Review URL: https://chromiumcodereview.appspot.com/12230058
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183269 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Waiting for onPageFinished is not a sufficient condition for a different
AwContentsClient callback to fire. Due to the Java memory model even if a
callback is guaranteed to happen at a later time than onPageFinished there is
no guarantee that the other thread will see the updates.
I also used this as an opportunity to split stuff out from AwContentsTest
because it was way too big.
Finally, I've re-enabled some of the tests since they've been passing locally for me.
BUG=None
TEST=AndroidWebViewTests
Review URL: https://codereview.chromium.org/12279004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183260 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It takes from https://codereview.chromium.org/11823027/
and assumes SW rendering and Capture Picture to be ready and enabled.
Most changes just move around code. The major structural changes are:
- Introduce a browser-layer view renderer interface and move the code to its implementation.
- Take out the rendering-related IPC to its own separate set of host/renderer classes.
- Change the way the view hierarchy and the compositor are initialized. Now they are created and set on BrowserViewRendererImpl construction.
- Content is now provided via a ContentViewCore object when initialized, updating the layer to use and the WebContents to observe.
- Remove/update the DEPS and gyp changes introduced to support rendering in the native layer.
BUG=167913,167908,161409
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182710
Review URL: https://chromiumcodereview.appspot.com/12041009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182717 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> [Android WebView] Migrate the rendering code to a separate set of classes.
>
> It takes from https://codereview.chromium.org/11823027/
> and assumes SW rendering and Capture Picture to be ready and enabled.
>
> Most changes just move around code. The major structural changes are:
> - Introduce a browser-layer view renderer interface and move the code to its implementation.
> - Take out the rendering-related IPC to its own separate set of host/renderer classes.
> - Change the way the view hierarchy and the compositor are initialized. Now they are created and set on BrowserViewRendererImpl construction.
> - Content is now provided via a ContentViewCore object when initialized, updating the layer to use and the WebContents to observe.
> - Remove/update the DEPS and gyp changes introduced to support rendering in the native layer.
>
> BUG=167913,167908,161409
> NOTRY=true
>
> Review URL: https://chromiumcodereview.appspot.com/12041009
TBR=leandrogracia@chromium.org
Review URL: https://codereview.chromium.org/12230059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182712 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It takes from https://codereview.chromium.org/11823027/
and assumes SW rendering and Capture Picture to be ready and enabled.
Most changes just move around code. The major structural changes are:
- Introduce a browser-layer view renderer interface and move the code to its implementation.
- Take out the rendering-related IPC to its own separate set of host/renderer classes.
- Change the way the view hierarchy and the compositor are initialized. Now they are created and set on BrowserViewRendererImpl construction.
- Content is now provided via a ContentViewCore object when initialized, updating the layer to use and the WebContents to observe.
- Remove/update the DEPS and gyp changes introduced to support rendering in the native layer.
BUG=167913,167908,161409
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12041009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182710 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
API support.
These methods are required to implement WebView.capturePicture and WebView.PictureListener.onNewPicture.
- http://developer.android.com/reference/android/webkit/WebView.html#capturePicture()
- http://developer.android.com/reference/android/webkit/WebView.PictureListener.html
BUG=167908,167913
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182106
Review URL: https://chromiumcodereview.appspot.com/11861008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182629 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=6294786
Review URL: https://chromiumcodereview.appspot.com/12194033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182536 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
We rely on the fact that on Android, page scaling factor isn't used for page zooming, so text scaling can be used (unlike desktop Chrome).
Review URL: https://chromiumcodereview.appspot.com/12220012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182481 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enabling geolocation callbacks
BUG=
Review URL: https://chromiumcodereview.appspot.com/12211047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182465 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Fix for change in crrev.com/182280. These files are not used in any
upstream build.
BUG=
Review URL: https://codereview.chromium.org/12258017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182295 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=6295515
Review URL: https://chromiumcodereview.appspot.com/11280284
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182188 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Failures:
http://build.chromium.org/p/chromium.linux/buildstatus?builder=Android%20Tests%20%28dbg%29&number=7589
> Expose the capturePicture feature in RenderView for Android WebView legacy API support.
>
> These methods are required to implement WebView.capturePicture and WebView.PictureListener.onNewPicture.
> - http://developer.android.com/reference/android/webkit/WebView.html#capturePicture()
> - http://developer.android.com/reference/android/webkit/WebView.PictureListener.html
>
> BUG=167908,167913
>
> Review URL: https://chromiumcodereview.appspot.com/11861008
TBR=leandrogracia@chromium.org
Review URL: https://codereview.chromium.org/12211149
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182124 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
API support.
These methods are required to implement WebView.capturePicture and WebView.PictureListener.onNewPicture.
- http://developer.android.com/reference/android/webkit/WebView.html#capturePicture()
- http://developer.android.com/reference/android/webkit/WebView.PictureListener.html
BUG=167908,167913
Review URL: https://chromiumcodereview.appspot.com/11861008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182106 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=175854
TBR=benm@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12211141
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182052 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is mostly the Interceptor logic which is now unused.
Also switch DebugDevToolsInterceptor (the last remaining
Interceptor) to a ProtocolHandler.
BUG=146602,161529
Review URL: https://chromiumcodereview.appspot.com/12217095
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182016 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Add makefile rules to install the built webkit string paks into
the system image.
Review URL: https://chromiumcodereview.appspot.com/12223093
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181976 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
android webview
NOTRY=true
TBR=benm@chromium.org
BUG=
Review URL: https://codereview.chromium.org/12210130
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181853 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://chromiumcodereview.appspot.com/11926028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181765 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We have substantially improved the licenses checker to avoid
false positives in finding copyrighted code in non-third_party dirs.
Also, this change makes the presence of stale entries in the
whitelist file to be a warning, not an error.
BUG=161461
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12209034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181679 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the metadata
This is to allow any case of "yes" in the "License Android Compatible" field.
NOTRY=true
TBR=torne@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12221114
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181674 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/12211108
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181639 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Longer term, we may unify usage of this abstraction layer to one already in third_party ffmpeg, or even switch from current media/base/simd routines to using ffmpeg. In interim, we need to get this file moved to third_party.
BUG=173013
TEST=On linux, successful build, x86inc entry in chrome://credits, passing media_unittests, media layout tests, tools/checklicenses/checklicenses.py, tools/licenses.py scan (for x86inc), android_webview/tools/webview_licenses.py scan (for x86inc)
Review URL: https://chromiumcodereview.appspot.com/12224061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181546 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Previously they were added later which doesn't mesh with pending
URLRequestJobFactory API changes.
BUG=146602,161529
Review URL: https://chromiumcodereview.appspot.com/11308362
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181519 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Part of a three way patch with android
BUG=
Review URL: https://chromiumcodereview.appspot.com/12225090
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181432 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
render_host_id. We need to do this conversion in multiple (at least two) places so having the utility method helps.
BUG=
Review URL: https://chromiumcodereview.appspot.com/12207061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181325 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=mkosiba@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12225082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181302 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The WebKitClassic implementation of hit test based on focused node
change is incomplete, brittle, and racy. Not doing much better in this
patch since they are all busy design and effort required to improve it
is not worthwhile.
Traverse the WebKit render tree to get the relevant hit test information
for a focus node that is a link and possibly imbedding an image.
Note that the focused node becoming null (no node is focused), the
hit test results will not be nulled to avoid race with the touch path.
And what an oxymoronic title.
BUG=
Android only change. Ran through android bots.
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12084114
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181106 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Listing the files instead of using find should improve gyp time.
BUG=None
TEST=compile
R=thakis@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12224032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181017 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes it possible for a certificate download to trigger an intent (via the
StoreCertficiate call) which in turn allows the user to choose to install the
certificate on the device.
BUG=b/6385441
TEST=None
Review URL: https://chromiumcodereview.appspot.com/12138003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180980 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After disabling --enable-css-transform-pinch the Software Rendering feature
of Android WebView (not enabled yet) started failing as a consequence of a change
in the device scale factor. Correct this in the SkCanvas used for drawing.
BUG=167913,173036
Review URL: https://chromiumcodereview.appspot.com/12226010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180800 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The crash has been fixed. See bug for details.
BUG=173866
Android enable test. Ran through android bots.
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12207019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180726 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ScopedJavaGlobalRef now has a copy constructor, so we can make the
code simpler (no base::Owned() explanations) by just passing by
value.
BUG=
Review URL: https://chromiumcodereview.appspot.com/11971007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180624 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Utility methods should throw Exceptions as this makes it possible to
easily use them from within a Callable (which assumes the call method
throws an Exception instead of a Throwable).
BUG=None
TEST=AndroidWebViewTests
Review URL: https://chromiumcodereview.appspot.com/12185020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180479 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were including all files from under javatests/assets as resources.
This was unnecessarily copying .svn files (and including them in the
resulting .apk) and causing a build warning.
BUG=173713
TEST=AndroidWebViewTests
Builds fine on android trybots.
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12180010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180408 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove rlz/win/lib/vista_winnt.h - fixed in r180289
Add tools/gen_keyboard_overlay_data/gen_keyboard_overlay_data.py -
contains string 'copyright' in comments
BUG=172607
TBR=mkosiba@chromium.org
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12178015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180378 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=173866
TBR=mkosiba@chromium.org
Android only test change.
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12185010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180324 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
This updates headers that forward-declare it and a few random places to use the namespace explicitly. There us a using declaration in file_path.h that makes the rest compile, which we can do in future passes.
Review URL: https://codereview.chromium.org/12163003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180245 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
It has taken on some responsibility besides just creating dialogs. I'm also planning on adding an additional method soon for accepting/dismissing an open dialog.
BUG=none
TBR=joth
Review URL: https://codereview.chromium.org/12082123
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180194 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This matches WebViewClassic behavior.
BUG=
TBR=mkosiba@chromium.org
Android only change. Ran through android try bots.
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12130003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180004 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
TBR=mkosiba@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12069002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179988 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The number of parameters in the InterceptNavigationResourceThrottle
has gone over the maximum size supported by base::Bind.
BUG=None
TEST=components_unittests,AndroidWebViewTests
TBR=joi@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12082049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179956 0039d316-1c4b-4281-b951-d872f2087c98
|