summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* register the eventinterface with our dispatcher listMike Reed2009-12-171-0/+2
|
* Merge change Ifcce71fa into eclair-mr2Android (Google) Code Review2009-12-166-5/+40
|\ | | | | | | | | * changes: Implement the full screen WebView plugin.
| * Implement the full screen WebView plugin.Grace Kloba2009-12-166-5/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a NoTitleBar_Fullscreen dialog to implement the full screen plugin. This runs in the same thread as WebView (UI in the Browser case). One catch is that the SurfaceView provided by the plugin needs to be opaque if it doesn't want to see through the WebView. The PluginFullScreenHolder translates the events to the underline WebView. Special treatment in the touch case as it needs to translate the coordinates. WebView can't be panned, or double tap to zoom, or long press to trigger the context menu while having a full screen plugin. Inside webkit, we also give the plugin element focus when it goes to the full screen so that it takes key events. While handling key events, we don't let it loose focus or scroll out. Todo: When a plugin goes to full screen, we should make sure the embedded plugin is fully visible. Otherwise when we translate the touch events back, they will be outside of the visible rect and will be ignored. This is part 2 of 2-project check in.
* | Fix the benchmark app yet again to work in mr2 (and master).Patrick Scott2009-12-154-17/+25
|/ | | | | | The signature of startLoadingResource changed. The PageCache can change the FrameView so don't use the local one. Add a few more function intercepts in the fake vm.
* check to see if nav cache is up to date on tapCary Clark2009-12-156-5/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - WebKit/android/jni/WebViewCore.cpp - WebKit/android/jni/WebViewCore.h Add validNodeAndBounds() to determine if the clicked cached node is good. First check to see if the pointer to the frame and node still exist in the DOM. If they do, see if the hit test bounds they point to is the same as when the cache was recorded. - WebKit/android/nav/CacheBuilder.cpp - WebKit/android/nav/CachedNode.h Record the original absolute bounds for later comparison. - WebKit/android/nav/CacheBuilder.h Make getAreaRect() public so it can be called by validation. - WebKit/android/nav/WebView.cpp Enhance motionUp() with additional validation: use pointInNavCache() to see if there's a cached node; wait for message from webkit to see if bounds is unchanged; then use motionUp() to pass the original or altered click. This is a two-part change with frameworks/base. Fixes http://b/2249425
* Provide localized strings for <input> labels.Leon Scroggins2009-12-156-30/+87
| | | | | | | | | Fix for http://b/issue?id=2178786 Call up to Java to get strings for <input> labels, and use them on inputs. Requires a change in frameworks/base.
* Do not mergeAndrei Popescu2009-12-151-1/+1
| | | | | Replicate https://android-git.corp.google.com/g/#change,35704 to mr2 to leave this branch in a sane state. Otherwise, the browser crashes on startup.
* Merge change Ic29b39b8 into eclair-mr2Android (Google) Code Review2009-12-146-103/+82
|\ | | | | | | | | * changes: Replace the C-cast used to determine whether the resource handle represent the main resource.
| * Replace the C-cast used to determine whether the resource handle represent ↵Andrei Popescu2009-12-146-103/+82
| | | | | | | | | | | | the main resource. Fix style to match webkit style.
* | Notify native plugin code when the browser discards the customView.Derek Sollenberger2009-12-145-20/+77
| |
* | Rollback to return density for scaleFactor.Grace Kloba2009-12-112-22/+26
|/ | | Move the comment to HTMLCanvasElement and always use 1.0 there.
* Break the WebCore -> WebKit dependency in ResourceHandleAndroid.cpp.Andrei Popescu2009-12-1112-54/+166
|
* Merge change I6efdd453 into eclair-mr2Android (Google) Code Review2009-12-111-2/+7
|\ | | | | | | | | * changes: Fix the crash in RenderTableSection for Small Screen rendering. The code path was not exercised in the Browser and the crash was triggered by the WebKit integration.
| * Fix the crash in RenderTableSection for Small ScreenGrace Kloba2009-12-101-2/+7
| | | | | | | | | | | | | | rendering. The code path was not exercised in the Browser and the crash was triggered by the WebKit integration. Fix http://b/issue?id=2285748
* | Merge change I514e3218 into eclair-mr2Android (Google) Code Review2009-12-105-0/+151
|\ \ | | | | | | | | | | | | * changes: add event interface for plugins, so they can post an event to themselves (from any thread)
| * | add event interface for plugins, so they can post an event to themselves ↵Mike Reed2009-12-105-0/+151
| | | | | | | | | | | | (from any thread)
* | | fix sim build: only issue -Wno-psabi if we building for armMike Reed2009-12-101-3/+2
|/ /
* | remove 100s of warnings about va_list mangling in GCC 4.4Mike Reed2009-12-101-0/+3
| | | | | | | | | | | | | | | | On branch warning Changes to be committed: (use "git reset HEAD <file>..." to unstage) modified: Android.mk
* | Merge change Ice11d745 into eclair-mr2Android (Google) Code Review2009-12-101-1/+0
|\ \ | |/ |/| | | | | * changes: Removes superfluous SocketStreamHandleBase.cpp from Android build.
| * Removes superfluous SocketStreamHandleBase.cpp from Android build.Steve Block2009-12-101-1/+0
| | | | | | | | Change-Id: Ice11d7459e425b18f07b77527aa71696c880ae77
* | Merge change I85087ab0 into eclair-mr2Android (Google) Code Review2009-12-0911-49/+17
|\ \ | | | | | | | | | | | | * changes: Enable orientation events.
| * | Enable orientation events.Patrick Scott2009-12-0911-49/+17
| | | | | | | | | | | | | | | | | | | | | Remove our old orientation hacks as webkit now supports the orientation event. Call down into webkit when the orientation changes to send the js event. The change to Frame.cpp has been submited to bugs.webkit.org as issue 32321.
* | | Enable longpress and doubletap to WebKit as touchGrace Kloba2009-12-0910-24/+100
|/ / | | | | | | event if it is requested.
* | Pass a message to move the focus when user hits "Next".Leon Scroggins2009-12-093-5/+51
| | | | | | | | | | | | | | | | Directly move the focus rather than passing a click. Fixes http://b/issue?id=2292683 Requires a change to frameworks/base
* | Merge change I85893753 into eclair-mr2Android (Google) Code Review2009-12-095-7/+8
|\ \ | | | | | | | | | | | | * changes: Pull down change 51321 from webkit.org.
| * | Pull down change 51321 from webkit.org.Patrick Scott2009-12-095-7/+8
| | | | | | | | | | | | | | | Calls to EventNames() was causing multiple copies of the event names to be created. This could cause false negatives in hash map lookups.
* | | use twopoint gradientsMike Reed2009-12-081-3/+5
| | |
* | | Merge change I0b9d36d9 into eclair-mr2Android (Google) Code Review2009-12-083-7/+4
|\ \ \ | | | | | | | | | | | | | | | | * changes: Modify AndroidWebHistoryBridge to prepare uploading detachHistoryItem() to WebKit.
| * | | Modify AndroidWebHistoryBridge to prepare uploadingGrace Kloba2009-12-073-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | detachHistoryItem() to WebKit. I think it is easy to read this way that the constructor sets the m_historyItem and the new method will detach it.
* | | | Show "Go" for the last textfield in a form.Leon Scroggins2009-12-084-3/+13
| | | | | | | | | | | | | | | | Fixes http://b/issue?id=2210152
* | | | exclude from cache nodes that are entirely clipped outCary Clark2009-12-081-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Google's real time search has many results outside of an overflow div that should be ignored by the nav cache. Make it so. fixes http://b/2298478
* | | | Merge change Ia8a49e0d into eclair-mr2Android (Google) Code Review2009-12-081-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: fix debugging output
| * | | | fix debugging outputCary Clark2009-12-071-1/+2
| | | | |
* | | | | Switching from activity based full screen plugins to a view system overlay.Derek Sollenberger2009-12-087-87/+37
| | | | |
* | | | | Merge change I747854ee into eclair-mr2Android (Google) Code Review2009-12-081-1/+0
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | * changes: Remove an accidentally added include.
| * | | | Remove an accidentally added include.Ben Murdoch2009-12-071-1/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: I747854ee918df97d12d7d0ed1a5fecfb10d8d805
* | | | | Merge change I640d5ca9 into eclair-mr2Android (Google) Code Review2009-12-087-832/+314
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Merges V8 version of jni_utility with JSC version at WebCore/bridge/jni.
| * | | | | Merges V8 version of jni_utility with JSC version at WebCore/bridge/jni.Steve Block2009-12-077-832/+314
| | |_|_|/ | |/| | | | | | | | | | | | | Change-Id: I640d5ca9e38d78fd662550fa389cf8b463dc78b6
* | | | | Provide <input> type information to Java side.Leon Scroggins2009-12-074-15/+39
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Help to fix http://b/issue?id=1890360 and http://b/issue?id=2150538 CacheBuilder.cpp: Explicitly set isTextField to false for textareas. CachedRoot: Remove the code which checks to see if the textfield is a search, since if it is, we can avoid this path altogether. WebView: Return a single integer which tells what type the current text input field is. Requires a change to frameworks/base.
* | | | Continue https://android-git.corp.google.com/g/#change,34687,Grace Kloba2009-12-071-1/+1
| | | | | | | | | | | | We should use #if PLATFORM(ANDROID) now
* | | | Merge change I38601c0e into eclair-mr2Android (Google) Code Review2009-12-071-2/+8
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | * changes: Fix the wrong layout in the layout test.
| * | | Fix the wrong layout in the layout test.Grace Kloba2009-12-061-2/+8
| | |/ | |/| | | | | | | | | | | | | | | | When we create a new WebFrameView, the bounds needs to be transferred from the old WebFrameView. Otherwise the new View will have (0,0) as bounds. Add transitionToCommitted() for transitionToCommittedFromCachedFrame().
* | | fix crash reading readonly node stateCary Clark2009-12-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Something about rebuildTextView() invalidates the current cached frame -- reading the last obtained frame after calling it may crash. Why, I don't know. Until I figure that out, read the cached state first. Also remove some tests for null frame and node since the null case has already been handled earlierin motionUp(). fixes http://b/2307964
* | | Store InputType information for <input> fields, return SEARCH action for ↵Leon Scroggins2009-12-075-8/+21
| | | | | | | | | | | | | | | | | | | | | SEARCH <input> Fixes http://b/issue?id=2299660 and http://b/issue?id=2299650 Also remove isPassword, which is redundant.
* | | Merge change I9a5736f5 into eclair-mr2Android (Google) Code Review2009-12-072-5/+13
|\ \ \ | |_|/ |/| | | | | | | | * changes: Fixes a Geolocation bug with cached positions.
| * | Fixes a Geolocation bug with cached positions.Steve Block2009-12-072-5/+13
| |/ | | | | | | | | | | | | When a Geolocation watch calls back with a cached position, it could be cleared in the callback. This change makes sure the watch still exists after the callback before starting the Geolocation service. Change-Id: I9a5736f5ce78e1c4bb36659245ffb61b485c4018
* | Moves JSC-specific functions from jni_utility and moves them to a new ↵Steve Block2009-12-078-266/+349
|/ | | | | | | | jsc/jni_utility_private.h. See https://bugs.webkit.org/show_bug.cgi?id=32157 Change-Id: I1f7f0bb6fa9e72ee3eeb31160e0a828b3d076fee
* am daa8318d: (-s ours) DO NOT MERGE. This is cherry picked from ↵Grace Kloba2009-12-040-0/+0
|\ | | | | | | | | | | | | | | | | https://android-git.corp.google.com/g/#change,28737 Merge commit 'daa8318de3c63a28eccb52546c230e5c5caee962' into eclair-mr2 * commit 'daa8318de3c63a28eccb52546c230e5c5caee962': DO NOT MERGE.
| * DO NOT MERGE.Grace Kloba2009-12-044-81/+372
| | | | | | | | | | | | | | | | | | | | | | | | This is cherry picked from https://android-git.corp.google.com/g/#change,28737 Fix http://b/issue?id=2304741 Add check null of getRealObject(). When a WebView is removed, there is a slight chance that getRealObject() for WebView's JavaObject be null. Fix http://b/issue?id=2159815
* | Merge change I2b870c71 into eclair-mr2Android (Google) Code Review2009-12-041-4/+0
|\ \ | | | | | | | | | | | | * changes: Enables x-mac-cyrillic on Android, now that this is in our version of ICU.