| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| | |
* changes:
Implement the full screen WebView plugin.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
* changes:
Replace the C-cast used to determine whether the resource handle represent the main resource.
|
| |
| |
| |
| |
| |
| | |
the main resource.
Fix style to match webkit style.
|
| | |
|
|/
|
| |
Move the comment to HTMLCanvasElement and always use 1.0 there.
|
| |
|
|\
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
add event interface for plugins, so they can post an event to themselves (from any thread)
|
| | |
| | |
| | |
| | | |
(from any thread)
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| | |
On branch warning
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: Android.mk
|
|\ \
| |/
|/|
| |
| | |
* changes:
Removes superfluous SocketStreamHandleBase.cpp from Android build.
|
| |
| |
| |
| | |
Change-Id: Ice11d7459e425b18f07b77527aa71696c880ae77
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
Enable orientation events.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|/ /
| |
| |
| | |
event if it is requested.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Directly move the focus rather than passing a click.
Fixes http://b/issue?id=2292683
Requires a change to frameworks/base
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
Pull down change 51321 from webkit.org.
|
| | |
| | |
| | |
| | |
| | | |
Calls to EventNames() was causing multiple copies of the event names to be
created. This could cause false negatives in hash map lookups.
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* changes:
Modify AndroidWebHistoryBridge to prepare uploading detachHistoryItem() to WebKit.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | | |
Fixes http://b/issue?id=2210152
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
fix debugging output
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| |_|_|_|/
|/| | | |
| | | | |
| | | | | |
* changes:
Remove an accidentally added include.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I747854ee918df97d12d7d0ed1a5fecfb10d8d805
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
Merges V8 version of jni_utility with JSC version at WebCore/bridge/jni.
|
| | |_|_|/
| |/| | |
| | | | |
| | | | | |
Change-Id: I640d5ca9e38d78fd662550fa389cf8b463dc78b6
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | | |
We should use #if PLATFORM(ANDROID) now
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | | |
* changes:
Fix the wrong layout in the layout test.
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
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().
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
SEARCH <input>
Fixes http://b/issue?id=2299660 and http://b/issue?id=2299650
Also remove isPassword, which is redundant.
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
* changes:
Fixes a Geolocation bug with cached positions.
|
| |/
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
| |
jsc/jni_utility_private.h.
See https://bugs.webkit.org/show_bug.cgi?id=32157
Change-Id: I1f7f0bb6fa9e72ee3eeb31160e0a828b3d076fee
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
https://android-git.corp.google.com/g/#change,28737
Merge commit 'daa8318de3c63a28eccb52546c230e5c5caee962' into eclair-mr2
* commit 'daa8318de3c63a28eccb52546c230e5c5caee962':
DO NOT MERGE.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
Enables x-mac-cyrillic on Android, now that this is in our version of ICU.
|