Commit Graph

1115 Commits

Author SHA1 Message Date
Leon Scroggins
af95d12b12 am c7ee44cb: am dfc07279: Line up WebTextView text with the page.
Merge commit 'c7ee44cbe155c2272687a0e82133f3e729eac137'

* commit 'c7ee44cbe155c2272687a0e82133f3e729eac137':
  Line up WebTextView text with the page.
2010-10-14 23:03:23 -07:00
Shimeng (Simon) Wang
c42f8b8332 Remove not-used code.
issue: 3003933
Change-Id: I3221fb253fe6fbfe9e24368426d7e4a2c1e3502b
2010-10-14 14:52:28 -07:00
Shimeng (Simon) Wang
7ffe05227e Merge "Fixed viewport enhancement for site with viewport tag." 2010-10-14 14:30:17 -07:00
Shimeng (Simon) Wang
afc1c25177 Fixed viewport enhancement for site with viewport tag.
1. Use web content width to calculate overview scale in firstLayout time.
2. Skip pre-calculated viewScale in non-mobile fixed viewport case.

issue: 3003933
Change-Id: Ifdc475d96f5df824912197bf5818f5e649658edf
2010-10-14 14:07:32 -07:00
Nicolas Roard
12c18e691c Fix embed webview
Change-Id: Iac8b3aeb7e5370ce06a3437684e21e8a7fcf7c73
2010-10-14 14:05:17 -07:00
Shimeng (Simon) Wang
bf5b247fa1 Merge "Use real fixed viewport, and let the content width be the overview width." 2010-10-14 11:45:52 -07:00
Shimeng (Simon) Wang
6d383aadce Use real fixed viewport, and let the content width be the overview width.
issue: 3003933
Change-Id: I679fe1d5736daf0e8cee746dee53558943796833
2010-10-14 11:16:03 -07:00
Ben Murdoch
cf30872b01 Add support for the complete set of AutoFill profile data.
Change-Id: Iff5b48e732acb16281b9795f1f08b08d24b16cbe
2010-10-14 12:21:43 +01:00
Bjorn Bringert
c9332fa3e9 Delete unused WebView drag tracking code
This also removes android.graphics.utils.BoundaryPatch
which was only used by the Browser for the unused drag
tracking (and by a demo app that I'm also removing).

Change-Id: I48253ae005ab11cb4c70d132bc1ea4f2692e2bd2
2010-10-14 09:39:25 +01:00
Leon Scroggins
f76f6f5c63 am 00c50b2e: am f348502c: Merge "Allow TextView to do its thing." into gingerbread
Merge commit '00c50b2e49dbb3537a3ee553dc79d6e34cd00065'

* commit '00c50b2e49dbb3537a3ee553dc79d6e34cd00065':
  Allow TextView to do its thing.
2010-10-13 19:14:19 -07:00
Nicolas Roard
67a9f2ab97 GL Rendering
This is a two-parts CL, Its counterpart is https://android-git.corp.google.com/g/#change,71690

Change-Id: I8ebe7f3bce84e76c903908768d010f46f3a30a4c
2010-10-13 11:49:10 -07:00
Bjorn Bringert
2b67ce7213 Merge "Make fields in WebAddress private, add getters/setters" 2010-10-13 08:31:48 -07:00
Bjorn Bringert
eb8be973c7 Make fields in WebAddress private, add getters/setters
Change-Id: Iceaf3d648289344e53c37273f7324a79676fbef7
2010-10-13 16:21:01 +01:00
Leon Scroggins
c7ee44cbe1 am dfc07279: Line up WebTextView text with the page.
Merge commit 'dfc07279fc6205c38f5f39cb5ba4f0aef6b593a4' into gingerbread-plus-aosp

* commit 'dfc07279fc6205c38f5f39cb5ba4f0aef6b593a4':
  Line up WebTextView text with the page.
2010-10-13 07:56:38 -07:00
Leon Scroggins
dfc07279fc Line up WebTextView text with the page.
Bug:3085564

Requires a change to external/webkit:
https://android-git.corp.google.com/g/#change,73568

Change-Id: I4c3fa1314bdac39cc071f583a418c433ea897de8
2010-10-13 10:08:59 -04:00
Ben Murdoch
ff4031bcb5 Merge "Sync autofill profile data to native WebKit" 2010-10-13 04:47:21 -07:00
Steve Block
7db7c5d60c Merge "Implement DeviceMotionEvent" 2010-10-13 04:18:37 -07:00
Adam Powell
2b87dbc3b8 am c417612a: Merge "Fix bug 3083631 - Links no longer get tapped during scale gestures" into gingerbread
Merge commit 'c417612a1abb6281697a9738a1a19eb8814ae8a6' into gingerbread-plus-aosp

* commit 'c417612a1abb6281697a9738a1a19eb8814ae8a6':
  Fix bug 3083631 - Links no longer get tapped during scale gestures
2010-10-12 17:11:51 -07:00
Adam Powell
d7bd2eb032 Fix bug 3083631 - Links no longer get tapped during scale gestures
Change-Id: I57bf740c5063f30d763fc720a3ad77edff20f867
2010-10-12 15:56:31 -07:00
Leon Scroggins
00c50b2e49 am f348502c: Merge "Allow TextView to do its thing." into gingerbread
Merge commit 'f348502c70ae2f3c90bf75d8c4b4402d5e8e4d59' into gingerbread-plus-aosp

* commit 'f348502c70ae2f3c90bf75d8c4b4402d5e8e4d59':
  Allow TextView to do its thing.
2010-10-12 11:23:12 -07:00
Jean-Baptiste Queru
9c9430b30f resolved conflicts for merge of e69f1f1a to master
Change-Id: I32b34e4f6ae83ff40398c6e9e2881af12abc4aa8
2010-10-12 09:23:10 -07:00
Leon Scroggins
23cb86a47d Allow TextView to do its thing.
Bug:3085639

Call super.onTouchEvent for ACTION_UP and ACTION_CANCEL.
This removes the old selection as appropriate.

Bug:3085587

Make the cursor visible so that the insertion handle
appears when tapping on the field.

Change-Id: If5ea6219de9ca351667021743b2e63edc6c47250
2010-10-12 09:52:56 -04:00
Shimeng (Simon) Wang
21d4e42366 Merge "Initialized the orientation variable to -1." 2010-10-11 13:56:15 -07:00
Shimeng (Simon) Wang
2edfcd584e Initialized the orientation variable to -1.
issue: 3057966
Change-Id: I31047d31376d79b1718c42633c9e6802e51213a7
2010-10-11 13:50:25 -07:00
Shimeng (Simon) Wang
10186c45ff Merge "Avoid sending false orientation event to webkit." 2010-10-11 13:23:42 -07:00
Shimeng (Simon) Wang
5f7c5a25de Avoid sending false orientation event to webkit.
issue: 3057966
Change-Id: I1061df6da751e3a0ef158b5eabfb520d0473d3d0
2010-10-11 13:12:48 -07:00
Jean-Baptiste Queru
e69f1f1a74 resolved conflicts for merge of e3cfd35b to gingerbread-plus-aosp
Change-Id: I2f90572163e7cb98e4e2762998a2ac63cc267dea
2010-10-11 09:38:10 -07:00
Cary Clark
5ffbb81e20 Check mNativeClass != null in public functions
Change-Id: I74ec88626458870cf4d76d0bfe17e65f603977ef
http://3033688
2010-10-08 15:42:36 -04:00
Steve Block
dc82a29b11 Implement DeviceMotionEvent
Requires a corresponding change in external/webkit ...
https://android-git.corp.google.com/g/72906

Bug: 2495651
Change-Id: I60b2fc5a9fce459c3cef76b3b634485dfb276eae
2010-10-08 20:26:50 +01:00
Ben Murdoch
e9e3ccd10d Sync autofill profile data to native WebKit
Add the necessary plumbing to send the currently active
AutoFill profile data from Java to native.

Requires a corresponding change in external/webkit.

Change-Id: I45770e36f09093fb891c3aa9cac4a8b8a8a6161c
2010-10-08 16:11:09 +01:00
Patrick Scott
5fe721f5f5 Fix NPE in addMessageToConsole.
CallbackProxy should always check for client during handleMessage.

Bug: 3060412
Change-Id: I0a84fa2ce21cc46d9b215b18a700119c7c12a7f2
2010-10-08 10:06:07 -04:00
Shimeng (Simon) Wang
e99b0b992a Merge "Add wrapper method for native JNI call." 2010-10-06 11:20:05 -07:00
Steve Block
e86b8a18df Merge "Make sure that we send the DeviceOrientation error event only once" 2010-10-06 08:30:13 -07:00
Steve Block
8980343b13 Make sure that we send the DeviceOrientation error event only once
Change-Id: Iff095ad4d282635c567b0c85a286056e23ca38e3
2010-10-06 16:12:06 +01:00
Shimeng (Simon) Wang
bf01312965 Add wrapper method for native JNI call.
This is to check whether a given mimeType is supported in Android media
framework.

issue: 2816278
Change-Id: I66d379d039c4e1f4a8528654ece006335fd4463f
2010-10-05 16:59:05 -07:00
Adam Powell
ee7e0efcc1 am 59c4cb9e: Merge "DO NOT MERGE Fix bug 3001751 and bug 3001584 - Gingerbread API review for over-scroll" into gingerbread
Merge commit '59c4cb9e8fee03f770aa0fa1a2f0ec84ffb945b8' into gingerbread-plus-aosp

* commit '59c4cb9e8fee03f770aa0fa1a2f0ec84ffb945b8':
  DO NOT MERGE Fix bug 3001751 and bug 3001584 - Gingerbread API review for over-scroll
2010-10-05 16:46:05 -07:00
Adam Powell
737e8fe2c7 DO NOT MERGE Fix bug 3001751 and bug 3001584 - Gingerbread API review for over-scroll
Change-Id: If34c8ea4e15697420adad0bc404f3c278efd7c1b
2010-10-05 15:22:07 -07:00
Patrick Scott
4243a3a6ed Add postSync so that the chrome stack has access.
Bug: 3053149
Change-Id: I75f5422afcacf4ae70a2aa26188446251d7f84da
2010-10-05 09:30:24 -04:00
Mattias Falk
0ae2ec88ec Dismissing AlertDialog before destroying WebView.
Added dismiss method for the Alertdialog in destroy to avoid
a leaked window.

Change-Id: Ia6a6e733b8bdd583dae15b854e4d69ef4f5cbff1
2010-10-04 13:13:25 +02:00
Derek Sollenberger
fa89c50ae7 Ensure full screen plugin is dismissed when necessary.
Dismiss the full screen plugin view when the user navigates to a
new page or tab. This ensures the plugin does not cover up new
content when the browser switches tabs or loads a new URL.

Change-Id: I35d65073dbc772ab5babd20287d4d2fe598178e5
http://b/2908332
2010-10-01 11:19:36 -04:00
Andy Stadler
8aeeda9123 am cb6f29eb: am a16682b5: Merge "Allow touch events when clickable *or* longClickable" into gingerbread
Merge commit 'cb6f29ebc6a8cde6ed600d233e23b962d06ea43f'

* commit 'cb6f29ebc6a8cde6ed600d233e23b962d06ea43f':
  Allow touch events when clickable *or* longClickable
2010-09-28 13:20:05 -07:00
Andy Stadler
cb6f29ebc6 am a16682b5: Merge "Allow touch events when clickable *or* longClickable" into gingerbread
Merge commit 'a16682b5e8ed635910eada23272ba6548922c02e' into gingerbread-plus-aosp

* commit 'a16682b5e8ed635910eada23272ba6548922c02e':
  Allow touch events when clickable *or* longClickable
2010-09-28 10:06:27 -07:00
Leon Scroggins
f2e17a8683 Hide the soft keyboard when a textfield is blurred.
Bug: 2953257

Requires a change to external/webkit

Change-Id: I8ca82dc7cb6bc1494400f5e5c38050023c94a513
2010-09-28 10:04:50 -04:00
Steve Block
5c23ebadd4 Update the storage locations used by the Chromium HTTP stack
This updates the strorage locations to better match those used by the
Android HTTP stack.

The corresponding external/webkit change is
https://android-git.corp.google.com/g/70643

Bug: 3039536
Change-Id: Ia7ea68d1472e96788a7fbaa6e8f7aa1ee51b3fb0
2010-09-28 12:32:05 +01:00
Andy Stadler
b34fd1ff5c Allow touch events when clickable *or* longClickable
This matches more closely the behavior or View.onTouchEvent()

Bug: 3036477
Change-Id: I8a9135da7f9aeeb1e0537dce15295049013a0243
2010-09-27 15:51:09 -07:00
Mindy Pereira
560ba6e1a9 am 08c09b0f: Merge "DO NOT MERGE. Only 1 edge glow should be growing at a time." into gingerbread
Merge commit '08c09b0f84b23627b4cd02e1b9a642952fbd2e7f' into gingerbread-plus-aosp

* commit '08c09b0f84b23627b4cd02e1b9a642952fbd2e7f':
  DO NOT MERGE. Only 1 edge glow should be growing at a time.
2010-09-26 18:37:04 -07:00
Mindy Pereira
7d4995d250 DO NOT MERGE. Only 1 edge glow should be growing at a time.
When a user action starts a new edge glow (on pull or absorb), cause
the edge glow on the opposite side to decay.
Fixes b/ star  3028395  Yellow color bar is displayed when user reaches the end of the message and keeps scrolling in Gmail.

Change-Id: Id06e00d1843b0467f6f9149c22b233e639fc55ac
2010-09-26 18:13:56 -07:00
Huahui Wu
41865f4b0c Bug 2372180: pass multi-touch events from browser to webkit.
Since the UI uses multi-touch for zooming, the event is passed to webkit
only when the webpage doesn't allow zooming.
1. Updated the data structure TouchEventData in WebViewCore.java
   to take multiple points and used it everywhere.
2. Added a passMultiTouchToWebkit() function to do what its name means.
3. Added the multi-point touch support to dumprendertree.

Change-Id: Iafc1aa7b21a587ad26efd2f124b9a66316297ab8
2010-09-26 16:26:38 -07:00
Ben Murdoch
f39b2cfadb Make autofill a webview preference
Change-Id: I2bed0612ad6381dd4c6aedf4af8740fac33748c7
2010-09-23 18:02:15 +01:00
Kristian Monsen
27a835f8d8 Merge "Fix deadlock in HTTP authentication within synchronous request." 2010-09-23 09:08:32 -07:00