summaryrefslogtreecommitdiffstats
path: root/content/shell/android/java/src
Commit message (Collapse)AuthorAgeFilesLines
* Navigation buttons should not enable if user can not navigateankit2.kumar@samsung.com2014-05-221-0/+12
| | | | | | | | | | | | | | | Added code to enable/disable navigation buttons(prev/Next). Prev button will be enable only if user can navigate in back direction and similarly Next button will be enable only if user can navigate in forward direction. BUG=374702 NOTRY=true Review URL: https://codereview.chromium.org/287373002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272288 0039d316-1c4b-4281-b951-d872f2087c98
* Remove all external references to ContentView from Tab/Shell/etc.yfriedman@chromium.org2014-05-151-11/+12
| | | | | | | | | | | | | | | | | Cleanups: - most places now directly use ContentViewCore instead of ContentView - ContentView.getContentViewCore is removed (as you should be using CVC directly and CVC.getContainerView()) - Tab.getContentView is removed. Use Tab.getView or Tab.getContentViewCore().getContainerView(), with the latter being for content rendered without android views. BUG=360664 NOTRY=true Review URL: https://codereview.chromium.org/275733002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270762 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a new fullscreen video crash if ContentVideoView cannot be created.qinmin@chromium.org2014-04-301-2/+3
| | | | | | | | | | | | | | Test url: http://m.discovery.com/tv-shows/dual-survival/videos/change-is-coming-to-dual-survival Sometimes clicking on a video will open up a new tab. In this case, the old tab will lose its fullscreen manager. If the video also tries to enter fullscreen on the same click, then onShowCustomView() will fail to find the fullscreen manager. We should let the video exit fullscreen in this case, this matches the behavior of that of the old fullscreen video. BUG=366192 Review URL: https://codereview.chromium.org/250853005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267204 0039d316-1c4b-4281-b951-d872f2087c98
* ContentView->ContentViewCore.getContainerView in content/ testsyfriedman@chromium.org2014-04-241-2/+3
| | | | | | | | | | | | Some spillover into chrome-layer tests too because of change to DOMUtils interface. Many places that don't need ContentView proper and just need the View managed by ContentViewCore. BUG=360664 Review URL: https://codereview.chromium.org/246233009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265778 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some functions from ContentView that just forwarded to ContentViewCore.yfriedman@chromium.org2014-04-211-1/+1
| | | | | | | | | | Also removes many spurious dependencies on ContentView. BUG=360664 Review URL: https://codereview.chromium.org/227433017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265028 0039d316-1c4b-4281-b951-d872f2087c98
* ContentView->ContentViewCore in Shell/ShellManager.yfriedman@chromium.org2014-04-102-18/+27
| | | | | | | | | | | | | | | | Basically just ensures you can always directly get a ContentViewCore in ContentShell code. There's too many callers for one CL to switch everyone over to that. More clean-up is needed but it seems like the next strings I pull result in a fair bit of diff. Seems like a small enough chunk that is a logical change. BUG=360664 Review URL: https://codereview.chromium.org/227653006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263066 0039d316-1c4b-4281-b951-d872f2087c98
* ContentView->ContentViewCore in ContentViewRenderViewyfriedman@chromium.org2014-04-092-3/+4
| | | | | | | | | | | | | | | | ContentViewRenderView's usage of ContentView is historical. Everything just forwards to ContentViewCore. Cleaning this up, allows further distinction between the two. Some misc changes in TabUtils.java to appease presubmit. BUG=360664 Use CVC as appropriate in content shell Review URL: https://codereview.chromium.org/227803004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262838 0039d316-1c4b-4281-b951-d872f2087c98
* enable subtitle support and the new fullscreen videoqinmin@chromium.org2014-03-071-4/+4
| | | | | | | | | | | This CL enables the subtitle and new fullscreen video for chrome. The new fullscreen mode has been in testing for a while, this Cl will enable this new fullscreen mode. BUG=262945 Review URL: https://codereview.chromium.org/182493003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255500 0039d316-1c4b-4281-b951-d872f2087c98
* Don't miss to call ContentView.onShow when lunching content shell and test shellb.kelemen@samsung.com2014-02-261-0/+1
| | | | | | | | | | | | | In the onStart callback of the activity we do not have a view yet in case the activity lunched the first time or when it is coming back from background and it was terminated by the os. This CL makes sure we issue onShow when finishing initialization. BUG=345425 Review URL: https://codereview.chromium.org/165993008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253417 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash of the Content Shell for Android when showing videos in a ↵sungmann.cho@navercorp.com2014-02-212-3/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ContentVideoView. The Content Shell for Android crashes when it attempts to show a ContentVideoView(see below logs for details). It only happens in the child Shell that newly opened, not in the initial Shell. Because a ContentViewClient is set only for the initial Shell, but not the others. Steps to reproduces: 1. Go to http://www.google.com and search YouTube. 2. Click the link of YouTube in the result pages. Then YouTube page is opened in a new Shell. 3. Click a play button on a video clip. java.lang.NullPointerException at org.chromium.content.browser.ContentVideoView.showContentVideoView(ContentVideoView.java:176) at org.chromium.content.browser.ContentVideoViewLegacy.showContentVideoView(ContentVideoViewLegacy.java:128) at org.chromium.content.browser.ContentVideoView.<init>(ContentVideoView.java:150) at org.chromium.content.browser.ContentVideoViewLegacy.<init>(ContentVideoViewLegacy.java:57) at org.chromium.content.browser.ContentVideoView.createContentVideoView(ContentVideoView.java:378) at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method) at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:24) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) at dalvik.system.NativeStart.main(Native Method) Review URL: https://codereview.chromium.org/172043002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252530 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for closing Android Shell instances from Java.tedchoc@chromium.org2014-01-252-9/+47
| | | | | | | | | | | | | | | | | | | This reverts commit 4e5242f7faa3f7ced3e8a955a8154c43016986d8. This differs from the first patch in that creating a new shell does not clean up the previous instances (i.e. by launching a new window via js). That had timing dependencies that broke the webkit tests and I believe the correct solution is to allow switching back and forth to various shells and allowing the user to delete them. That will be a larger patch that I will handle separately. TEST=webkit/tools/layout_tests/run_webkit_tests.py --platform=android --debug TEST=build/android/test_runner.py instrumentation --test-apk ContentShellTest --test_data chrome:chrome/test/data/android/device_files -f ContentShellShellManagementTest# BUG= Review URL: https://codereview.chromium.org/144473002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247099 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Add support for closing Android Shell instances from Java."dcheng@chromium.org2014-01-102-38/+6
| | | | | | | | | | This causes some layout tests on Android to crash with a NPE. TBR=tedchoc@chromium.org,avi@chromium.org Review URL: https://codereview.chromium.org/130503003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244118 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Remove assert as it uses a non-API backwards compatible function.tedchoc@chromium.org2014-01-101-2/+0
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/130893004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244036 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for closing Android Shell instances from Java.tedchoc@chromium.org2014-01-102-6/+40
| | | | | | | | | | | | | This also fixes an issue where the java side would be deleted when calling launchShell, but the native counter part was not being cleaned up. BUG=330902 TBR=avi@chromium.org Review URL: https://codereview.chromium.org/117403003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244022 0039d316-1c4b-4281-b951-d872f2087c98
* Enables fullscreen subtitle and media control from Blinktrchen@chromium.org2014-01-091-0/+9
| | | | | | | | | | | | | | | | | | | | | In detail, this patch does the following things: - Move the Blink SurfaceView on top of ContentVideoView - Enable necessary bits on the compositor to make background transparent, and enables alpha blending. - Introduce a new command-line flag to enable the new mode. The old-style Java media control are moved to ContentVideoViewLegacy, which is enabled by default. To enable the blink-based media control, do the following: adb shell sudo echo chrome --enable-overlay-fullscreen-video-subtitle > /data/local/chrome-command-line R= BUG=262945 Review URL: https://codereview.chromium.org/25040002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243743 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing Java style issues in content/aurimas@chromium.org2013-12-112-2/+2
| | | | | | | | | BUG=320711 NOTRY=true Review URL: https://codereview.chromium.org/111373004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239989 0039d316-1c4b-4281-b951-d872f2087c98
* Adding compositor callbacks to RenderWidgetHostViewAndroidpowei@chromium.org2013-11-211-8/+10
| | | | | | | | | | | | | | | | | | The coupling between the compositor and the RenderWidgetHostViewAndroid (RWHVA) is weak. This causes problem such as when RWHVA needs to act on a compositor commit (as in the current DidCommitFrameData callback). We create a WindowAndroidObserver class and add a list of observers to the android window, which then forwards the callbacks from the compositor to the observers. android= https://gerrit-int.chromium.org/#/c/44978/ BUG=273250 Review URL: https://codereview.chromium.org/26753005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236598 0039d316-1c4b-4281-b951-d872f2087c98
* Android: moves content/ to use long for JNI.bulach@chromium.org2013-11-181-1/+1
| | | | | | | | BUG=317523 Review URL: https://codereview.chromium.org/59673007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235815 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Android changes.tfarina@chromium.org2013-11-152-2/+2
| | | | | | | | | | | | | | | | | | | | A series of changes related to android code organization under ui, that came after the discussion in https://codereview.chromium.org/62203014/. - Rename ui_jni_registrar.* to ui_base_jni_registrar.* - Create a base/ directory under ui/android/java/src/org/chromium/ui, and move some java files there. - Move Surface java files into ui/android/java/src/org/chromium/ui/gl/ directory. - Rename ui_jni_headers to ui_base_jni_headers. - Create a new ui_android.gyp file under ui/android to contain ui_java target. BUG=299841 R=tedchoc@chromium.org, yfriedman@chromium.org TBR=ben Review URL: https://codereview.chromium.org/70843003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235369 0039d316-1c4b-4281-b951-d872f2087c98
* Add way to reload the page, ignoring the cachedfalcantara@chromium.org2013-11-071-2/+2
| | | | | | | | | | | | | Introduce a way to call NavigationControllerImpl::ReloadIgnoringCache() from the Java-side TabBase. Also, consolidate reload() functions. BUG=307333 Review URL: https://codereview.chromium.org/49353008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233498 0039d316-1c4b-4281-b951-d872f2087c98
* content_shell: Create the FIFOs needed for running Android layout testspeter@chromium.org2013-06-201-0/+25
| | | | | | | | | | | | The Android layout test runner communicates with content_shell through a set of three fifos, one for each of [stdout, stderr, stdin]. Create those after basic initialization. BUG=232044 Review URL: https://chromiumcodereview.appspot.com/17265005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207562 0039d316-1c4b-4281-b951-d872f2087c98
* Android: implement content::Shell::Close()skyostil@chromium.org2013-05-291-6/+12
| | | | | | | | | | This patch implements the Shell::Close() method for Content Shell on Android. BUG=138226 Review URL: https://chromiumcodereview.appspot.com/14977010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202852 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Remove "Chrome" and "View" personalitiesmnaganov@chromium.org2013-05-081-2/+1
| | | | | | | | | | | | The content layer code is now by default operates in the "Chrome" mode. All WebView customizations are applied in the android_webview layer. BUG=b/8296421 R=benm@chromium.org, bulach@chromium.org, jochen@chromium.org, joth@chromium.org Review URL: https://codereview.chromium.org/14821004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198877 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Rename NativeWindow to WindowAndroid.aurimas@chromium.org2013-04-192-7/+7
| | | | | | | | | | | | Renaming NativeWindow to WindowAndroid for consistency with C++ name of window_android. Also removing AwNativeWindow as according to joth@ it is no longer isued in WebView. BUG=233064 Review URL: https://chromiumcodereview.appspot.com/14169011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195101 0039d316-1c4b-4281-b951-d872f2087c98
* Adding IME test changes to make it easier to test.aurimas@chromium.org2013-02-131-0/+3
| | | | | | | | | NOTRY=true Review URL: https://chromiumcodereview.appspot.com/12262016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182344 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding "Add apk for running content_browsertests"nileshagrawal@chromium.org2013-01-293-251/+3
| | | | | | | | | | | | | | | | | | Revert "Revert 179189" This reverts commit 5844ab0c6a41cc9d306f8c355cc7ceb5e290cbb1. Original CL:https://codereview.chromium.org/12047068/ was reverted as we failed to update the bot scripts with the new package name for content_shell_apk TBR=mark@chromium.org,jam@chromium.org BUG=138275 Review URL: https://chromiumcodereview.appspot.com/12091033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179428 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 179189nileshagrawal@chromium.org2013-01-283-3/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Failed to rename package name in buildbot scripts. Broke buildbots. > Add apk for running content_browsertests > > Split off org.chromium.content_shell into: > org.chromium.content_shell - content shell java code, builds a jar, directory structure similar to other jar targets > org.chromium.content_shell_apk - application code to build content_shell_apk, directory structure similar to that of android application > org.chromium.content_browsertests_apk - application code to build content_browsertests_apk > > Also splitting content/shell/android/res into: > - content/shell/android/java/res > - content/shell/android/shell_apk/res > > Both content_shell_apk and content_browsertests_apk will depend on content_shell_java target to include java/res needed to show a shell based browser. > > I will do another CL to move The java files for content_shell_tests_apk to content_shell_apk package. > > BUG=138275 > > > Review URL: https://chromiumcodereview.appspot.com/12047068 TBR=nileshagrawal@chromium.org Review URL: https://codereview.chromium.org/12088031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179211 0039d316-1c4b-4281-b951-d872f2087c98
* Add apk for running content_browsertestsnileshagrawal@chromium.org2013-01-283-251/+3
| | | | | | | | | | | | | | | | | | | | | | Split off org.chromium.content_shell into: org.chromium.content_shell - content shell java code, builds a jar, directory structure similar to other jar targets org.chromium.content_shell_apk - application code to build content_shell_apk, directory structure similar to that of android application org.chromium.content_browsertests_apk - application code to build content_browsertests_apk Also splitting content/shell/android/res into: - content/shell/android/java/res - content/shell/android/shell_apk/res Both content_shell_apk and content_browsertests_apk will depend on content_shell_java target to include java/res needed to show a shell based browser. I will do another CL to move The java files for content_shell_tests_apk to content_shell_apk package. BUG=138275 Review URL: https://chromiumcodereview.appspot.com/12047068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179189 0039d316-1c4b-4281-b951-d872f2087c98
* Throw exception when initialization failed.michaelbai@chromium.org2013-01-151-21/+25
| | | | | | | | | | | | | | | | | | | | | Previously the initialization return code was ignored, it will lead us crash later. We need a way to exit and maybe show error message if something wrong during initialization. Using exception might better than returning the result code since the initialization code could be called from constructor and initialization error is an exception at most of time. In activity, the exception is caught, then call finish() to exit. In tests, the exception is wrapped with Error and threw out. BUG=b/7705055 Review URL: https://chromiumcodereview.appspot.com/11567061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176975 0039d316-1c4b-4281-b951-d872f2087c98
* Enable Tracing on content shell for Androidkangyuan.shu@intel.com2013-01-091-0/+31
| | | | | | | | | BUG=166802 Review URL: https://chromiumcodereview.appspot.com/11647013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175730 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Android ContentShell's incorrect behavior when opening link with ↵shouqun.liu@intel.com2012-12-161-1/+5
| | | | | | | | | | | | | | | | | | window.open. Fixed the two following issues: - When open a link with 'window.open', new shell content is not rendered correctly, the content is always DEFAULT_SHELL_URL(http://www.google.com). - When ContentShell activity is stopped and restarted, the rendered content is clear and reload to DEFAULT_SHELL_URL. BUG=165745 TEST=manual: verified link in news.google.com is opened and rendered correctly Review URL: https://chromiumcodereview.appspot.com/11574003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173370 0039d316-1c4b-4281-b951-d872f2087c98
* android: Improve ActivityStatus and add ChromiumActivity.digit@chromium.org2012-12-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The ActivityStatus class used to track activity state changes is too basic for some usage scenarios. This patch does the following: - Augment ActivityStatus with a new StateListener type that can be registered to listen to all activity state changes. Also add getActivity(), getState(), registerStateListener() and unregisterStateListener() as static method. - Add a new ChromiumActivity class that all Chromium main activities should sub-class, to ensure that the ActivityStatus state is updated appropriately. - Modify all main activities in the Chromium code base to extend from ChromiumActivity instead of Activity. BUG=none Review URL: https://chromiumcodereview.appspot.com/11419287 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171789 0039d316-1c4b-4281-b951-d872f2087c98
* Create a ContentVideoViewDelegate.javaacleung@google.com2012-11-301-1/+3
| | | | | | | | | BUG=6295515 Review URL: https://chromiumcodereview.appspot.com/11412076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170565 0039d316-1c4b-4281-b951-d872f2087c98
* Handle the 'enter' key with the action 'ACTION_DOWN'yongsheng.zhu@intel.com2012-11-301-1/+1
| | | | | | | | | | | | | Tests show that when pressing 'enter' key, content shell and test shell only receive the action 'ACTION_DOWN'. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/11299196 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170398 0039d316-1c4b-4281-b951-d872f2087c98
* Remove AppResource and unneeded resources.newt@chromium.org2012-11-271-19/+0
| | | | | | | | | | | | | | | | | | Now that content and chrome have their own resources and are accessing them via the org.chromium.[content|chrome].R classes, we can remove the duplicates of these resources that live in content shell and test shell as well as any remaining references to AppResource.java. This is the third of three CLs to replace AppResource with R: 1. http://codereview.chromium.org/11363150 - Support Java resources within content 2. http://codereview.chromium.org/11360207 - Add Java resources to content and chrome 3. http://codereview.chromium.org/11377117 - Remove AppResource and unneeded resources BUG=136704 Review URL: https://chromiumcodereview.appspot.com/11377117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169633 0039d316-1c4b-4281-b951-d872f2087c98
* Move CommandLineTest to ContentShell and remove FlakyTest annotation.yfriedman@chromium.org2012-11-262-1/+5
| | | | | | | | | | | Successfully passed 30/30 BUG=147997 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11417132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169458 0039d316-1c4b-4281-b951-d872f2087c98
* Start hooking up element.requestFullscreen() for content shelljinsukkim@google.com2012-11-221-0/+9
| | | | | | | | | | | Plumbs through the required mechanism in web_contents_delegate.cc. BUG= Review URL: https://chromiumcodereview.appspot.com/11410078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169231 0039d316-1c4b-4281-b951-d872f2087c98
* Making it easier to hook a ContentViewCore to the SurfaceView.jcivelli@chromium.org2012-11-162-12/+12
| | | | | | | | | | | | | | | | | This CL changes the way we deal with WebLayers, so that a ContentViewCore does not need native code anymore to hook with the surface view. The ContentViewCore now keeps track of the WebLayers as they are attached/detached. The ContentViewRenderView is used to render a specific ContentView by retrieving the ContentViewCore WebLlayer and adding it to the compositor. BUG= TEST=ContentShell and ChromiumTestShell should still work. Review URL: https://chromiumcodereview.appspot.com/11293264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168166 0039d316-1c4b-4281-b951-d872f2087c98
* Created a new class ContentViewRenderView which contains the code used tojcivelli@chromium.org2012-11-102-31/+21
| | | | | | | | | | | | | bridge the compositor to the SurfaceView. Make ContentShell and ChromiumTestShell use that class. BUG=None TEST=ContentShell and ChromiumTestShell should still work. Review URL: https://chromiumcodereview.appspot.com/11369136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167051 0039d316-1c4b-4281-b951-d872f2087c98
* Android: first step on LibraryLoader API changes.bulach@chromium.org2012-11-011-1/+1
| | | | | | | | | | | | | | | Exposes "loadNow()" so that the application side can load the library in a background thread rather than relying on LibraryLoader itself using AsyncTask. A follow will cleanup the asynchronous API. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/11361007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165280 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the crash issue of Android ContentShell when open a link with ↵shouqun.liu@intel.com2012-10-312-7/+15
| | | | | | | | | | | | "target='_blank'". BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/11300006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165137 0039d316-1c4b-4281-b951-d872f2087c98
* Adding progresss bar when loading fullscreen videoqinmin@chromium.org2012-10-151-0/+3
| | | | | | | | | BUG=147240 Review URL: https://chromiumcodereview.appspot.com/11087082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161969 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream BrowserChildProcessHostImplyusufo@chromium.org2012-10-151-0/+3
| | | | | | | | | | | | | This is also needed to make it possible for content_shell and test_shell to use mobile as user agent. Some methods and files had to be moved out of chrome to be able to use them in content_shell BUG=152807,154122 Review URL: https://chromiumcodereview.appspot.com/11066087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161933 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Upstream content detection and ChromeBrowserProvider tests.leandrogracia@chromium.org2012-10-101-1/+20
| | | | | | | | BUG=125390,138755 Review URL: https://codereview.chromium.org/11085008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161101 0039d316-1c4b-4281-b951-d872f2087c98
* Add the missing resources for fullscreen video qinmin@chromium.org2012-10-091-0/+6
| | | | | | | | This is the last patch for enabling fullscreen video on content shell and test shell. Review URL: https://chromiumcodereview.appspot.com/11091025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160905 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed ContentViewTestBase#setUpContentViewdtrainor@chromium.org2012-09-291-0/+15
| | | | | | | | | | | | | | - Added support for waiting for the ContentShell's active shell to completely load before continuing with teh rest of setUpContentView. - Made setUpContentView do a final reload to a blank file after the set up is complete and the JS is injected. BUG=http://crbug.com/152735 Review URL: https://chromiumcodereview.appspot.com/11021002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159408 0039d316-1c4b-4281-b951-d872f2087c98
* Adding NativeWindow base class with context.aurimas@chromium.org2012-09-222-2/+20
| | | | | | | | | | This is a change from the previous CL (https://codereview.chromium.org/10916160/). It turns out that not all the Android objects that create NativeWindow will have an activity, so we need this change. BUG=116131 Review URL: https://chromiumcodereview.appspot.com/10962002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158159 0039d316-1c4b-4281-b951-d872f2087c98
* Upstreaming SelectFileDialog for Androidaurimas@chromium.org2012-09-183-1/+22
| | | | | | | | | | | | Upstreaming the Select File Dialog and its dependencies needed for Chrome on Android BUG=116131 Review URL: https://chromiumcodereview.appspot.com/10916160 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157424 0039d316-1c4b-4281-b951-d872f2087c98
* Consolidate ContentViewCore::Load* functionsboliu@chromium.org2012-08-151-1/+2
| | | | | | | | | | | | | | | Consolidate all ContentViewCore::Load* methods into a single LoadUrl call that takes a NavigationController::LoadURLParam. Consolidate all jni ContentViewCore::Load* methods by adding a Java LoadUrlParams. The data is copied to a native AndroidLoadUrlParams object in native jni code. BUG=142933 Review URL: https://chromiumcodereview.appspot.com/10823207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151784 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream ContentView contentDescriptiondtrainor@chromium.org2012-08-141-0/+1
| | | | | | | | | | | Add a contentDescription to ContentView BUG= Review URL: https://chromiumcodereview.appspot.com/10832284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151590 0039d316-1c4b-4281-b951-d872f2087c98