OSDN Git Service
Steve Block [Mon, 12 Oct 2009 10:32:45 +0000 (11:32 +0100)]
Merge webkit.org at R49305 : goBackOrForwards is now a member of Page.
http://trac.webkit.org/changeset/49067
Change-Id: Ie15f56d2fa33f1d535ed5d048f0ac97c9d054271
Steve Block [Mon, 12 Oct 2009 10:29:26 +0000 (11:29 +0100)]
Merge webkit.org at R49305 : setLocalLoadPolicy is now a member of SecurityOrigin.
See http://trac.webkit.org/changeset/49211
Change-Id: I2386a1089f9212f523b5525e2c98b081fb7bf297
Steve Block [Mon, 12 Oct 2009 10:21:24 +0000 (11:21 +0100)]
Merge webkit.org at R49305 : FrameLoader::stopLoading now uses an enum.
See http://trac.webkit.org/changeset/48001
Change-Id: I11d6bae61de1f528ed8ee117c0260c78dccbd502
Steve Block [Mon, 12 Oct 2009 10:13:15 +0000 (11:13 +0100)]
Merge webkit.org at R49305 : PolicyChecker is now factored out of FrameLoader.
See http://trac.webkit.org/changeset/49284
Change-Id: I2aafe6f747f22b9c51c0db60f13fb3352d373809
Steve Block [Sun, 11 Oct 2009 22:28:11 +0000 (23:28 +0100)]
Merge webkit.org at R49305 : PluginView::init and destructor have been moved to common code.
See http://trac.webkit.org/changeset/47966 and http://trac.webkit.org/changeset/47967
Change-Id: If5b9594b032d5a7d456fe3bb6092eafef3655c34
Steve Block [Fri, 9 Oct 2009 16:07:41 +0000 (17:07 +0100)]
Merge webkit.org at R49305 : Update String::copy call sites to use new copy method.
See http://trac.webkit.org/changeset/49160
Change-Id: I75e1d6701f4d16fab7513f5924abf00e958e865c
Steve Block [Fri, 9 Oct 2009 14:48:35 +0000 (15:48 +0100)]
Merge webkit.org at R49305 : Update KURL constructor call sites to new signature.
See http://trac.webkit.org/changeset/47907
Change-Id: I0d2f17fb161254e62e835d52fe7ab482b11b054d
Steve Block [Fri, 9 Oct 2009 14:17:53 +0000 (15:17 +0100)]
Merge webkit.org at R49305 : Add Android makefiles and set ENABLE flags.
We disable INSPECTOR - See http://trac.webkit.org/changeset/48430
We disable EVENT_SOURCE - see http://trac.webkit.org/changeset/47323
Change-Id: Iab25b3bb56582d9df1e693ed7158338e953677b7
Steve Block [Fri, 9 Oct 2009 12:27:03 +0000 (13:27 +0100)]
Merge webkit.org at R49305 : Fix merge conflicts.
Change-Id: I9e0ffbe9b9b824399653da038093874e315ccd6a
Steve Block [Thu, 8 Oct 2009 16:19:54 +0000 (17:19 +0100)]
Merge webkit.org at R49305 : Automatic merge by git.
Change-Id: I8968561bc1bfd72b8923b7118d3728579c6dbcc7
Android (Google) Code Review [Mon, 19 Oct 2009 18:25:02 +0000 (14:25 -0400)]
Merge change I5536af7a into eclair-mr2
* changes:
Updating the documentation for plugins.
Android (Google) Code Review [Mon, 19 Oct 2009 18:18:32 +0000 (14:18 -0400)]
Merge change I112445f3 into eclair-mr2
* changes:
return default 1.0 for scaleFactor(), since android doesn't record at the same res as it draws
Steve Block [Mon, 19 Oct 2009 16:25:42 +0000 (17:25 +0100)]
Removes some commented out files from the V8 derived Makefile.
Change-Id: I27567e104f8953b6858597a7f7a5f522b6203ac8
Derek Sollenberger [Mon, 19 Oct 2009 15:50:55 +0000 (11:50 -0400)]
Updating the documentation for plugins.
Mike Reed [Mon, 19 Oct 2009 14:50:14 +0000 (10:50 -0400)]
return default 1.0 for scaleFactor(), since android doesn't record at the same res as it draws
Steve Block [Mon, 19 Oct 2009 12:40:54 +0000 (13:40 +0100)]
Remove ARMAssembler.cpp from WebKit build, as it is not required on Android.
Change-Id: Ic5a299518e5ca51b6833e4c236b97c7ea7dbe4a7
Android (Google) Code Review [Fri, 16 Oct 2009 17:05:24 +0000 (13:05 -0400)]
Merge change I4419d5c4 into eclair-mr2
* changes:
Only write Geolocation permissions to the DB when required.
Steve Block [Fri, 16 Oct 2009 16:07:37 +0000 (17:07 +0100)]
Only write Geolocation permissions to the DB when required.
This fixes http://b/issue?id=
2167364
Android (Google) Code Review [Fri, 16 Oct 2009 14:51:57 +0000 (10:51 -0400)]
Merge change I6623a2fa into eclair-mr2
* changes:
don't pre-round rects, since we will zoom (arbitrarily) after we record the geometry.
Mike Reed [Fri, 16 Oct 2009 14:29:45 +0000 (10:29 -0400)]
don't pre-round rects, since we will zoom (arbitrarily) after we record the geometry.
This fixes the funny case of <canvas> elements being scaled twice: once by our scaleFactor() and
then again by this roundToDevicePixels method.
Steve Block [Tue, 6 Oct 2009 11:52:52 +0000 (12:52 +0100)]
Fixes a couple of style problems and a minor TODO in WebKit Geolocation. Do not merge.
This has already been submitted to master branch.
Leon Scroggins [Thu, 15 Oct 2009 17:33:58 +0000 (13:33 -0400)]
Do not bring up the soft keyboard for readonly input fields.
Partial fix for http://b/issue?id=
2159869. Add a field to CachedNode
for readonly. In WebView.cpp, only call displaySoftKeyboard if the
node is not readonly. Also call displaySoftKeyboard in nativeTextMotionUp
to replace a call being removed in WebView.touchUpOnTextField(java).
Cary Clark [Thu, 15 Oct 2009 17:22:12 +0000 (13:22 -0400)]
fix copy/paste using trackball on passion
This fix should be considered for passion mr1, but
does not affect sholes -- this is a trackball only bug.
The selection caret and arrow now take the scale factor and
the height of the title bar into account when preparing the
canvas for drawing.
Also, simply call to CopyPaste::findClosest, and remove
logic to attempt to pin the arrow to the current cursor.
Requires a companion fix in framework/base
Fixes http://b/issue?id=
2187591
Steve Block [Thu, 8 Oct 2009 14:29:34 +0000 (15:29 +0100)]
Bring Geolocation V8 bindings in line with those for JSC. Do not merge.
This has already been submitted to master branch.
Steve Block [Thu, 8 Oct 2009 14:18:46 +0000 (15:18 +0100)]
Brings JSC Geolocation bindings up-to-date with latest submission to webkit.org. Do not merge.
See https://bugs.webkit.org/show_bug.cgi?id=29099
This has already been submitted to master branch.
Andrei Popescu [Tue, 6 Oct 2009 13:44:10 +0000 (14:44 +0100)]
Remove the Android guards added to the <video> implementation in WebCore. Do not merge.
The patch in https://bugs.webkit.org/show_bug.cgi?id=29133 landed.
This has already been submitted to master branch.
Steve Block [Thu, 8 Oct 2009 11:05:14 +0000 (12:05 +0100)]
Fixes an accidental change made to WebKit GTK code. Do not merge.
This was made in change
95e3d862bbab761f8caaf1d1b54065f67b9a5148.
See https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=
95e3d862bbab761f8caaf1d1b54065f67b9a5148#patch1
This will help avoid noise in the diffs when upstreaming Android-specific changes to webkit.org.
This has already been submitted to master branch.
Steve Block [Thu, 8 Oct 2009 10:13:05 +0000 (11:13 +0100)]
Fixes a bunch of WebKit whitespace discrepancies between Android and webkit.org. Do not merge.
This will avoid noise in the diffs when upstreaming Android-specific changes to webkit.org.
This has already been submitted to master branch.
Steve Block [Wed, 14 Oct 2009 13:09:10 +0000 (14:09 +0100)]
Update V8 to revision 3018.
Note that the latest version of WebKit requires V8 change http://code.google.com/p/v8/source/detail?r=2969 See http://trac.webkit.org/changeset/49248
Steve Block [Wed, 14 Oct 2009 09:26:48 +0000 (10:26 +0100)]
Remove more superfluous WebKit files from build.
Steve Block [Tue, 13 Oct 2009 22:34:42 +0000 (23:34 +0100)]
Remove superfluous files from JSC build. Note that these files are not in the V8 build.
Steve Block [Tue, 13 Oct 2009 09:44:54 +0000 (10:44 +0100)]
Removes superfluous unload event getter and setter methods from Node. Do not merge.
These were removed from webkit.org in http://trac.webkit.org/changeset/44944.
This should have been picked up in https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=
d227fc870c7a697500a3c900c31baf05fb9a8524, which syncs to webkit.org R47420.
This has already been submitted to master branch.
Android (Google) Code Review [Tue, 13 Oct 2009 19:09:28 +0000 (15:09 -0400)]
Merge change Ibf761b97 into eclair-mr2
* changes:
Prevent getFile from copying when the file is too large.
Leon Scroggins [Tue, 13 Oct 2009 18:28:59 +0000 (14:28 -0400)]
Prevent getFile from copying when the file is too large.
Since the caller expects the data to fit within a certain amount of
space, do not copy into the buffer if the data exceeds that space.
On the webkit side of things, keep track of the URI and the size,
so we can pass them up to BrowserFrame
Requires a change to frameworks/base
Derek Sollenberger [Tue, 13 Oct 2009 15:40:13 +0000 (11:40 -0400)]
Enabling plugins to stay in sync with UI when the DOM changes.
Cary Clark [Thu, 8 Oct 2009 19:03:22 +0000 (15:03 -0400)]
add debugging, tweak data for flash work in progress
Attempts to get the plugin to scroll when the ime
appears. Add debugging strings to help track events
to show plugin object. Add focusCandidate interfaces.
Tweak rectangles from plugin so they don't disappear.
Prefer found matches in nav cache that are later in
the document.
Leon Scroggins [Fri, 9 Oct 2009 20:29:07 +0000 (16:29 -0400)]
Allow <select> boxes to draw larger.
Fix http://b/issue?id=
2159794
Leon Scroggins [Fri, 9 Oct 2009 18:24:51 +0000 (14:24 -0400)]
Fix the V8 build.
Leon Scroggins [Fri, 2 Oct 2009 19:55:01 +0000 (15:55 -0400)]
File upload.
Webkit implementation for passing in the data for file uploads.
Requires a change to frameworks/base to not break things; also
requires a change to packages/apps/Browser to work.
Fixes http://b/issue?id=675743
Leon Clarke [Fri, 9 Oct 2009 16:03:36 +0000 (17:03 +0100)]
Fix sim build
Leon Clarke [Wed, 7 Oct 2009 16:03:05 +0000 (17:03 +0100)]
Draw a background color under the combo box
Android (Google) Code Review [Thu, 8 Oct 2009 18:51:42 +0000 (14:51 -0400)]
Merge change I6b640373 into eclair-mr2
* changes:
Fix bug
2132969
Patrick Scott [Thu, 8 Oct 2009 18:18:16 +0000 (14:18 -0400)]
Fix bug
2132969
Check for a user gesture before adding the history item during a fragment
scroll. The bug has been reported to webkit.org with the suggested fix. Although
upstream webkit does not have the user gesture additions defined by
ANDROID_USER_GESTURE.
Bug:
2132969
Ben Murdoch [Thu, 8 Oct 2009 15:51:44 +0000 (16:51 +0100)]
Set the navigator.vendor property to be "Google Inc." rather than defaulting to "Apple Computer, Inc."
Steve Block [Wed, 7 Oct 2009 18:37:46 +0000 (11:37 -0700)]
am
e7430864: Makes sure that Geolocation permissions are saved before the browser is killed.
Merge commit '
e7430864058b3c222b4b0468cf8812a9a733818b' into eclair-mr2
* commit '
e7430864058b3c222b4b0468cf8812a9a733818b':
Makes sure that Geolocation permissions are saved before the browser is killed.
Steve Block [Wed, 7 Oct 2009 12:22:07 +0000 (13:22 +0100)]
Makes sure that Geolocation permissions are saved before the browser is killed.
This is a fix for http://b/issue?id=
2167364
Change-Id: I92a1a6831eb254b62593beaf7cb77c8e1f41945c
Cary Clark [Tue, 6 Oct 2009 21:41:56 +0000 (17:41 -0400)]
reset webTextView size if focus bounds changes
Keep track of changes in the current focus bounds, and provide
a way for the java side to access the change.
companion change in frameworks/base
fixes http://b/issue?id=
2118781
Android (Google) Code Review [Tue, 6 Oct 2009 18:00:51 +0000 (14:00 -0400)]
Merge change Ibbab1c84 into eclair-mr2
* changes:
address detection may look at uninitialized memory
Cary Clark [Tue, 6 Oct 2009 17:34:21 +0000 (13:34 -0400)]
address detection may look at uninitialized memory
Address detection on web pages creates arrays of pointers to
words, and compares them against a set of permitted street types.
This change adds the array of end pointers so that the check
does not look past the end of the word.
Fixes http://b/issue?id=
2166591
Steve Block [Tue, 6 Oct 2009 15:30:29 +0000 (08:30 -0700)]
am
a7280594: Fixes build bustage due to missing include in Geolocation.
Merge commit '
a7280594a8eac3503fe491d2ea02ce684fdf8744' into eclair-mr2
* commit '
a7280594a8eac3503fe491d2ea02ce684fdf8744':
Fixes build bustage due to missing include in Geolocation.
Steve Block [Tue, 6 Oct 2009 15:21:49 +0000 (16:21 +0100)]
Fixes build bustage due to missing include in Geolocation.
Change-Id: Iea9209faba25a9b4ea4e351218c8c1eecf36d07f
Steve Block [Tue, 6 Oct 2009 15:04:56 +0000 (08:04 -0700)]
am
0c7394a4: Fixes a WebKit bug where ongoing Geolocation requests are not stopped when the page is unloaded.
Merge commit '
0c7394a4459ba850766d303b4307add7189cf5f3' into eclair-mr2
* commit '
0c7394a4459ba850766d303b4307add7189cf5f3':
Fixes a WebKit bug where ongoing Geolocation requests are not stopped when the page is unloaded.
Ben Murdoch [Tue, 6 Oct 2009 11:05:22 +0000 (12:05 +0100)]
Cherry pick of WebKit commit r49018, fix for b/
2067397. Enable Database.changVersion().
Steve Block [Tue, 6 Oct 2009 09:57:53 +0000 (10:57 +0100)]
Fixes a WebKit bug where ongoing Geolocation requests are not stopped when the page is unloaded.
This fixes bug http://b/issue?id=
2164673
Change-Id: I68a615c0b82bcee2a4a61dc0433a4f9321780ad1
Cary Clark [Mon, 5 Oct 2009 18:22:59 +0000 (14:22 -0400)]
fix select text if multiple lines are the same width
Text selection works by building a region on the UI side, then
finding the text that matches the rectangles making up the
decomposed region on the webkit side.
If multiple consecutive lines of text are the same width, the
region will combine them into a single rectangle instead of
one rectangle per line.
If the rectangle chooses a single line, it's safe to pick the
center of the line in Y, and that's what the old code does. The
new code also tries the top and bottom of the rectangle, in
case the rectangle spans multiple lines of text, but falls
back to the old behavior so not to regress.
fixes http://b/issue?id=
2166748
Android (Google) Code Review [Mon, 5 Oct 2009 16:28:14 +0000 (12:28 -0400)]
Merge change Ib47ea2b1 into eclair-mr2
* changes:
Add check null of getRealObject(). When a WebView is removed, there is a slight chance that getRealObject() for WebView's JavaObject be null.
Leon Clarke [Mon, 5 Oct 2009 14:32:12 +0000 (15:32 +0100)]
Re-enable using the right foreground color now we use the right background
color.
Leon Scroggins [Sun, 4 Oct 2009 22:12:49 +0000 (15:12 -0700)]
am
2097884b: Revert "Don\'t extend the arrow asset of the combo box over the text, so that the real background"
Merge commit '
2097884b9e1630c3855a8580f84a308163e085e7' into eclair-mr2
* commit '
2097884b9e1630c3855a8580f84a308163e085e7':
Revert "Don't extend the arrow asset of the combo box over the text, so that the real background"
Grace Kloba [Sat, 3 Oct 2009 00:38:57 +0000 (17:38 -0700)]
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
Mike Reed [Fri, 2 Oct 2009 19:04:50 +0000 (15:04 -0400)]
only look at globalAlpha when we draw images (not the alpha in fill-color)
http://b/issue?id=
1817561
Mike Reed [Fri, 2 Oct 2009 14:42:56 +0000 (10:42 -0400)]
remove unneeded ANDROID_ALLOW_TRANSPARENT_BACKGROUNDS
http://b/issue?id=
2146657
Leon Scroggins [Thu, 1 Oct 2009 19:20:13 +0000 (15:20 -0400)]
Revert "Don't extend the arrow asset of the combo box over the text, so that the real background"
This reverts commit
02b5ebb30fc88967b843818cbc61987f9dc9685d.
android-build SharedAccount [Thu, 1 Oct 2009 15:43:40 +0000 (08:43 -0700)]
Merge commit 'goog/eclair' into eclair-release
Android (Google) Code Review [Thu, 1 Oct 2009 09:36:34 +0000 (05:36 -0400)]
Merge change Ib6cfb9c2 into eclair
* changes:
Don't extend the arrow asset of the combo box over the text, so that the real background color is used. Re-instate using the correct color for the text.
Leon Clarke [Thu, 1 Oct 2009 09:30:38 +0000 (10:30 +0100)]
Don't extend the arrow asset of the combo box over the text, so that the real background
color is used.
Re-instate using the correct color for the text.
Android (Google) Code Review [Wed, 30 Sep 2009 19:55:46 +0000 (15:55 -0400)]
Merge change Ic0bd5009 into eclair
* changes:
Update <video> implementation after new IRC discussion with Eric Carlsson.
Andrei Popescu [Mon, 28 Sep 2009 15:20:09 +0000 (16:20 +0100)]
Update <video> implementation after new IRC discussion with Eric Carlsson.
- move poster drawing on the WebKit side
- get rid of the child views
- add prepareToPlay method to the MediaPlayer iface.
Fixes http://b/issue?id=
2156592
Patrick Scott [Tue, 29 Sep 2009 18:11:16 +0000 (14:11 -0400)]
Fix the random crash around iframes.
The problem is that if updateWidgetPosition calls layout, the FrameView will
layout with 0x0 dimensions. Then, we resize the view and try to relayout. This
causes the body to be marked as needing a layout. But, the body does not get a
chance to relayout. If updateWidgetPosition does not layout, the view size will
match and the body will not be marked for layout. This makes everything sane
after layout of the iframe.
The root of the problem is that we are calling FrameView::layout() while in the
midst of a layout. This is causing a child RenderObject to need a layout
without the parent object needing a layout. We avoid this by not laying out
until we set the FrameView dimensions.
Bug:
2048855,
2134215
Android (Google) Code Review [Wed, 30 Sep 2009 18:17:36 +0000 (14:17 -0400)]
Merge change I99fa56b2 into eclair
* changes:
always update the WebTextView from the input element
Cary Clark [Wed, 30 Sep 2009 18:05:03 +0000 (14:05 -0400)]
always update the WebTextView from the input element
Even if the input element doesn't have focus, synchronize
the WebTextView if the pointers match.
fixes http://b/issue?id=
2096746
The Android Open Source Project [Wed, 30 Sep 2009 15:37:10 +0000 (08:37 -0700)]
Merge commit 'remotes/goog/eclair' into eclair-release
Patrick Scott [Wed, 30 Sep 2009 12:32:50 +0000 (08:32 -0400)]
Fix the user gesture change to be more like donut.
Bug:
2151004
Leon Clarke [Mon, 28 Sep 2009 10:17:08 +0000 (11:17 +0100)]
Don't crash on java exception
Link coloring - doing the database lookup in a separate thread
Formatting
Whitespace changes
Re-ordered following review
Cary Clark [Mon, 28 Sep 2009 16:57:26 +0000 (12:57 -0400)]
scroll text field with touch
Pass the percentage of the current scroll from the UI
thread to webkit. The max scroll in X is computed as
renderer->scrollWidth() - renderer->clientWidth().
Companion fix is in framework/base
Fixes http://b/issue?id=
2133049
Patrick Scott [Tue, 29 Sep 2009 17:42:05 +0000 (13:42 -0400)]
Build fix.
Files that include FontPlatformData.h apparently depend on StringImpl.h already
being included.
The Android Open Source Project [Tue, 29 Sep 2009 15:37:02 +0000 (08:37 -0700)]
Merge commit 'remotes/goog/eclair' into eclair-release
Patrick Scott [Tue, 29 Sep 2009 13:43:03 +0000 (09:43 -0400)]
Fix a few crashes with assertions enabled.
KURL::protocolIs no longer likes "javascript" and has a different method called
protocolIsJavaScript.
Grace Kloba [Mon, 28 Sep 2009 16:39:05 +0000 (09:39 -0700)]
Update the comment for checking null in needtouchevents.
Add the header in WebCoreJni.cpp so that LOGE will be print out.
The Android Open Source Project [Mon, 28 Sep 2009 15:33:23 +0000 (08:33 -0700)]
Merge commit 'remotes/goog/eclair' into eclair-release
Ben Murdoch [Mon, 28 Sep 2009 12:49:05 +0000 (13:49 +0100)]
Fix the multiple form submission bug. (Bug
2098417).
Change-Id: I4eb188f6b4826f394a08c72c71f920cc212b2653
Grace Kloba [Sun, 27 Sep 2009 23:03:59 +0000 (16:03 -0700)]
Check null for WebViewCore's nativeClass before calling
back to Java. This may happen if WebKit holds some reference
of the Document even when our Java side has been destroyed.
So when Document finally is deleted, the call back to Java
will have null nativeClass.
In the long run, we may need to add the check for all the
callback to Java.
Fix http://b/issue?id=
2148023
Grace Kloba [Sun, 27 Sep 2009 23:03:59 +0000 (16:03 -0700)]
Check null for WebViewCore's nativeClass before calling
back to Java. This may happen if WebKit holds some reference
of the Document even when our Java side has been destroyed.
So when Document finally is deleted, the call back to Java
will have null nativeClass.
In the long run, we may need to add the check for all the
callback to Java.
Fix http://b/issue?id=
2148023
Android (Google) Code Review [Fri, 25 Sep 2009 20:39:27 +0000 (16:39 -0400)]
Merge change 27080 into eclair
* changes:
When detach the top Document, clean up the touch listeners and reset needTouchEvents.
Mike Reed [Fri, 25 Sep 2009 18:45:42 +0000 (14:45 -0400)]
fix cracks when we draw the page in portions (i.e. a picture set)
When we record/draw the DOM N times (for speed), webkit sees what we're doing in certain places,
and sends us different rectangle coordinates. These were all being antialiased (by default).
However, when we are also zoomed, the rects now fall on fractional coordinates, and with aa,
we will double-draw the edges where those rects should have seamed.
The fix is to disable antialiasing for a class of rects that we record from webkit. We are probably
disabling for more cases than is necessary for the current bug, but knowing which ones are
"required" is tricky, and there (as yet) seems to be no down-side, since we never draw the page
rotated at a funny angle (where the rect edge would look jaggie).
http://b/issue?id=
2132971&cookieId=
2009268114917835
http://b/issue?id=
2127763&cookieId=
2009268114931860
Grace Kloba [Fri, 25 Sep 2009 18:42:53 +0000 (11:42 -0700)]
When detach the top Document, clean up the touch listeners and reset
needTouchEvents.
Fix http://b/issue?id=
2145333
Android (Google) Code Review [Fri, 25 Sep 2009 17:00:04 +0000 (13:00 -0400)]
Merge change 27041 into eclair
* changes:
disable antialiasing for bitmaps
Mike Reed [Fri, 25 Sep 2009 16:02:27 +0000 (12:02 -0400)]
disable antialiasing for bitmaps
Since we are never rotated, and when we are zoomed, the
antialiasing can double-draw the shared border for images that are meant to seam (ala nine-patch)
http://b/issue?id=
2105990&cookieId=
2009268085657820
Cary Clark [Fri, 25 Sep 2009 13:47:59 +0000 (09:47 -0400)]
don't short-circuit if the text selection has changed
The webkit picture is rebuilt pretty often -- for performance,
the nav cache is built less often, only when the dom version changes.
Additionally, it's rebuilt when the focus changes or moves. Add
a condition so that it is also rebuilt if the focus selection changes.
fixes http://b/issue?id=
2096746
Leon Clarke [Thu, 24 Sep 2009 14:32:59 +0000 (15:32 +0100)]
Colorizing clicked-on links
Following review comments
Following review comments
Patrick Scott [Thu, 24 Sep 2009 14:54:01 +0000 (10:54 -0400)]
Add ANDROID_USER_GESTURE back to WebCore.
We only care about the user gesture during a location change. Add the
m_userGesture field to our ResourceRequest and check the value in
canHandleRequest. This could be cleaner if WebCore passed around the
ResourceRequest rather than constructing a new one.
Grace Kloba [Thu, 24 Sep 2009 00:31:16 +0000 (17:31 -0700)]
When mouse down or plugin handles touch down, set the plugin
to be the focus of the document so that it can receive key
events. This has the same logic as in PluginViewMac.cpp's
handleMouseEvent().
Leon Scroggins [Wed, 23 Sep 2009 21:18:03 +0000 (17:18 -0400)]
Whether or not a textfield is the last or only, make its action GO.
Fix for http://b/issue?id=
2136097
Change-Id: I8ca00498dd5a8d611bc0de5a941faaf596d9f76d
Cary Clark [Wed, 23 Sep 2009 18:04:57 +0000 (14:04 -0400)]
hardcode the correct ninepatch margins for the button skin
The button is drawn using hardcoded margins that look fine
on a g1. The highres resource has different margins. Changing
the margins alone isn't enough; this also moves the button down
by two pixels to center it better.
Neither the hardcoded margin change nor the offset are
good long-term changes, but they allow us to get by for now.
Marked both with FIXME so we can address this issue by
reading the data directly out of the png, and diagnose why
the button is drawn too high.
fixes http://b/issue?id=
2107422
Derek Sollenberger [Tue, 22 Sep 2009 18:59:46 +0000 (14:59 -0400)]
adding API to enable plugins to request full screen mode
Change-Id: Ib3373af6ff127399d1d0846ba30a4275da5b3133
Patrick Scott [Fri, 18 Sep 2009 20:28:07 +0000 (16:28 -0400)]
Add apple-touch-icon-precomposed processing.
Send up a boolean to indicate if the touch icon url is precomposed.
Grace Kloba [Sun, 20 Sep 2009 23:34:19 +0000 (16:34 -0700)]
Add dpi support for WebView.
In the "viewport" meta tag, you can specify "target-densityDpi".
If it is not specified, it uses the default, 160dpi as of today.
Then the 1.0 scale factor specified in the viewport tag means 100%
on G1 and 150% on Sholes. If you set "target-densityDpi" to
"device-dpi", then the 1.0 scale factor means 100% on both G1 and Sholes.
Implemented Safari's window.devicePixelRatio and css media query
device-pixel-ratio.
So if you use "device-dpi" and modify the css for font-size and image
src depending on window.devicePixelRatio, you can get a better page on
Sholes/Passion.
Here is a list of options for "target-densityDpi".
device-dpi: Use the device's native dpi as target dpi.
low-dpi: 120dpi
medium-dpi: 160dpi, which is also the default as of today
high-dpi: 240dpi
<number>: We take any number between 70 and 400 as a valid target dpi.
Fix http://b/issue?id=
2071943
Derek Sollenberger [Mon, 21 Sep 2009 13:13:10 +0000 (09:13 -0400)]
renaming setJavaClass_ANPSetValue and ensuring memory is freed on subsequent calls
Change-Id: I7881e711af7ec905e5c120e8e2fd4b0b7ba5e840
Derek Sollenberger [Mon, 21 Sep 2009 12:14:52 +0000 (08:14 -0400)]
cleaning up old surface view API's
Change-Id: I333c2eebff22df1a56099fad7d8ec366627f4e22
Android (Google) Code Review [Thu, 17 Sep 2009 20:04:21 +0000 (16:04 -0400)]
Merge change 25547 into eclair
* changes:
bump up the RLE cutoff, since RLE is *only* supported in drawBitmapRect(), and therefore we should only trigger it when there is no other way to support the image. Now that we have ashmem (yay!!!) memory pressure is not so bad. This happens to also fix google reader site, which sends down large (but not giant) index images but doesn't trigger our drawBitmapRect() code.
Mike Reed [Thu, 17 Sep 2009 19:57:58 +0000 (15:57 -0400)]
bump up the RLE cutoff, since RLE is *only* supported in drawBitmapRect(), and therefore we should only
trigger it when there is no other way to support the image. Now that we have ashmem (yay!!!) memory
pressure is not so bad. This happens to also fix google reader site, which sends down large (but not
giant) index images but doesn't trigger our drawBitmapRect() code.