summaryrefslogtreecommitdiffstats
path: root/WebKit/android
Commit message (Collapse)AuthorAgeFilesLines
...
| * Make deep copy of the String when use them in the UI thread as AtomicString ↵Grace Kloba2009-07-061-3/+3
| | | | | | | | is not thread safe.
* | Merge change 6213Android (Google) Code Review2009-07-061-8/+36
|\ \ | | | | | | | | | | | | * changes: Added createView and attachView for playing embedded videos.
| * | Added createView and attachView for playing embedded videos.Patrick Scott2009-07-061-8/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use a larger naturalSize (same as RenderReplaced intrinsic size). The real code should report the size from the video once decoded. Still need to implement setVisible to not show the VideoView when it isn't actually visible. That would probably be a better spot to attach it to the view system.
* | | In WebTextView, check the focus before sending a key.Leon Scroggins2009-07-061-0/+8
|/ / | | | | | | | | | | | | | | This fixes a bug where the DOM has moved the focus, but the WebTextView is still sending keys to the old focus. Requires a change in frameworks/base. This part of the change just gives WebView a way to get a pointer to the currently focused node (regardless of the cursor).
* | Merge change 5931Android (Google) Code Review2009-07-021-1/+1
|\ \ | | | | | | | | | | | | * changes: Remove JavaScript node size in the instrumentation as it is using arena now. Added JSC namespace for the TimeCounter.
| * | Remove JavaScript node size in the instrumentation as it is using arena now. ↵Grace Kloba2009-07-011-1/+1
| | | | | | | | | | | | Added JSC namespace for the TimeCounter.
* | | added gain/loose focus support for plugins. (focus = eligible to receive ↵Derek Sollenberger2009-07-023-9/+80
| | | | | | | | | | | | user events)
* | | Update the nav cache when selected elements change or moveCary Clark2009-07-013-26/+37
|/ / | | | | | | | | | | This helps superpudu recompute the cursor ring more frequently when the floating bar moves. It also helps update the nav cache when navigating during a page load.
* | Fix a WebView longpress bug.Leon Scroggins2009-06-303-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Longpressing on a WebView while the WebTextView is up calls WebTextView::performLongPress(). This used to be fine, but now we may still leave the WebTextView up while the user is longpressing on something else. Check to ensure that the focus is the same as the cursor before calling WebTextView's version. Also, send a click if the user longpresses on a different WebTextView, so it will now behave appropriately. Requires a change in frameworks/base. Provide a setter on CachedHistory to set the mousebounds, and set it in selectBestAt, so that getSimulatedMousePosition uses the correct information. Also edit some comments to refer to the cursor rather than the focus. In WebView.cpp, use the delete TypingCommand, making deleting and cutting work once again.
* | Make the caret/selection draw when gaining window focus.Leon Scroggins2009-06-301-7/+7
| | | | | | | | | | | | | | When the WebView loses WindowFocus, we stop drawing the selection. We need to resume drawing it, especially for the context menu, which steals WindowFocus. Corresponds to a change in frameworks.
* | Merge change 5685Android (Google) Code Review2009-06-301-1/+1
|\ \ | | | | | | | | | | | | * changes: Don't clip out nodes if the clip is an empty rectangle
| * | Don't clip out nodes if the clip is an empty rectangleCary Clark2009-06-291-1/+1
| | | | | | | | | | | | http://b/issue?id=1945476
* | | Merge change 5717Android (Google) Code Review2009-06-291-4/+0
|\ \ \ | | | | | | | | | | | | | | | | * changes: Remove incorrect comments
| * | | Remove incorrect commentsFeng Qian2009-06-291-4/+0
| | | | | | | | | | | | | | | | Also no need to change order between libv8 and libxml2.
* | | | resolved conflicts for merge of dac9d5be to masterGrace Kloba2009-06-292-1/+3
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | Add JavaScript parsing into instrumentation. Also modify css parsing ↵Grace Kloba2009-06-262-1/+3
| | | | | | | | | | | | calculations.
| * | Add <keygen> support for VPN team.Grace Kloba2009-06-123-1/+65
| | |
| * | DO NOT MERGE.Grace Kloba2009-06-101-0/+25
| | | | | | | | | | | | | | | | | | Merge 2390 from master to donut. Added postUrl() to WebView so that we can pass lat/lon for the search.
* | | Add SetJSFlags option in debug mode.Feng Qian2009-06-291-0/+20
| | |
* | | As WebKit takes "expires" as String, we can pass it directly with the rest ↵Grace Kloba2009-06-292-8/+3
| | | | | | | | | | | | of the headers.
* | | Adding support for plugins to request the keyboard.Derek Sollenberger2009-06-295-4/+32
| |/ |/|
* | Remove the web text view if the key press is abandonedCary Clark2009-06-292-1/+12
| | | | | | | | Requires companion change in frameworks/base
* | work in progress to enable plugins to receive arrow keysCary Clark2009-06-294-72/+102
| | | | | | | | | | | | | | | | | | | | | | | | Consolidate key handling. Simplify interface between android and webkit so multiple clients can use common code to pass keys. Add helper to return if cached node is plugin. Use WebView::m_clickedOnPlugin to remember active plugins. Add WebView.MOVE_CURSOR to replay key events the plugin doesn't want.
* | Make clicking the trackball on a <select> element work.Leon Scroggins2009-06-262-18/+19
| | | | | | | | | | | | | | | | Optionally pass a frame and node pointer to nativeClick, since the hit testing does not find the HTMLSelectElement node. Also change the signature of nativeClick to return void, since we never use the return value. Requires a change in frameworks/base.
* | Merge change 5521Android (Google) Code Review2009-06-261-4/+16
|\ \ | | | | | | | | | | | | * changes: Adding mouse events to the plugin API
| * | Adding mouse events to the plugin APIDerek Sollenberger2009-06-261-4/+16
| | |
* | | Merge change 5445Android (Google) Code Review2009-06-261-26/+40
|\ \ \ | | | | | | | | | | | | | | | | * changes: Fix a bug where sometimes the cursor was lost.
| * | | Fix a bug where sometimes the cursor was lost.Leon Scroggins2009-06-261-26/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a new function that sets the cursor data to the WebViewCore, and call it each time we change the cursor. Prior to this change, by touching on a non-cursored, non-focused textfield, you could set the cursor on the current CachedRoot without setting the data on the WebViewCore. Then, when we get a new frame cache, we check the data on the WebViewCore (which is out of date). Since it does not think there was a cursor (or it thinks it was somewhere else), we do not restore the cursor on the new cache. This change fixes that by ensuring that the cursor information is up to date.
* | | | Merge change 5139Android (Google) Code Review2009-06-261-0/+265
|\ \ \ \ | |/ / / |/| | | | | | | | | | | * changes: Implement fullscreen video. Currently only load() and play() are supported. The rest of the MediaPlayerPrivate functionality will be added in a later CL.
| * | | Implement fullscreen video. Currently only load() and play() are supported. ↵Andrei Popescu2009-06-251-0/+265
| | | | | | | | | | | | | | | | The rest of the MediaPlayerPrivate functionality will be added in a later CL.
* | | | Invalidate the full rectangle of the highlight when clearing it.Leon Scroggins2009-06-251-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | In drawCursorRing, we potentially use a different value than bounds for the cursor ring. If we use that other value, also use it for the invalidation to clear it later.
* | | | Merge change 5393Android (Google) Code Review2009-06-251-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | * changes: throttle plugin draws to 60fps, so we don't swamp the CPU to no visual avail.
| * | | throttle plugin draws to 60fps, so we don't swamp the CPU to no visual avail.Mike Reed2009-06-251-1/+1
| | | |
* | | | Fix for the new webkit. "expires" now takes the string instead of int.Grace Kloba2009-06-252-8/+8
|/ / /
* | | add zoom field to visibleRect eventMike Reed2009-06-244-23/+18
| | |
* | | set trackball click to the edge of the text field, not the middleCary Clark2009-06-245-11/+36
| | | | | | | | | | | | | | | | | | | | | | | | Add clicking, key debug statements in WebViewCore.cpp. Fix dumping nav tree to use NamedNodeMap. Set click point to be start of text field, end of text area, middle of others. Make CachedRoot::getSimulatedMousePosition, callers const
* | | Adding keyEvent support for plugins.Derek Sollenberger2009-06-232-23/+26
|/ /
* | Fix <select with multiple and/or size > 1.Leon Scroggins2009-06-231-2/+2
| | | | | | | | | | | | | | | | | | With the latest WebKit drop we lost a hack we had to make ListBoxes behave like MenuLists. Rather than reviving it, now in WebViewCore check for isListBox(). This makes a click once again open the list so the user can choose the selection. Also disable WebKit's drawing of the text shown, and simply draw it ourselves, so we can draw nothing or the first item selected.
* | Fix V8 build.Feng Qian2009-06-221-1/+1
| |
* | Don't draw focus ring around plugin when clicking on itCary Clark2009-06-221-0/+4
| |
* | Merge change 4941Android (Google) Code Review2009-06-221-7/+1
|\ \ | | | | | | | | | | | | * changes: Remove ANDROID_USER_GESTURE as the bug it fixed no longer applies.
| * | Remove ANDROID_USER_GESTURE as the bug it fixed no longer applies.Patrick Scott2009-06-221-7/+1
| | | | | | | | | | | | | | | | | | | | | I tested the original bug and found that without this change, the link works perfectly fine. The only thing that does not work with this change is redirects within iframes that are to non-http protocols. This is ok since iframes can always change the parent window's location if this is the desired behavior.
* | | rebuild WebView nav cache on trackball move, other bugsCary Clark2009-06-223-12/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the WebViewCore picture set is recomputed, check to see if the trackball has moved since the last time. If so, rebuild the nav cache even if dom version checking is disabled. If there's no focus node ready to receive a key event, check to see if the cursor is hovering over a plugin, and give it the event instead. Update all cursor state in both places it could change.
* | | Providing plugins with scrolling ability as well as an event informing the ↵Derek Sollenberger2009-06-224-10/+77
|/ / | | | | | | plugin of the document's visibleRect.
* | Merge change 4804Android (Google) Code Review2009-06-191-5/+4
|\ \ | | | | | | | | | | | | * changes: Ues loadFrameRequest instead of loadPostRequest so that we don't need to change WebKit any more.
| * | Ues loadFrameRequest instead of loadPostRequest so that we don't need to ↵Grace Kloba2009-06-191-5/+4
| | | | | | | | | | | | change WebKit any more.
* | | Update our <select> to work with the latest webkit.Leon Scroggins2009-06-191-7/+10
|/ / | | | | | | | | | | | | Remove a webkit change that makes some functions public for our use. Instead, use a pointer to a base class where those functions are already public. In one case where a function has been removed, call another function which behaves the same.
* | Merge commit 'goog/master' into webkit_mergeFeng Qian2009-06-1814-170/+380
|\ \ | | | | | | | | | | | | | | | | | | | | | Resolved conflicts: WebCore/Android.mk WebCore/storage/LocalStorageArea.h WebCore/storage/SessionStorageArea.cpp WebCore/storage/StorageEvent.cpp
| * | clean up mouse move events in webviewCary Clark2009-06-183-125/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | Generate mouse move event after sending scroll event Move cursor update in nav cache to UI thread Remove updating nav cache on mouse move Remove node parameter from mouse move Remove plugin focus hack from mouse move Add interface to get native cursor position
| * | Adding touch events for plugins.Derek Sollenberger2009-06-183-7/+63
| | |