summaryrefslogtreecommitdiffstats
path: root/android_webview
Commit message (Collapse)AuthorAgeFilesLines
* [Android] Upstream TestCallbackHelperContainer.mnaganov@chromium.org2012-09-182-5/+6
| | | | | | | | | | Make required changes to dependant files. R=mkosiba@chromium.org,android-webview-reviews@google.com Review URL: https://codereview.chromium.org/10939017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157359 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Remove the dependency on TabContents.mnaganov@chromium.org2012-09-182-12/+7
| | | | | | | | | | | | | | So far, all Aw tests that we have don't change their state after removing this dependency. We will need things like AutoFillManager, FaviconTabHelper, PasswordManager and SSLHelper, but it looks like it will be better to componentize them in the first place. R=joth@chromium.org,android-webview-reviews@google.com Review URL: https://codereview.chromium.org/10916309 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157328 0039d316-1c4b-4281-b951-d872f2087c98
* Tighten up android_webview DEPS rulesjoth@chromium.org2012-09-153-0/+13
| | | | | | | | | | | | Codifies the agreed layering :- native->browser->common renderer->common lib is at top, it may depend on anything but nothing depend in it Review URL: https://chromiumcodereview.appspot.com/10916326 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156980 0039d316-1c4b-4281-b951-d872f2087c98
* Added virtual destructor.michaelbai@google.com2012-09-147-0/+22
| | | | | | | | | | Also fix the clang compiling error. BUG=143931 Review URL: https://codereview.chromium.org/10918248 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156859 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ResourceDispatchHostLoginDelegate for android_webview.benm@chromium.org2012-09-1416-2/+399
| | | | | | | | | | | Add an android_webview ResourceDispatchHostLoginDelgate that forwards the auth request to the java side embedder via AwContents.onReceivedHttpAuthRequest. Review URL: https://chromiumcodereview.appspot.com/10918023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156746 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Setup OWNERS structure for android_webviewjoth@chromium.org2012-09-142-0/+8
| | | | | | | | | | | Explicitly lock down the lib/ directory approvers, while opening the rest of the tree up to the core team. BUG= Review URL: https://chromiumcodereview.appspot.com/10914276 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156723 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Add a test content provider into android_webview, port content url ↵mnaganov@chromium.org2012-09-143-0/+384
| | | | | | | | | | | | | | | | | | tests. As it is required to have a package for a content provider, I decided to have two separate test content providers for android_webview here and Chrome for Android downstream. There is an issue with the provider package. As the package for tests is called 'org.chromium.android_webview.tests' (not .test), the provider must be in the same package. BUG=146009 Review URL: https://chromiumcodereview.appspot.com/10916148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156696 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Port more ContentSettingsTest tests into android_webview.mnaganov@chromium.org2012-09-131-15/+447
| | | | | | | | | | | Ported all tests that doesn't require major refactorings and / or doesn't reveal any bugs. BUG=146009 Review URL: https://chromiumcodereview.appspot.com/10907050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156680 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 155208 - Revert 154435 - [Android] Port simple ContentSettings tests ↵mnaganov@chromium.org2012-09-132-0/+714
| | | | | | | | | | | | | | | | to android_webview. This CL depends on https://chromiumcodereview.appspot.com/10908014/ Review URL: https://chromiumcodereview.appspot.com/10919010 TBR=mnaganov@chromium.org Review URL: https://chromiumcodereview.appspot.com/10907095 TBR=torne@chromium.org Review URL: https://codereview.chromium.org/10917238 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156564 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Clean up android_webview build scripts"yfriedman@chromium.org2012-09-123-81/+181
| | | | | | | | | | | | | This reverts commit 66d0377aa771760773c270cffdb634f765aeb1ba. Breaks clean builds: http://build.chromium.org/p/tryserver.chromium/builders/android/builds/36124/steps/compile/logs/stdio TBR=cjhopman@chromium.org,torne@chromium.org Review URL: https://codereview.chromium.org/10933055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156370 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Remove Iceberg files and support.garykac@chromium.org2012-09-121-6/+0
| | | | | | | | Iceberg was our old .pkg maker, but we've switched to using Packages since it supports building flat installers that can be signed (required by 10.8). Review URL: https://chromiumcodereview.appspot.com/10909184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156334 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Upstream org.chromium.base.test.UrlUtils (partially) and device filesmnaganov@chromium.org2012-09-127-0/+61
| | | | | | | | | | Required by android_webview AwSettingsTest BUG=146009 Review URL: https://chromiumcodereview.appspot.com/10911097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156304 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up android_webview build scriptscjhopman@chromium.org2012-09-113-181/+81
| | | | | | | | | | | | | | | | | | | | | | Several steps here: Change the asset copy actions into a single copies element. Remove the jar copy actions. Use input_jars_paths to specify the jar paths in both inputs and in the classpaths in the ant build files. input_jars_paths is automatically filled with the paths to the jars by correctly specifying the dependencies. Add some missing inputs. Compare: http://codereview.chromium.org/10907069/, http://codereview.chromium.org/10907076/ for similar changes elsewhere. BUG= Review URL: https://chromiumcodereview.appspot.com/10905141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156117 0039d316-1c4b-4281-b951-d872f2087c98
* Use checked in keystore to sign debug apkscjhopman@chromium.org2012-09-112-2/+4
| | | | | | | | | | | | | | | | | keystore created with command: keytool -genkey -v -keystore chromium-debug.keystore -alias chromiumdebugkey -keyalg RSA -keysize 2048 -validity 36525 with password "chromium" and alias password "chromium". Android's SDK tools by default create a debug keystore in ~/.android. This has caused all kinds of grief. Instead, this change makes us use the new chrome-debug.keystore. BUG=145860 Review URL: https://chromiumcodereview.appspot.com/10918149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155927 0039d316-1c4b-4281-b951-d872f2087c98
* Removes an executable flag.hbono@chromium.org2012-09-071-0/+0
| | | | | | | | | | | This change removes a svn:executable flag from a file added by r155331 <http://crrev.com/155331>. TBR=tedchoc BUG=none TEST=check_perms Review URL: https://chromiumcodereview.appspot.com/10913129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155335 0039d316-1c4b-4281-b951-d872f2087c98
* Add WebView implementation for CookieManager.tedchoc@chromium.org2012-09-0719-6/+1638
| | | | | | | | | | | | | Additional details of the requirements can be found from the Android SDK. http://developer.android.com/reference/android/webkit/CookieManager.html BUG= TEST=make forwarder android_webview_apk android_webview_test_apk Review URL: https://chromiumcodereview.appspot.com/10913074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155331 0039d316-1c4b-4281-b951-d872f2087c98
* Add android_gdbserver to android_webview* targets.torne@chromium.org2012-09-061-2/+2
| | | | | | | | | | There are other problems preventing android_experimental from building, but this fixes one issue. BUG= Review URL: https://chromiumcodereview.appspot.com/10909100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155267 0039d316-1c4b-4281-b951-d872f2087c98
* android_webview: fix gyp copypaste error.torne@chromium.org2012-09-061-1/+1
| | | | | | | | | | | The webview test target had the wrong output filename, causing it to be rebuilt every time instead of only when something changed. Fixed. BUG= Review URL: https://chromiumcodereview.appspot.com/10911133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155266 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 154435 - [Android] Port simple ContentSettings tests to android_webview.torne@chromium.org2012-09-062-714/+0
| | | | | | | | | | | This CL depends on https://chromiumcodereview.appspot.com/10908014/ Review URL: https://chromiumcodereview.appspot.com/10919010 TBR=mnaganov@chromium.org Review URL: https://chromiumcodereview.appspot.com/10907095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155208 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Fix android_webview pak file gyp rule.mkosiba@chromium.org2012-09-051-1/+1
| | | | | | | | | | | This fixes a typo. BUG=146547 Review URL: https://chromiumcodereview.appspot.com/10908105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155059 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Sync the latest ContentView constructor and initialization code.leandrogracia@chromium.org2012-09-051-7/+4
| | | | | | | | | | | | | Recent Android WebView refactorings have changed the construction and initialization code of the ContentView and ContentViewCore classes. This patch syncs upstream with the lastest downstream versions in order to unblock incoming Android WebView patches. BUG=146412 Review URL: https://chromiumcodereview.appspot.com/10914088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155045 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Add chrome/ Java code to android_webview.mkosiba@chromium.org2012-09-052-0/+12
| | | | | | | | | | | | | | | | Due to the fact that we share JNI registration code with the chrome/ layer we require the chrome/ Java code to be present in the APK. Luckily we can include the Java chrome/ layer code in the APK without adding it to the android_webview classpath, which means it's not possible to accidentally add a Java dependency from android_webview/ to chrome/. BUG=146547 Review URL: https://chromiumcodereview.appspot.com/10911101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155044 0039d316-1c4b-4281-b951-d872f2087c98
* Make cc_unittests and webkit_compositor_unittests executable alwaysjamesr@chromium.org2012-09-011-1/+1
| | | | | | | | | | | | | To get these tests set up to run on the bots they need to be executables always. If use_libcc_for_compositor is 0 these targets won't run any tests, but they will still successfully run. TBR=joth@chromium.org (for stupid android_webview copyright script) BUG= Review URL: https://chromiumcodereview.appspot.com/10920056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154620 0039d316-1c4b-4281-b951-d872f2087c98
* Fix downstream clang buildboliu@chromium.org2012-09-011-1/+1
| | | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/10917054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154582 0039d316-1c4b-4281-b951-d872f2087c98
* Implement DocuementHasImagesjoth@chromium.org2012-09-0116-43/+431
| | | | | | | | | | | | Requires new plumbing to get custom android_webview layer IPC messages a flowing. BUG= Review URL: https://chromiumcodereview.appspot.com/10890024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154564 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Port simple ContentSettings tests to android_webview.mnaganov@chromium.org2012-08-312-0/+714
| | | | | | | | This CL depends on https://chromiumcodereview.appspot.com/10908014/ Review URL: https://chromiumcodereview.appspot.com/10919010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154435 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Refactor AndroidWebViewTestBase.mnaganov@chromium.org2012-08-312-11/+18
| | | | | | | | | | - Move getTitleOnUiThread into AndroidWebViewTestBase; - add incognito mode flag to createAwTestContainerViewOnMainSync; Review URL: https://chromiumcodereview.appspot.com/10908014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154433 0039d316-1c4b-4281-b951-d872f2087c98
* Android WebView: tidy up source/gyp layout.torne@chromium.org2012-08-305-46/+34
| | | | | | | | | | | | | | | | | | 1) Rename WebViewMainDelegate to AwMainDelegate for consistency with other classes. 2) Move gyp file to the top level and don't bother having separate gypi files for the subcomponents for now; the file list is very short anyway and is not going to be a significant source of contention between the small number of webview developers at this time, and it's easier to see what's going on if it's all in one place. BUG= Review URL: https://chromiumcodereview.appspot.com/10893025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154020 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Remove ContentView usage from android_webview.mkosiba@chromium.org2012-08-297-87/+287
| | | | | | | | | | | This changes the android_webview Java test code to use the new AwContentsView test class instead of ContentView. BUG= Review URL: https://chromiumcodereview.appspot.com/10873049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153953 0039d316-1c4b-4281-b951-d872f2087c98
* Build the android_webview APKs on the FYI waterfall.mkosiba@chromium.org2012-08-291-5/+0
| | | | | | | | | | | | | This adds the android_webview APKs to the FYI build. This will result in building the android_webview Java code and Java test code. BUG= Review URL: https://chromiumcodereview.appspot.com/10883026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153806 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the android_webview build.mkosiba@chromium.org2012-08-281-6/+8
| | | | | | | | | | | This is fixes the build break introduced in r153527. BUG= Review URL: https://chromiumcodereview.appspot.com/10889006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153699 0039d316-1c4b-4281-b951-d872f2087c98
* Support fetching AwContents from a WebContentsjoth@chromium.org2012-08-282-0/+35
| | | | | | | | | | | | This is to allow callbacks coming up from WebContents to find their way back to the java AwContents[Client] BUG= Review URL: https://chromiumcodereview.appspot.com/10868095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153617 0039d316-1c4b-4281-b951-d872f2087c98
* Add scripts to whitelist for android copyright checkerjamesr@chromium.org2012-08-251-0/+3
| | | | | | | | | | | These files have 'copyright' in comments, which makes the checker explode BUG= TBR=mnaganov@chromium.org Review URL: https://chromiumcodereview.appspot.com/10883040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153365 0039d316-1c4b-4281-b951-d872f2087c98
* Add AwContentsClient base class for embedder callbacksjoth@chromium.org2012-08-244-7/+202
| | | | | | | | | | | | | This allows more of our client callback adaptation logic to live in the chromium tree, to improve continuous test coverage of these parts (and hopefully also make tests a bit easier to write and reason about) BUG= Review URL: https://chromiumcodereview.appspot.com/10867044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153258 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Update Android WebView license checking tool.mnaganov@chromium.org2012-08-241-0/+11
| | | | | | | | | | | | Based on run results: http://build.chromium.org/p/chromium.fyi/builders/Chromium%20Linux%20Android%20Builder/builds/3801/steps/Check%20licenses%20for%20WebView/logs/stdio BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10872061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153199 0039d316-1c4b-4281-b951-d872f2087c98
* Add a test runner for android_webview.mkosiba@chromium.org2012-08-2335-14/+1615
| | | | | | | | | | | | This change adds the necessary build rules for an android_webview test APK and test runner APK and a trivial test case. This change also adds a static Java library target to the WebContentsDelegateAndroid component. BUG= Review URL: https://chromiumcodereview.appspot.com/10855171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153046 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Exclude Chrome on Linux reference build files from license checkingmnaganov@chromium.org2012-08-231-0/+2
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10874010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153023 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Update the third-party licensing whitelistmnaganov@chromium.org2012-08-221-7/+5
| | | | | | | | | | | | | Updating after the following list of commits: https://chromiumcodereview.appspot.com/10825362 https://chromiumcodereview.appspot.com/10827427 https://chromiumcodereview.appspot.com/10829327 https://chromiumcodereview.appspot.com/10834354 Review URL: https://chromiumcodereview.appspot.com/10871015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152773 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor the Android port to allow access to the chrome layer.leandrogracia@chromium.org2012-08-2110-2/+196
| | | | | | | | | | | | | | | | | | | While in desktop chrome the main WebContentsDelegate is implemented in the chrome layer by the Browser class, the Android port implements it in the content layer in its ContentViewClient class. However, because of the content layering limitations this renders the chrome layer out of reach. This patch splits the WebContentsDelegate implementation in ContentViewClient into a separate class named WebContentsDelegateAndroid in the first chrome browser component "web_contents_delegate_android". Also, this patch introduces stubs for Chrome-specific and WebView-specific extensions of WebContentsDelegateAndroid in order to set the foundations for later patches. BUG=137967 TEST=existing tests Review URL: https://chromiumcodereview.appspot.com/10831060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152598 0039d316-1c4b-4281-b951-d872f2087c98
* Make checking the existence of the license file optional in the license toolsteveblock@chromium.org2012-08-171-7/+7
| | | | | | | | | | | | | | | | | | | | | | This is useful in situations where a checkout excludes some DEPS directories. In this case, a checkout may include the README.chromium file for a particular third-party project, but not the license file to which it refers. This change adds a new require_license_file argument to licenses.ParseDir(), with a default value of true. When true, there is no change in behaviour and if the license file is missing, an exception is raised. When false, if the license file is missing, we simply set the value of the 'License File' field of the returned metadata to None. This change also makes use of the new feature in webview_licenses.GetIncompatibleDirectories() and webview_licenses.GenerateNoticeFile(). BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10829355 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152091 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Remove the webview_core static library.mkosiba@chromium.org2012-08-161-15/+2
| | | | | | | | | | | | | | This removes webview_core and moves the deps directly into the libwebview target. The reason for this change is that make doesn't work correctly with a shared_library that doesn't contain any source files. BUG= Review URL: https://chromiumcodereview.appspot.com/10827382 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151949 0039d316-1c4b-4281-b951-d872f2087c98
* Add a function to provide the list of third-party directories which are ↵steveblock@chromium.org2012-08-142-0/+36
| | | | | | | | | | | | | | incompatible with Android. For most directories, we use a regex of whitelisted licenses to parse the 'License' field from the metadata. In some case, for example, where a custom license is used, we rely on a new 'Android Compatibility' field. This functionality will be used by the snapshot tool, which will exclude these incompatible directories from the snapshot in the Android tree. BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10829272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151462 0039d316-1c4b-4281-b951-d872f2087c98
* Add a tool to check license compatibility with Androidsteveblock@chromium.org2012-08-092-0/+556
| | | | | | | | | | This tool checks all third-party code used on Android, for the purposes of the Android WebView build. BUG=138921 Review URL: https://chromiumcodereview.appspot.com/10816041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150904 0039d316-1c4b-4281-b951-d872f2087c98
* Build target for Android WebView.torne@chromium.org2012-08-098-0/+252
This creates a "libwebview" build target for the JNI code to power the Android WebView. This is unfinished and can't run without additional code that has not yet been upstreamed, but it compiles and links successfully. In its present state the WebViewMainDelegate reuses Chrome implementations of other content client interfaces. This is a temporary state of affairs until necessary refactorings can be performed. Review URL: https://chromiumcodereview.appspot.com/10825155 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150780 0039d316-1c4b-4281-b951-d872f2087c98