History log of /packages/apps/Browser/src/com/android/browser/Controller.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4d59434c396e3d414ed4266103d6990a340331e1 18-Jun-2014 Selim Gurun <sgurun@google.com> Modify AOSP browser to take advantage of new filechooser API.

Bug: 6930981
Change-Id: Id73512cd6e859ea9316f02e8f0d973b6e15d969b
/packages/apps/Browser/src/com/android/browser/Controller.java
9eceb968f7151450f6be870641822e3b6927f143 28-Apr-2014 bxu10x <binx.xu@intel.com> Fix Incognito mode crash in AOSP browser

The menu of incognito is not supported in KK release, delete it.

Change-Id: I461b3133ec49fa067e6730ac8d15feaa9e57a92b
Signed-off-by: bxu10x <binx.xu@intel.com>
/packages/apps/Browser/src/com/android/browser/Controller.java
f9e1705d4012706664a2bdf63a50b8a784b833dd 26-Aug-2013 Jonathan Dixon <joth@google.com> De-classicify Android Browser part 2

Bug: 10427705

Allows Browser to compile even when WebViewClassic is no longer in
frameworks/base. The deleted functionality was already disabled at
runtime when using non-classic webview.

Change-Id: I21b58ec52ac059c699b49a2dd80008d9a9e6791a
/packages/apps/Browser/src/com/android/browser/Controller.java
e1d6dfca80e4627a0c7fe46e38f904179c3edab3 17-Dec-2012 Jonathan Dixon <joth@google.com> De-classicify Browser

Removes the hard run-time dependency on WebViewClassic.
(Still needs visisbility of it to build though)
This is needed to enable chromium webview testing.

Change-Id: I290b6b23b2eac525537ebc3ef8007d681a67a169
/packages/apps/Browser/src/com/android/browser/Controller.java
c77c7183fd9ac17e610206d7308089087fb3db6b 05-Oct-2012 John Reck <jreck@android.com> am 571866cd: Merge "Make locale safe paths"

* commit '571866cd42918d9227db8424667c585b8f9fdf94':
Make locale safe paths
aa67618bf9711a45fff7d0bdf93c9d3d29bf5817 03-Oct-2012 Johan Redestig <johan.redestig@sonymobile.com> Make locale safe paths

getTarget was using SimpleDateFormat with the default
locale to create paths. In some locales this resulted
in characters that are not safe to use on all file
systems. Explicitly use Locale.US to be locale safe.

Change-Id: Id0d994231fa82d5695e7b0fdbae32333b9e77a6e
/packages/apps/Browser/src/com/android/browser/Controller.java
34c8499cc0fadea73233b0bd8e33f26811972ad1 07-Sep-2012 John Reck <jreck@android.com> am d22af61d: Merge "Added catch of SQLiteException when updating screenshot"

* commit 'd22af61d97b938d0c4124fbdaae627f3e85e7084':
Added catch of SQLiteException when updating screenshot
561d1954d552fe1beff6e1ec7d22147935b32c0f 04-Oct-2011 Mattias Nilsson <mattias2.nilsson@sonyericsson.com> Added catch of SQLiteException when updating screenshot

Error found when running Monkey test. User probably tries
to add a bookmark and directly after deleting it. The method
updateScreenshot is running an AsyncTask and gets an Exception
from the database when the bookmark does not exist. The deletion
of the bookmark runs in another thread.

Change-Id: I63bb954419f60fb5106c1a6597692b6bac925714
/packages/apps/Browser/src/com/android/browser/Controller.java
966beb17e375f3fc5466ec5a1015eda9a4fa5639 04-Sep-2012 John Reck <jreck@android.com> am cf00c263: Merge "Pause WebView timer when Browser is paused"

* commit 'cf00c263557e1bd8ba060938cf8a451f2b92af2c':
Pause WebView timer when Browser is paused
cf00c263557e1bd8ba060938cf8a451f2b92af2c 04-Sep-2012 John Reck <jreck@android.com> Merge "Pause WebView timer when Browser is paused"
2584c31de479fa27971455b1e70b8e58b754c0e9 04-Sep-2012 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 0570344a to jb-mr1-dev

Change-Id: I5853a3609caacf7b0ff0eecbb1ed697811b7430e
8e4ce660cd8576237b4ff30c40b21570af3af4f3 11-Jun-2012 Andreas Sandblad <andreas.sandblad@sonymobile.com> Pass webview's useragent when downloading via context menu

Currently null is passed as useragent to the Download Manager when
downloading via Browser context menu (causes the Download
Provider to use an empty useragent HTTP header).
This commit simply passes the webview's useragent instead.

This applies to the usecase when choosing save image/link
via the context menu (long press).

Change-Id: Ie9cc5e81630d0dcefe4708980146cc5ed867e4ad
/packages/apps/Browser/src/com/android/browser/Controller.java
9cc2d03bddf3d11804fa5ac06662220f1e21b3ce 25-May-2012 Mattias Falk <mattias.falk@sonyericsson.com> Pause WebView timer when Browser is paused

If the Browser is paused while loading a page it
shall finish loading the page before the WebView
timer is paused.

The WebView timer shall be paused in onProgressChanged
when the progress has reached 100 not from onPageFinished
since onPageFinished is called when the main frame is loaded
and at that time subframe and other resources might haven't
been finished loaded i.e. the page is still in load, which the
result in WebView timers are not paused.

With this patch the Browser won't consume system resources
if it's minimized while doing a page load.

Change-Id: Id971dbcedfbedb5b0e56cba4076cd724d590ac85
/packages/apps/Browser/src/com/android/browser/Controller.java
0b3d66fc2275fb5270cb7166cc991be7dc9d8ff7 29-Aug-2012 Selim Gurun <sgurun@google.com> Pass referer on download requests

Bug: 6662557
Change-Id: Ib7fdc4b3f1e0f7370631d8a222565faaee550bfb
/packages/apps/Browser/src/com/android/browser/Controller.java
38b3965028e4ac433de9d43c02d3167ff0ef208c 05-Jun-2012 John Reck <jreck@google.com> Disable URL overriding on redirects

Bug: 5334118
When sending an intent for a URL with specialized handlers, tag
it with an extra that will surpress subsequent redirections

Change-Id: I997aa79192baea86c58958ab213200d57ec4c4f9
/packages/apps/Browser/src/com/android/browser/Controller.java
80f6d0574a9655fac3bd219afcb1810d0f66a57f 05-Jun-2012 Michael Kolb <kolby@google.com> am 3c573ac4: Merge "Enable voice search in omnibox" into jb-dev

* commit '3c573ac4dbc0e9a117a9540c410911bab52dffa7':
Enable voice search in omnibox
0b12912da64ff5b2917d4f50eb91df2e76457d08 05-Jun-2012 Michael Kolb <kolby@google.com> Enable voice search in omnibox

Bug: 6601348

Bring back voice search. Also fixes focus bug for fixed titlebar.

Change-Id: I83c8ad96957b62c23ad0bbb35685712687d11213
/packages/apps/Browser/src/com/android/browser/Controller.java
0c5933fe14a9c028055139375fc177221bc4ee82 30-May-2012 John Reck <jreck@google.com> am 244cdfa6: Merge "Prevent the monkies with a sledgehammer" into jb-dev

* commit '244cdfa6eb0745a4b681cb704f5564050d88f7ed':
Prevent the monkies with a sledgehammer
9c35b9c41d756d59f5356edd2e08432e01f351f6 30-May-2012 John Reck <jreck@google.com> Prevent the monkies with a sledgehammer

Bug: 6515134
If we never have a null mController, we can never have a NPE!

Change-Id: Idf90b94e6557e0afd6dd92602b8e4dfd189218d1
/packages/apps/Browser/src/com/android/browser/Controller.java
b1e24660559414b2128a2138c273989b3d34685b 24-May-2012 Ben Murdoch <benm@google.com> am f695f6b4: Tell Browser to monitor the WebCore thread for responsiveness.

* commit 'f695f6b4399f3a60a5d9d0aa39b8c341e8b8592a':
Tell Browser to monitor the WebCore thread for responsiveness.
f695f6b4399f3a60a5d9d0aa39b8c341e8b8592a 24-May-2012 Ben Murdoch <benm@google.com> Tell Browser to monitor the WebCore thread for responsiveness.

We no longer enable the WebCore thread watchdog for all
WebViews, but we still want the functionality in Browser.

Bug: 6447214
Change-Id: I1665bef875d53239203bc6313ac39af4bda6a60b
/packages/apps/Browser/src/com/android/browser/Controller.java
3bf737fc05131a05e7d5d5ef3cefdfaf7ee6124b 17-May-2012 Jean-Baptiste Queru <jbq@google.com> am 501fa728: Merge "Added a menu item in Browser called Close other tabs"

* commit '501fa7284ae63fe28b8f81f403f24befa7c992dd':
Added a menu item in Browser called Close other tabs
d4e3331a3cfa368e8e26f18700ed3474a24ff553 26-Apr-2012 Afzal Najam <afzal411+android@gmail.com> Added a menu item in Browser called Close other tabs

This closes all other tabs except the current one (only for the phone interface)
Will submit patch for tablet interface once this is approved.
It solves the problem of mass closing unneeded tabs to a certain extent.
Preferred method would be to select multiple tabs like list items.

Change-Id: I5af00f1c19043104987375f1da396eb6fefb5dd4
/packages/apps/Browser/src/com/android/browser/Controller.java
af63dbadb04a963f3513bff2f6ec5f34d31c24d6 16-May-2012 Michael Kolb <kolby@google.com> Toggle QC request desktop icon

Bug: 6493939

Change-Id: I7787ab37b57fce8ea2332fefd1ace420357000ec
/packages/apps/Browser/src/com/android/browser/Controller.java
7286427ee44435acf5f0ccd1146d9d0b15a36d02 04-May-2012 Michael Kolb <kolby@google.com> Don't capture picture

Bug: 6439427

Change-Id: I7704d8c81bbb9e612faf3a3206cee245e746035b
/packages/apps/Browser/src/com/android/browser/Controller.java
5ff5c8b88968fa794eab4b7a263cae25f05bd4d3 03-May-2012 Michael Kolb <kolby@google.com> Remove voice search handling

Bug: 6439925

Change-Id: I1b7161a67fa0c20d87f147d6ed19c02e53093054
/packages/apps/Browser/src/com/android/browser/Controller.java
1f9b3565dbd1911dfe4d9bfd8b833a5ac5f2e0c4 24-Apr-2012 Michael Kolb <kolby@google.com> show IME when titlebar is selected in tab switcher

Change-Id: I83b60ac504c8300904d76753b92f6fb3a93c172f
/packages/apps/Browser/src/com/android/browser/Controller.java
1221fcd31fdb3d51232a11622e556ce8ff11cacd 20-Apr-2012 John Reck <jreck@google.com> Merge "Support fallback key events"
997b1b7695822cb2dc2deca0458a5649d00b9953 20-Apr-2012 John Reck <jreck@google.com> Support fallback key events

Bug: 6023055

Change-Id: Ifc36425d6b09d0938f7e08176a749159c27fe088
/packages/apps/Browser/src/com/android/browser/Controller.java
68234a9351dfca2e68769de46e60d22ec2f03818 20-Apr-2012 John Reck <jreck@google.com> Save and load snapshots async

Bug: 5416822

Change-Id: I213c3507af61e7ca0354dad7e72ece7a2547f54e
/packages/apps/Browser/src/com/android/browser/Controller.java
e11b9212f201f787652737cab586f7cf28c27dd0 13-Apr-2012 Michael Kolb <kolby@google.com> Call find in the menu

Bug: 6337808

Change-Id: Ib51e5d34d1800d7216093c06b6881f94ad7bc439
/packages/apps/Browser/src/com/android/browser/Controller.java
8cad413fe902010140cf20aad47c2f4e7a51f8d2 11-Jan-2012 Ben Murdoch <benm@google.com> Add support for HTML Media Capture "capture" attribute.

Receive the value for the new "capture" attribute on HTML
file pickers, and do the right thing with it.

Requires changes in WebKit
(I0a921be31fda79a43c05da4fe22d9c808d92709c)

and the framework (I494adc1274ca21ce8fe52a6c7b6b758217927e66).

Bug: 5771207

Change-Id: I38dfe2df043fdba1388384dbd3b5370737eb38e5
/packages/apps/Browser/src/com/android/browser/Controller.java
778a48868401c777eef3b88de8e4b84dd98d58dd 13-Apr-2012 Michael Kolb <kolby@google.com> Monkeys everywhere

Bug: 6297208

Change-Id: I5728296944340e19402b2bc681f01e70aeaf8276
/packages/apps/Browser/src/com/android/browser/Controller.java
80f750852edf43c6b09e5633f2c6ebdb2ed94a5b 10-Apr-2012 Michael Kolb <kolby@google.com> Submenus in QuickControls

Change-Id: I5d4fe7fdac1fb58e2e89afe00c468eed632428db
/packages/apps/Browser/src/com/android/browser/Controller.java
5987b806b08b9511d139555d529bbe11ddbdc8b4 12-Mar-2012 Victoria Lease <violets@google.com> Add "Share" option back to context menu for images.

Bug: 5904671

Change-Id: Id5b26035ddc8c04decc5f43ae4b859b396839a82
/packages/apps/Browser/src/com/android/browser/Controller.java
18f252ff8b7f787fd3129706650eafb74fcabef4 06-Mar-2012 Michael Kolb <kolby@google.com> handle locale changes directly in Browser

Bug: 6125790

Change-Id: I1326b5944260fe29ba9d68256d118238bcfdc3a0
/packages/apps/Browser/src/com/android/browser/Controller.java
4d2fcaba7fb8eb1723943ac9a10e76d509330bd1 24-Feb-2012 Jonathan Dixon <joth@google.com> Fixup browser to use WebView proxy

Has to escape out to WebViewClassic whenever it needs a hidden API.

Interdepends on https://android-git.corp.google.com/g/165608

Change-Id: Ic61dd7f57f75381864075605d5901f2688648cbd
/packages/apps/Browser/src/com/android/browser/Controller.java
913a13f5bbf126d4f668736617868427a60654ca 16-Feb-2012 Derek Sollenberger <djsollen@google.com> Revert "Temporarily disable saved pages for Skia update"

This reverts commit efe667469ef06277ad95699c365fe9ba6b44f4d5.
/packages/apps/Browser/src/com/android/browser/Controller.java
d98623751ffc44ab04e75f04cfac87db330bc82b 22-Feb-2012 John Reck <jreck@google.com> Move thumbnail update to onProgressChanged

Bug: 5960873
onPageFinished happens with in-page navigation, but onProgressChanged
doesn't. Use that to avoid taking unnecessary thumbnail captures

Change-Id: Ifbc83e3f654c81cc01d52a6ece129f96e888bf67
/packages/apps/Browser/src/com/android/browser/Controller.java
60cd8aedee741fc21915ef4083e454ccd56854e6 07-Feb-2012 Derek Sollenberger <djsollen@google.com> Merge "Temporarily disable saved pages for Skia update"
bcef87fe4a6cc084695bc6c3a1716ebb005230c5 03-Feb-2012 John Reck <jreck@google.com> Fix mMenuIsDown tracking

Change-Id: I4aeb1f420c885181dc6016e317c2e716876db549
/packages/apps/Browser/src/com/android/browser/Controller.java
efe667469ef06277ad95699c365fe9ba6b44f4d5 26-Jan-2012 John Reck <jreck@google.com> Temporarily disable saved pages for Skia update

Change-Id: I931def1d52eb792f8ada99946b0c419936e01771
/packages/apps/Browser/src/com/android/browser/Controller.java
dcd90e3a0607d8634733dd1971d72f3265732b47 16-Dec-2011 Michael Kolb <kolby@google.com> fix anchor link url bar updates

Bug: 5621026

Allow onPageFinished to reach Controller for links with anchor tags
Note that the bookmark thumbnail update won't overload the
async task anymore, since only one update message is active at any given
time (see bug: 4517571)

Change-Id: Iaeb9950ef15446aa9c824c7196f26a748591c944
/packages/apps/Browser/src/com/android/browser/Controller.java
c159c1a79e28904b8755e5f0947b279f96475f6b 16-Dec-2011 Michael Kolb <kolby@google.com> Another monkey NPE

Bug: 5737769

Change-Id: Ie1a485222df6b470d95ace9130b5cf2591a231df
/packages/apps/Browser/src/com/android/browser/Controller.java
f5261da39d50e722587772e5c230c4cc19f8decc 16-Dec-2011 Michael Kolb <kolby@google.com> Make Ctl-Tab and Shift-Ctl-Tab cycle tabs

Bug: 5731975

Change-Id: I1dd44b25f718a2270d5965a8f3f5dab096398856
/packages/apps/Browser/src/com/android/browser/Controller.java
a4c9f8dec60a8c62b30581e4e1cfb68f3e1d6fe7 30-Nov-2011 Michael Kolb <kolby@google.com> am c5b0b2db: Fix yet another Monkey NPE

* commit 'c5b0b2db3b917e658700642763fb50da0057716b':
Fix yet another Monkey NPE
c5b0b2db3b917e658700642763fb50da0057716b 30-Nov-2011 Michael Kolb <kolby@google.com> Fix yet another Monkey NPE

Bug: 5685380

Change-Id: Ida841160df6e76318ebb8e2b3804a40184b96161
/packages/apps/Browser/src/com/android/browser/Controller.java
164eeed6358cb6c4fece427ba12eaca6a65458d6 29-Nov-2011 Bart Sears <bsears@google.com> am 7431a694: Merge "Fix NPE at startup" into ics-mr1

* commit '7431a694054d56b5d56410f708f97bc2a81ae5e3':
Fix NPE at startup
b8337131d2e1b9a3ad0d8f619c47407b4349ea89 29-Nov-2011 Michael Kolb <kolby@google.com> Fix NPE at startup

Bug: 5676863

Change-Id: I673699e577f0ed2cfa85260f905ccccc0d852399
/packages/apps/Browser/src/com/android/browser/Controller.java
55cc0e37b0869622f8122c76f16aab276cd0016d 24-Nov-2011 George Mount <mount@google.com> Merge "Crash recover no longer uses icicle."
3636d0a6d90fd8de55a4894210b2dbe23f32aac9 21-Nov-2011 George Mount <mount@google.com> Crash recover no longer uses icicle.

Bug 5508252
Changed load state to use the crash recovery state every
time instead of using icicle. When the state is saved,
the value is written synchronously.
Moved settings from CrashRecoveryHandler to BrowserSettings

Change-Id: I1a241d4c488fe3246c7d7f1ee0ce26c42ba29429
/packages/apps/Browser/src/com/android/browser/Controller.java
f87fd100e613ca62490160fec11fe3401ae34917 22-Nov-2011 Michael Kolb <kolby@google.com> am a48621be: Merge "Monkey season" into ics-mr1

* commit 'a48621be8a537284f37b843388b30017b0cfce51':
Monkey season
39448616f7fcb7c47a69408af0f7c76e3663db81 22-Nov-2011 Michael Kolb <kolby@google.com> am b1fb70ce: Fix stop/refresh menu state

* commit 'b1fb70cee9e24f3f9e648dff1816403c427976d1':
Fix stop/refresh menu state
a48621be8a537284f37b843388b30017b0cfce51 21-Nov-2011 Michael Kolb <kolby@google.com> Merge "Monkey season" into ics-mr1
e8c975772600287793549407927281131757868c 21-Nov-2011 Michael Kolb <kolby@google.com> Monkey season

Bug: 5650555

Change-Id: Ia5ea323b3abaf411c24af18193d5d9ac7f63e212
/packages/apps/Browser/src/com/android/browser/Controller.java
b1fb70cee9e24f3f9e648dff1816403c427976d1 21-Nov-2011 Michael Kolb <kolby@google.com> Fix stop/refresh menu state

Bug: 5469075 5640775

Reconcile page load status updates to only use tab state; update menus
accordingly

Change-Id: Id32f1e0486e8439d6729f3657eda1132c25dfc7e
/packages/apps/Browser/src/com/android/browser/Controller.java
e834a5b48a4e0109a16edcdc9ec26d846b467895 19-Nov-2011 Narayan Kamath <narayan@google.com> am 3e5e5fad: Merge "Remove the psychic labs feature." into ics-mr1

* commit '3e5e5fada69d74bb50b14ef3588e7beadaedfd69':
Remove the psychic labs feature.
f3174a588cdf63ef59055998c23aad4b36b7856e 17-Nov-2011 Narayan Kamath <narayan@google.com> Remove the psychic labs feature.

Reverts the UrlInputView to a standard autocomplete
that causes less trouble for IMEs.

bug:5598837
Change-Id: If469d76f4feda88e4a122264a39d317737404578
/packages/apps/Browser/src/com/android/browser/Controller.java
7501bf46d2ab8d427449f2b24caad38c86076c10 17-Nov-2011 George Mount <mount@google.com> Show download complete message for data URI downloads.

Bug 5566849

Change-Id: Ifdb9a952a2b0b28d0f34ba11d112ef9b465bf564
/packages/apps/Browser/src/com/android/browser/Controller.java
5faa6c028c607834f60b13648d23525857ebde4e 14-Nov-2011 Kristian Monsen <kristianm@google.com> Merge "Remove dump V8 counters from browser debug menu"
ba71c0463a03b57b115cd030d106e002bff5db5d 11-Nov-2011 Kristian Monsen <kristianm@google.com> Remove dump V8 counters from browser debug menu

Removing the function from the WebView. This is a private function,
and to do anything useful WebCore had to be recompiled with the
special ANDROID_INSTRUMENTATION option.

Needed by https://android-git.corp.google.com/g/#/c/148912/

There is a bug for fixing ANDROID_INSTRUMENTATION:
bug 2816327

Since this has not been used for more than a year, removing
this option instead of fixing.

Change-Id: Ib5033a377a388d2ab211407aefe4b4932b441b76
/packages/apps/Browser/src/com/android/browser/Controller.java
93384ff95133b2ee0acae696c7ce050f28c0dd86 10-Nov-2011 John Reck <jreck@google.com> Handle error condition when inserting snapshots

Bug: 5599226

Change-Id: I4429ed965325d908cdc5094c37d856f4d9d68933
/packages/apps/Browser/src/com/android/browser/Controller.java
315d502edce27bb4e93e53134f1a43b8f5c45588 13-Oct-2011 Michael Kolb <kolby@google.com> Reduce size of menus

Bug: 5452031

Change-Id: I3cc638b981e50796293b0f61dac2d93b8e3df1a0
/packages/apps/Browser/src/com/android/browser/Controller.java
282637771aaffd93f29fd72bf5cd49dd82d24d0d 12-Oct-2011 John Reck <jreck@google.com> Lower snapshot size limit

Bug: 5443747
Also catch more exceptions

Change-Id: I5273c025d9fd8b7278587d6be44bf66fac4dfcde
/packages/apps/Browser/src/com/android/browser/Controller.java
938db80ec52fc02fd54027628772d528db0fe3c7 11-Oct-2011 Michael Kolb <kolby@google.com> Fix intent handling from other apps in recovery case

Bug: 5433940

When browser had a crash recovery state, the view intent from
the other app was dropped.

Change-Id: I8eaafa7ad792fa2048ad33886b7394c31ca97e21
/packages/apps/Browser/src/com/android/browser/Controller.java
387d45d2284c7fd7f12cbadc96161f946ae29cad 08-Oct-2011 George Mount <mount@google.com> Data URL fixes - bookmarks, save, and wallpaper

Bug 5383517
Images kept in data URLs can now be selected and this fixes the
Save and Set Wallpaper options. It also removes the bookmarking
capability.

Change-Id: I461bdcb4c950f6fcd8db8b38f4c599212106b027
/packages/apps/Browser/src/com/android/browser/Controller.java
db6ba9ba761827ca3277437977ab328609c4a9a3 06-Oct-2011 Michael Kolb <kolby@google.com> Merge "Immediately update title bar when loading a URL"
a53c98902be0f9f959b6af06227254e5ad2130c9 05-Oct-2011 Michael Kolb <kolby@google.com> Immediately update title bar when loading a URL

Bug: 5153437

Change-Id: I712c62f15bcb294a0833f526fa27dac88ec15c8e
/packages/apps/Browser/src/com/android/browser/Controller.java
9dd4a4129b91343b7b21e2389519ff1a795a447d 05-Oct-2011 John Reck <jreck@google.com> Fix intent handling

Bug: 5405096
If state != null, don't process the intent in getIntent, it will be
stale

Change-Id: Icc854a1d8f11fdbd60c1f7f854053f2294864b0f
/packages/apps/Browser/src/com/android/browser/Controller.java
2466effd6ef97aa17396c214d51f9f19a4760260 03-Oct-2011 Steve Block <steveblock@google.com> Rename Tab.LockIcon to Tab.SecurityState

The tab's state is concerned with whether or not the page is secure. It should
not mention the lock icon, as this is just a UI choice of how to represent the
security state.

Also renames WebViewController.onUpdatedLockIcon() to onUpdatedSecurityState().

No functional change.

Bug: 5403366
Change-Id: Id18402e84fd9b1f661c160189c7a19a9352fd25c
/packages/apps/Browser/src/com/android/browser/Controller.java
3639c4c7f0be061143869bce30a3f62dbeb0f773 29-Sep-2011 Michael Kolb <kolby@google.com> View images without throwing an intent

Bug: 5375434
load images directly into a new tab and set parent on the
new tab

Change-Id: I5b038d30127b6cf3144de4ae38e6f4ab6d9117a5
/packages/apps/Browser/src/com/android/browser/Controller.java
8471e9f6aa91a7e97a307304483ec8bcb61b8fdd 20-Sep-2011 John Reck <jreck@google.com> Remove network connection error dialog

Bug: 5341852

Change-Id: I34028cbfb6fa834624ccb816dda0824504b56028
/packages/apps/Browser/src/com/android/browser/Controller.java
aae029c3166b0f6e0179a5973c885aea118fb31b 16-Sep-2011 John Reck <jreck@google.com> Use overlay action mode

Bug: 5327408
By using actionBar: false with actionModeOverlay: true the
action mode callbacks happen before the action mode animation.
This allows us to animate down the URL bar at the same time if
needed (when the URL is being edited).

Overlay mode fixes the issue with webview being translated, which
was what caused the selection handles to move. Only the selection
handles were affected thanks to b/4982054

Change-Id: I8153de63124eb4e4d02e88637f0cf01658054a14
/packages/apps/Browser/src/com/android/browser/Controller.java
13ec51769c2ee9f9e189050a510103226b6241de 15-Sep-2011 John Reck <jreck@google.com> Merge "Cleanup menus"
9ad1eac377ffa6ffd34afae4c6580b7ba7508c31 15-Sep-2011 Mathew Inwood <mathewi@google.com> Revert "Support for measuring page load times."

The page load time measurement was a stop gap measure until server side
support is ready, and we don't want to ship with it in.

Bug: 5266893

This reverts commit b4e831bf1ff62945199b89a77ad039be7bd16545.

Change-Id: Iafc08cea88774e5ecf018112a25e4dc2993a4623
/packages/apps/Browser/src/com/android/browser/Controller.java
e1a03a366ff90ebcd8568a86b84a5917610cf512 15-Sep-2011 John Reck <jreck@google.com> Cleanup menus

Bug: 5290513

Change-Id: I2ca1de40fe362b74d941056504fc4e3249de03a3
/packages/apps/Browser/src/com/android/browser/Controller.java
d7dd9b2ecb12da278c053291b684b885ee574301 30-Aug-2011 John Reck <jreck@google.com> Use onDraw instead of capturePicture for thumbnails

Bug: 5220344

Change-Id: I78ebbb8ae6c574d79b99fcde8220e5d08342876c
/packages/apps/Browser/src/com/android/browser/Controller.java
e64e369aa762f03ed22b408c3b4936a3b3c83dc2 07-Sep-2011 Mathew Inwood <mathewi@google.com> Merge "Support for measuring page load times."
a60fffaa18e26b29880c7ce21548af4f8ec0e443 07-Sep-2011 John Reck <jreck@google.com> Monkey protection

Bug: 5134204

Change-Id: Id61b16b17b4a054ab7f1948614399f157f52821f
/packages/apps/Browser/src/com/android/browser/Controller.java
b4e831bf1ff62945199b89a77ad039be7bd16545 05-Sep-2011 Mathew Inwood <mathewi@google.com> Support for measuring page load times.

An app can attached a pending intent to an intent sent to the browser
which will be send when the load completes. The browser will fill in
the timestamp of when the page load completed, and details of preloading
success or otherwise if this was used.

Bug: 5259031
Change-Id: I2d025caabd6055ac25f06e69897a03d5c57c4f41
/packages/apps/Browser/src/com/android/browser/Controller.java
e09305e4ad0430571efb8ae880762204ddeaeb33 02-Sep-2011 Mathew Inwood <mathewi@google.com> Make sure preloaded tabs have unique IDs.

Bug: 5251821
Change-Id: I6dd7561a2461805912268a5faf967199cf39fd8c
/packages/apps/Browser/src/com/android/browser/Controller.java
015e1e3145ac284aa5879c973f9d2381c8cd48fe 02-Sep-2011 Ben Murdoch <benm@google.com> Unregister the NFC callback onPause.

This prevents us from leaking BrowserActivity when we go to
the background.

Bug: 5233864
Change-Id: Idf59de67637c8c9eb39ea9f8b9cb93320c4afa99
/packages/apps/Browser/src/com/android/browser/Controller.java
06207a3230fe54c3a3b7053c0a7f05696c44854f 30-Aug-2011 John Reck <jreck@google.com> Merge "Fix blank page activity selection bug"
8bcafc149bc49b84c8dfbaacf88c178d8bc9eda6 30-Aug-2011 John Reck <jreck@google.com> Fix blank page activity selection bug

Bug: 5191031
Sets an app id on the tab so that if the intent comes back to us,
it is opened in the current tab.
Close empty tabs correctly if the intent goes elsewhere
Fix Tab.syncCurrentState to deal with WebView.getUrl() == null correctly

Change-Id: I31e1e1f6688fb5c5c31ba07dde4e6b3bad34fb13
/packages/apps/Browser/src/com/android/browser/Controller.java
52be4785a258687055515117775d5bcb8bec1c12 27-Aug-2011 John Reck <jreck@google.com> Fix issues with state save/restore

Bug: 5144214
Tracked down the issue with messed up state to a bug where
tab ids were not unique, and would actually get messed up in restore.
Switched it to the tab's responsibility to assign an id to itself
in the ctor to make sure all possible paths where a tab is created
are fixed as well as the tab being the best informed about whether
or not it has an ID to restore from. Added some checks to watch for
a similar problem in the future as well.

Change-Id: Icd8333232a0baca7a3639323538886ea595de05a
/packages/apps/Browser/src/com/android/browser/Controller.java
b5fd1162998b37b47aceff431992f484e422d03f 24-Aug-2011 Nick Pelly <npelly@google.com> Updates for NDEF push API change.

Change-Id: I2390665d59f6b3868b5a3a27bfc38ea4c9cdf0d4
/packages/apps/Browser/src/com/android/browser/Controller.java
87357644efd5940876deb29820d3049bc9c6b13a 24-Aug-2011 Michael Kolb <kolby@google.com> Drop active tab check when blocking events

Bug: 5198309
The active tab check was freezing the browser

Change-Id: I3376c84bb178c02d02deb54bf23fa1149809963d
/packages/apps/Browser/src/com/android/browser/Controller.java
6628d14f087ba5554da08738e84b055b56070017 23-Aug-2011 Michael Kolb <kolby@google.com> Merge "Avoid showing previous tab when closing an app tab"
2ae6ef7f6c146a5bc3a4c7ef8de56505eb02399e 22-Aug-2011 Michael Kolb <kolby@google.com> Avoid showing previous tab when closing an app tab

Bug: 5188145
skip setActiveTab when closing a tab launched from an app
set active tab in onResume

Change-Id: If602358a61690f15fe2e81a6b3d62d51ad15e16d
/packages/apps/Browser/src/com/android/browser/Controller.java
6c2e2f34718043f36488b4a94879dc2605aaac49 22-Aug-2011 John Reck <jreck@google.com> Add bulletproofing to state recovery

Bug: 5166335

Change-Id: Ife9ef2da7664f8de6b0ff9655611efa78d84df05
/packages/apps/Browser/src/com/android/browser/Controller.java
42229bcdea8a1623d9ac3fce099793a3767fb14d 19-Aug-2011 John Reck <jreck@google.com> YAMR - Yet Another Menu Reorg

Bug: 5186166

Change-Id: Icd459c8f9cd557659a5402431a843a856fb1b134
/packages/apps/Browser/src/com/android/browser/Controller.java
59e232c77d354839fd5fc8d6fcfcd968e4f1497a 19-Aug-2011 Michael Kolb <kolby@google.com> Show web content before handling new intent

Bug: 5184826

hide nav screen before handling new intent

Change-Id: I7d6b17f71bb45c05917a4d2346368f0f0188b5f5
/packages/apps/Browser/src/com/android/browser/Controller.java
9a4ceda6691cfa2985d2147f1e2f3ab2205aa129 17-Aug-2011 John Reck <jreck@google.com> Merge "Faster all the things!"
56c1fcf7774d4ee943fbda808e37840459502e20 17-Aug-2011 John Reck <jreck@google.com> Faster all the things!

Bug: 5177959
Improve browser startup. Elinate IO access on UI thread during startup
by removing the super legacy ClearThumbnails task. Also rework how
the hardware acceleration debug setting works to remove the requirement
for initialized BrowserSettings in onCreate

Change-Id: I4c1014d380827af4833586e6a3ae842fd59aa48b
/packages/apps/Browser/src/com/android/browser/Controller.java
5ae15bd3b32860c471ed4cbfa4ba46b2e1a9911d 17-Aug-2011 Michael Kolb <kolby@google.com> fix close tab keyboard shortcut

Bug: 5129293
Tab closing is handled twice:
as a menu shortcut and in the key handler
removed the key handler

Change-Id: I436b4bcb380ea4daeeea3a9f317e42142f1b2e69
/packages/apps/Browser/src/com/android/browser/Controller.java
8a009498bfca64556c2082cbb32f68506d6962db 16-Aug-2011 Michael Kolb <kolby@google.com> Fix monkey bug

Bug: 5166733
added missing return statements and valid active
tab check

Change-Id: Ida7ffa6faf77a95eaf19ef566176ad522be4efef
/packages/apps/Browser/src/com/android/browser/Controller.java
c3af06776be83ba64a0d3549cb72ca6e5e7f03cd 09-Aug-2011 Michael Kolb <kolby@google.com> Tab switcher animation

Bug: 5123884

first step towards animations between browser and tab switcher

Change-Id: I1d959d42d0036f3c4498972fcc8ad434fa7f4437
/packages/apps/Browser/src/com/android/browser/Controller.java
31a8579c697615e83ff2f4ddc8131ce3bf1bea8a 12-Aug-2011 John Reck <jreck@google.com> Merge "Don't hide the navscreen when going to bookmarks"
3ba455394dd3413b6246f00d2bf2083547862735 12-Aug-2011 John Reck <jreck@google.com> Don't hide the navscreen when going to bookmarks

Bug: 5144826

Change-Id: If810b3d82c52265f841954f295f5974af9807a01
/packages/apps/Browser/src/com/android/browser/Controller.java
eac25cd7ae17cd626fe55060dcd0a003e6171ad7 12-Aug-2011 John Reck <jreck@google.com> Menu shuffling

Bug: 5145209
Move some stuff from the overflow menu to the favicon menu

Change-Id: Ied61630281f1fbb8078997d72af6333a6d527249
/packages/apps/Browser/src/com/android/browser/Controller.java
b42e2943ebff7064fe1bc1023d9f5281aae47a8b 09-Aug-2011 Ben Murdoch <benm@google.com> Merge "Observe a flag to supress the HTTP auth dialog prompt and silently cancel auth."
e28b347fcc1df6e6bd41cb294d521a4f1e7c5c75 05-Aug-2011 Michael Kolb <kolby@google.com> close external tabs on back

Bug: 4466495
close externally created tabs
when the back button is used and no further
back history is available

Change-Id: If605474d929fb759226a1e1f4125bfaab43e6653
/packages/apps/Browser/src/com/android/browser/Controller.java
fdd371115259fad344d552b8b7121823b1466804 05-Aug-2011 Ben Murdoch <benm@google.com> Observe a flag to supress the HTTP auth dialog prompt and silently cancel auth.

Requires external/webkit change
If8c6f22e8307e1e13b8f7ad29f79305ce24b3255

Requires frameworks/base change:
Ida5708aad7cbe5633106e9ae2997c9231aaf95b8

Bug: 5094761
Change-Id: Id901855830bbe17ede8a18293cff2bbc0aad4ba8
/packages/apps/Browser/src/com/android/browser/Controller.java
43cfe8a4521b5c153055fbfa181940bc56bb3b06 03-Aug-2011 Dianne Hackborn <hackbod@google.com> Clear bitmap from canvas after done drawing to it.

Change-Id: I0ebc8510021a2dd0b147ced7890d939ec47809f6
/packages/apps/Browser/src/com/android/browser/Controller.java
42c0c063206ed37ab63b887348369650b51942e9 02-Aug-2011 Michael Kolb <kolby@google.com> fix url action mode

Bug: 5093025
The url bar is kept visible now
It's still not perfect, because the url bar gets pushed down
under the user's finger

Change-Id: I7142cd1f442bf7e3b53af5aac150defda68661ed
/packages/apps/Browser/src/com/android/browser/Controller.java
7bdee0b303d8969aace4d3e43be5bb9f16e276bf 01-Aug-2011 Michael Kolb <kolby@google.com> fix action bar and menu

Bug: 5077207
Bug: 5097486
cleaned up action bar items
dynamically change menu items based on context
bookmarks option added to nav bar menu
new tab added to navbar menu
find/addbookmark only on real pages
removed new incognito tab from tab switcher action bar

Change-Id: I973f20a13bb7d9900041f717aff012e7a2c735b8
/packages/apps/Browser/src/com/android/browser/Controller.java
c1eeb12b6e4570520c3571aba9c04be91b4a20d5 01-Aug-2011 Michael Kolb <kolby@google.com> fix last tab close bug

Bug: 5098467
The controller did not update the tab list correctly
and called activity finish instead. The adapter
got updated and showed the last tab still
Now the controller removes the last tab before
calling finish, so the visible update to the tab
list is correct.

Change-Id: Idf29dff7d60181c63f6b3ebcbc8a1562f027b2c1
/packages/apps/Browser/src/com/android/browser/Controller.java
6d598844158407f5966bdef959a74e86e73f0c1a 29-Jul-2011 Michael Kolb <kolby@google.com> remove unused references

fixing the build

Change-Id: I0eb96c00a50918bc2cbf588c6ee2bce8b7082358
/packages/apps/Browser/src/com/android/browser/Controller.java
1cf4b79a0020bc18c83ca8bde0e318ecd5252bc2 26-Jul-2011 John Reck <jreck@google.com> Restore overhaul

Bug: 5069192
Store thumbnails in a database restored async for each tab
Fix restoring a tab not restoring its current state

Change-Id: I2c14e352638aac0ef766fb3bf4036ff220c53ecd
/packages/apps/Browser/src/com/android/browser/Controller.java
ff6a748ae78165cc2298f5120a4374b4ed6f836b 27-Jul-2011 Michael Kolb <kolby@google.com> handle preload tab when max count is reached

Bug: 5066968
when opening the pre-load tab, check against max count
if max count is already reached, replace the least
used tab with the pre-loaded tab; it's back/forward
history will be lost

Change-Id: I091b6b066a3e990f330be458d4aff72f62c8de38
/packages/apps/Browser/src/com/android/browser/Controller.java
af262e703038106aef2e5187d120617836ffe9ce 25-Jul-2011 John Reck <jreck@google.com> Remove obsolete usage of WebIconDatabase

Bug: 5019676
Removes some other legacy code

Change-Id: I766d9d6f7805b5619a9769e6d72ae2f4c363d3ed
/packages/apps/Browser/src/com/android/browser/Controller.java
cadae72b6309303bc7b22e85181222b73e176c32 25-Jul-2011 John Reck <jreck@google.com> Switch to a background thread pool

Bug: 5019676
Use a shared thread pool
Eliminate some unnecessary use of AsyncTask (which has extra
overhead compared to using a thread pool)

Change-Id: I01d6c84816a9c9705216c8fdb8ed8c990265626a
/packages/apps/Browser/src/com/android/browser/Controller.java
88026f45e41d039efa3b48372f0eef5ba49a3b5c 23-Jul-2011 John Reck <jreck@google.com> Quick disabling of state images

Bug: 5069192

Change-Id: I9a9e16bb9014c2734cf258526a8579907a9f6791
/packages/apps/Browser/src/com/android/browser/Controller.java
bc490d2c32aac4e12069be1b92bfaf185ff5dbb5 23-Jul-2011 John Reck <jreck@google.com> Preload crash recovery state

Bug: 5069111

Change-Id: Ia19d7b3a8eb483fc4e9076fa388c82d8673894ac
/packages/apps/Browser/src/com/android/browser/Controller.java
f57c029329e874399199259b5e69f4d0b8a12a38 22-Jul-2011 John Reck <jreck@google.com> Startup optimization

Bug: 5019676
Save one thread by letting CrashRecoveryHandler re-use the BrowserSettings
startup thread

Lazy initialize the wake lock only if we need it (avoids IPC overhead at startup)

Slight ordering shuffle in BrowserActivity to maximize the usefulness of the
BrowserSettings startup thread

Change-Id: I1fc7412d492f93e0630008fa6030da9e0d726ebb
/packages/apps/Browser/src/com/android/browser/Controller.java
30b065e9c311ab1a8973caeb85a0861c8802b043 19-Jul-2011 John Reck <jreck@google.com> ActionBar change for phones

Bug: 5022239

Change-Id: I0ccf131468cd129f4770ef85bde8d023670c33c8
/packages/apps/Browser/src/com/android/browser/Controller.java
3ca12750f9b6231b00a1856dcb25c2d2e07e8784 20-Jul-2011 Michael Kolb <kolby@google.com> use system menu

On phones with hardware menu key, use the framework's
menu
Also fixes:
Bug: 5051899
remove overflow button from bar if menu key is present
Nav options are not visible on tab switcher

Change-Id: I5b55934a392a76f9d9ef16e3bf5c71f27b88d69a
/packages/apps/Browser/src/com/android/browser/Controller.java
d3e4d5b4ffdf374b836ec9d4d3e315040c8c3779 14-Jul-2011 John Reck <jreck@google.com> Move ComboView to its own activity

Bugs: 5009130 3368824

Change-Id: I559bb88a1e759172ef9a7d2a8b41ea4c7e523ec6
/packages/apps/Browser/src/com/android/browser/Controller.java
f630b5590984e477cdc76a75b1c2edb9d73d144a 17-Jul-2011 John Reck <jreck@google.com> Closing last tab clears state

When closing the last tab, clear the crash recovery state. This
prevents the issue where closing the last tab and re-launching
browser would recover the last tab anyway

Change-Id: Ia080aca5401fbc65e62a7651cb17cf9cd2e25ed8
/packages/apps/Browser/src/com/android/browser/Controller.java
7ab75ee486cd0e316dda66d2c6a73b0de1f16332 15-Jul-2011 Michael Kolb <kolby@google.com> fix menu on tablet

Change-Id: I85b075d715a571faa78b50e45347d4e1eb2a712b
/packages/apps/Browser/src/com/android/browser/Controller.java
e9e1d4af4971e09392627e8e53d69d1b70bcb572 15-Jul-2011 Michael Kolb <kolby@google.com> add KEY_FORWARD support

Bug: 4395060

Change-Id: I68c11b6c8e963d8353ced2aaf296e618969c86e5
/packages/apps/Browser/src/com/android/browser/Controller.java
ef85204bf5eab3e4fd2ca4d36e838bdaaa48f68a 14-Jul-2011 Michael Kolb <kolby@google.com> Merge "add navigation to menu again"
4bf7971ed99aa273dc8ea9cf610cd6fa168c5dcb 14-Jul-2011 Michael Kolb <kolby@google.com> add navigation to menu again

Bug: 5021497
re-enabled the navigation menu items
adjust state based on current tab

Change-Id: If396829f280fdb7831ade97180c38342e4f483a3
/packages/apps/Browser/src/com/android/browser/Controller.java
e1dbb956d762c3f07033f247c05270a9882a79a7 08-Jul-2011 Mathew Inwood <mathewi@google.com> SearchBox preloading fixes.

It now seems to work pretty reliably. Nice. Requires changes to SearchBox
API in frameworks/base:
Depends on change: If283ecdfa62aecb1fa697b1a2cd43b771b908d72

Change-Id: I5af94c8df8f24dfafb02c4052381aa547c72684c
/packages/apps/Browser/src/com/android/browser/Controller.java
ef654f1dd80f55609060005342fc4f2cde62990c 13-Jul-2011 John Reck <jreck@google.com> Snapshot title bar

Bug: 4982126

Change-Id: I67931d39e3a3ce535b38197ebeee1651241d1a60
/packages/apps/Browser/src/com/android/browser/Controller.java
9ef259af433edc5aeb11b5d5d94dc9acc697c61e 13-Jul-2011 Michael Kolb <kolby@google.com> use screenshots for tab switcher

also removed the old tab switcher code

Change-Id: Id84ff64e42e5e1f70f55e136efdf84270c1a4b7b
/packages/apps/Browser/src/com/android/browser/Controller.java
0f602f3933dcd88702fdb514b6611e3066ca7a2b 08-Jul-2011 John Reck <jreck@google.com> TitleBar refactor

Change-Id: I0a2df041529143c8e0ff17af341376a3f827be04
/packages/apps/Browser/src/com/android/browser/Controller.java
a169628f9424256e5bcf45807869c4c4eaa114c0 08-Jul-2011 John Reck <jreck@google.com> Fix bing images crash

Bug: 4517571
Caused by receiving onPageFinished callbacks for in page navigation links
(eg, url#something).
Also, only post an UPDATE_BOOKMARK_THUMBNAIL message if one is not already
pending for the tab.

Change-Id: Ia45ae93206507b93ad6fc841ad291b97bc947675
/packages/apps/Browser/src/com/android/browser/Controller.java
fbc579af4749526882c764cd176a167205306fe9 08-Jul-2011 Michael Kolb <kolby@google.com> catch search key in browser

Bug: 5003493
When in browser, the hardware search key brings up the
url bar for the current tab.

Change-Id: I57a666a548771c7e5949116db71d2164cb8972fd
/packages/apps/Browser/src/com/android/browser/Controller.java
180d76d96625a92e0dcaeaaf7ab94dda4eb238b8 07-Jul-2011 John Reck <jreck@google.com> Merge "Move Snapshots to own DB on sdcard"
8cc9235816ac9b3f1b3551d6234684f0455746dc 07-Jul-2011 John Reck <jreck@google.com> Move Snapshots to own DB on sdcard

Bug: 4982126

Change-Id: Ib66b2880d163de4feb4d880e1d01996301bbea08
/packages/apps/Browser/src/com/android/browser/Controller.java
29721c2c6cc7f79a52962556c4431b71bb3ce46e 29-Jun-2011 Mathew Inwood <mathewi@google.com> Add SearchBox support to preloader.

Depends on change: I0119243ed0e19e237c1f51de887af5c954f96693

Change-Id: I2a2d3ff3c9d0d79f34af4c8daee828fb4efd7519
/packages/apps/Browser/src/com/android/browser/Controller.java
c4d11c52813fe6034093990aa90fbe61197a679f 06-Jul-2011 John Reck <jreck@google.com> Merge "Shortcut the TYPED url case"
87ddc3da1b1e08a65da399e80f617de3db6df359 04-Jul-2011 Mathew Inwood <mathewi@google.com> Add tab to tab bar when rendering a preloaded one.

Previously, no tab was present in the tab bar on tablet.

Change-Id: Id9ac1e77c50acf3a695a4da028b397394b51d9ec
/packages/apps/Browser/src/com/android/browser/Controller.java
71e5142e4237a0f9d51a93504da36b778e8b79e4 02-Jul-2011 John Reck <jreck@google.com> Shortcut the TYPED url case

Bug: 4985289
Don't go through the handleIntent route if the user typed
something into the omnibox if we don't need to.

Change-Id: I4de8e18c1ca734a0c6bfbca43c9448417cec2057
/packages/apps/Browser/src/com/android/browser/Controller.java
2bc8042224be51966d748b870768ec1b376a1621 01-Jul-2011 John Reck <jreck@google.com> Saved Pages tab

Bug: 4982126
Add saved pages tab
Remove "save page" menu option
Add "save for offline reading" menu option
Smooth animation to combo view

Change-Id: Ia67552a6f6a5474a6dfcff6790a341d4d36d5a77
/packages/apps/Browser/src/com/android/browser/Controller.java
1461244018a225006a8d4c203f9dfe294ffe94fa 24-Jun-2011 Michael Kolb <kolby@google.com> Preloading support in browser

Apps like the QSB can request the browser to preload a
web page.
- preloaded pages are not added to the browser history
if they'r not seen by the user
- when a request is received, a new tab is created for the
preloaded page, but not added to the tab list
- upon receiving the view intent for the preloaded page
the tab is added to the tab list, and shown
- if several pages are preloaded consecutively in the same tab,
the back stack is cleared before it is displayed
- preloaded pages use the main browser cookie jar, so pages that
have never been viewed by the user can drop cookies

Change-Id: I9ed21f2c9560fda0ed042b460b73bb33988a2e8a
/packages/apps/Browser/src/com/android/browser/Controller.java
253b8553264dd3da9c7688d8c04d7f1f1b2bd399 29-Jun-2011 John Reck <jreck@google.com> Merge "Fix IntentHandler behavior"
db22ec4ee014900988062d910bc810172a07df56 29-Jun-2011 John Reck <jreck@google.com> Fix IntentHandler behavior

Bug: 4473779
Plus, TESTS! Huzzah!

Change-Id: I043e100d99d4653b7fb7885217d7fb305930a137
/packages/apps/Browser/src/com/android/browser/Controller.java
ae0c0411bb502976c6374e30c5d1aa4271a64daf 28-Jun-2011 Huahui Wu <hwu@google.com> 2nd try: Shows the right URL that has a cert error.

Identical to https://android-git.corp.google.com/g/#change,117835
which was reverted since its collaborative CL broke the build.

Change-Id: Ic0344bd30895700692fbf7cec84666567133e103
/packages/apps/Browser/src/com/android/browser/Controller.java
16b6806562476950f5c26878ebf1d6075f1a16d8 28-Jun-2011 Huahui Wu <hwu@google.com> Revert "Shows the right URL that has a cert error."

This reverts commit db6ff8999159f386ea8a99d980ce533b717fca78.
/packages/apps/Browser/src/com/android/browser/Controller.java
db6ff8999159f386ea8a99d980ce533b717fca78 27-Jun-2011 Huahui Wu <hwu@google.com> Shows the right URL that has a cert error.

b/2689122 SSL error shows the wrong page when triggered by an image/javascript in the page
This CL receives the URL which has a invalid cert from framework and shows it in related
dialogues. Related CLs are:
webkit: https://android-git.corp.google.com/g/#change,117817
framework: https://android-git.corp.google.com/g/#change,117828

Change-Id: I9b243b73b9cce19d94cc71608207219bfa687db2
/packages/apps/Browser/src/com/android/browser/Controller.java
26b183292dc087b16af10f482744c3bb30e1f163 21-Jun-2011 John Reck <jreck@google.com> Prevent webview reuse

Bug: 4742007
Bug: 4770356
Also pipe all loadUrl's through Tab so that it can immediately
update its internal state. This is necessary as javascript:
uris do not cause onPageStarted/finished callbacks to happen,
thus the url and title of the Tab do not update.

Change-Id: I6d17e8627db505eaa9158339fdfc7afd2c6672a2
/packages/apps/Browser/src/com/android/browser/Controller.java
24f1826440334ba8a3d2453699c51c1a4b117c7b 17-Jun-2011 John Reck <jreck@google.com> Clarify restore dialog, prevent spam

Bug: 4599646
State that it is the browser's windows/tabs to be restored and
show the browser's app icon in the dialog.
Also cut down on the frequency this prompt will appear by
ignoring tabs that haven't loaded anything except the home page.

Change-Id: I2c2cc03aa92da3199c47b455256145d392548930
/packages/apps/Browser/src/com/android/browser/Controller.java
b2f93556ac91fe06eb8f6acab05b6a6d1b2fdbe1 14-Jun-2011 Martijn Coenen <maco@google.com> Zero-click sharing for Browser using NFC.

This adds zero-click sharing for the Browser app; the URL of the
tab currently displayed will be transferred to any NFC-capable
Android phone upon touch.

Change-Id: I7aabc1b2b3f7700c05223349e5c317534fcfe8f0
/packages/apps/Browser/src/com/android/browser/Controller.java
d8c7452a7d8975a2d60414c5a33842b4a743e631 14-Jun-2011 John Reck <jreck@google.com> Persistent frozen tabs

On Tablet WebViews for frozen tabs are created on demand
On Phone WebViews for frozen tabs are tied to the lifecycle
of the SnapshotTab for nav screen reasons (for now)

Change-Id: I80cb48e748c4dd4b8564426d5e05b92f3eea7a36
/packages/apps/Browser/src/com/android/browser/Controller.java
27d0b8858752093b8e6cffec4073429b22444af3 13-Jun-2011 John Reck <jreck@google.com> Merge "Remove unused parameter"
3ffc5ca7cd5e79dec9f7d2bb83e6f909d826ff0d 11-Jun-2011 John Reck <jreck@google.com> Remove unused parameter

Bug: 4554673
Parameter no longer has any meaning, could cause crashes

Change-Id: Ifcc54ab93070d6153476b720c9636f04423e1717
/packages/apps/Browser/src/com/android/browser/Controller.java
378a41055fab6c521cdc1d9b2cfeefff2af19e7c 10-Jun-2011 John Reck <jreck@google.com> Always offer to restore

Always offer to restore (even across reboots)
Periodically save while the user is typing in a textfield

Change-Id: If226ea7d2e19c58d8205d663f9f8dd670c712436
/packages/apps/Browser/src/com/android/browser/Controller.java
541f55a0178da7c09fb32aa5385effae031ea071 08-Jun-2011 John Reck <jreck@google.com> Freeze tab improvements

Change-Id: I5d5e5a7a18cafdbe845fa1ef949276bdfd1996d3
/packages/apps/Browser/src/com/android/browser/Controller.java
f33b1637487af3786ee30f295f2c84db6db1e6b3 05-Jun-2011 John Reck <jreck@google.com> Add freeze tab menu option

Adds a freeze tab menu option hidden behind about:debug for now.

Change-Id: I1b321de6a5dbcb13e87f6e658439f727970b0e4f
/packages/apps/Browser/src/com/android/browser/Controller.java
2d4f1e2553dee6bce5a12162ff6d4459babe2512 01-Jun-2011 Derek Sollenberger <djsollen@google.com> Add API to allow plugins to lock their orientation in full-screen

This CL has companion changes in the framework and webkit.

bug: 3398386
Change-Id: Iea198ae6b74c68506e605ca8c401f199e2455416
/packages/apps/Browser/src/com/android/browser/Controller.java
aed9c54d8e67bb683a5a415b3775525a3ac00508 28-May-2011 John Reck <jreck@google.com> Prevent crashing in CrashRecoveryHandler

Catch Throwable instead of Exception
Don't save screenshots for crash recovery

Change-Id: I22c36dc644ae597c609880d2ced79436918d83a6
/packages/apps/Browser/src/com/android/browser/Controller.java
9465f4db222d280118ecd9a45261a62389dda520 28-May-2011 Michael Kolb <kolby@google.com> Merge "long axis scrolling for nav screen"
4bd767d2f4ce166a44687170c6af18e242447205 27-May-2011 Michael Kolb <kolby@google.com> long axis scrolling for nav screen

also:
fix combo view navscreen overlap
fix menu key handling
adjust screenshot capture size

Change-Id: Ia0c920ed40e7d97d5902d98b85830817b9de6506
/packages/apps/Browser/src/com/android/browser/Controller.java
5949c661b51295148706d53a03b41df2eb840ae3 27-May-2011 John Reck <jreck@google.com> Fix set parent race condition

Alter the openTab method to make sure that the parent is
always set before trying to load a url. This is done because
some web settings (useragent) are now inherited from the parent,
and we need to make sure those are applied before the UA is sent
to the server.

Change-Id: Ib33b75ac4648e8ba1ede9bb92406ea175aabb19d
/packages/apps/Browser/src/com/android/browser/Controller.java
2814a362c21ac219410d9b54e1bd3e8152b845c7 20-May-2011 Michael Kolb <kolby@google.com> new iteration of the navigation UI

use live webviews

Change-Id: Ie787c76470e445548d358374f83f33a1b0b0b5cf
/packages/apps/Browser/src/com/android/browser/Controller.java
8706008824a86cd28f6911be26dde2602a4b4a6a 18-May-2011 John Reck <jreck@google.com> Transfer data from BP1 to BP2

Also move BP1 to provider package

Change-Id: I082df8f675d32e2b9072914eab4ee1d50543e169
/packages/apps/Browser/src/com/android/browser/Controller.java
c831b63308dd1f8ef71808db8344ca2566ba4ed4 11-May-2011 Michael Kolb <kolby@google.com> introduce tab IDs

Tabs are identified by IDs now, instead of their position
Refactored the save/restore code

Change-Id: I7133d55831201d097dc19ec938a85e7085f36749
/packages/apps/Browser/src/com/android/browser/Controller.java
519d22840ea587988214a625dc8106e1302ac4a9 10-May-2011 Michael Kolb <kolby@google.com> fix new tab regression

Change-Id: I788343c7df3c282d8f42aeac715ad54eacea77b9
/packages/apps/Browser/src/com/android/browser/Controller.java
7bcafde2ba532941c1eb8c9022eebd5398aeae2a 09-May-2011 Michael Kolb <kolby@google.com> refactor open tab code

Change-Id: Ibcffa5a55b2b7dcf56174f9dd916a565b31506e9
/packages/apps/Browser/src/com/android/browser/Controller.java
a4261fd53fef2b311e733fcfee4be3a9967ad967 05-May-2011 Michael Kolb <kolby@google.com> fix navscreen orientation

handle configuration change in navscreen
capture actual screen for tabs
size tabs correctly

Change-Id: I20ff72bdcab13678cdba4c55849bd5ff16cb6568
/packages/apps/Browser/src/com/android/browser/Controller.java
9e78f51d14b9a16d645b754e073f549a5891db26 04-May-2011 Guang Zhu <guangzhu@google.com> add an intent parameter to skip crash recovery

This is useful for testing, where crash recovery is handled by the
tests and also dialog interaction in undesirabls and also dialog
interaction in undesirable. Also included a minor unrelated change
to test app to handle/disable pop windows.

Change-Id: Iab337b31c803d50b74ba24ca80cc614fa752a846
/packages/apps/Browser/src/com/android/browser/Controller.java
35e9dd6283a2d65687104eb0b3a459c02dcb150b 25-Apr-2011 John Reck <jreck@google.com> Browser settings refactor

Change-Id: I6fc1b21f7ea692fbe37a17bf900e9b7408a9c077
/packages/apps/Browser/src/com/android/browser/Controller.java
f205560dacc8a85f0443ca1949a68962404321e8 10-Apr-2011 Michael Kolb <kolby@google.com> new navscreen ui

Change-Id: Iedbdf5af5d3ee2fbdd6944c1689f6551b3af8d46
/packages/apps/Browser/src/com/android/browser/Controller.java
847b532045e3cb117a847ebb956c9919401f332d 15-Apr-2011 John Reck <jreck@google.com> Recover tabs in the event of a crash

Change-Id: Ia47a5bc1e659e46e7f29a8cec52b6fd2ed675be4
/packages/apps/Browser/src/com/android/browser/Controller.java
46f987eca738a36e2c8382aaec6c7ef2ae2482ae 05-Apr-2011 Michael Kolb <kolby@google.com> refactor titlebar code

Change-Id: I45db5f19af142ba78d3e3833fa428e8f9a14b889
/packages/apps/Browser/src/com/android/browser/Controller.java
11d1978d8d16004598347abc93918b54a5ef760b 20-Mar-2011 Michael Kolb <kolby@google.com> fix title bar

Merge code from TitleBarXLarge down into base
to support omnibox in both tablet and phone
browser

Change-Id: If54f3b162725411236f0b0676887bbcbdabadd25
/packages/apps/Browser/src/com/android/browser/Controller.java
71791a09579b21ef61f00c38056497cd99667440 22-Mar-2011 Michael Kolb <kolby@google.com> am 8835aed7: am fb812e56: fix shortcut handling

* commit '8835aed78de8fbe6a76df5b15a6c4ebf7852e337':
fix shortcut handling
fb812e56f41c1b1f0f28773b01b60e1ec0c242a6 22-Mar-2011 Michael Kolb <kolby@google.com> fix shortcut handling

Bug: 4142120
Removed canChord flag which prevented keyboard shortcuts
from working
Also removed escape shortcut

Change-Id: I0bd5f9079a54896dd4cbcea3461013e48a3d1021
/packages/apps/Browser/src/com/android/browser/Controller.java
411700ec506e1545866cf63180efdbb54cb3355a 21-Mar-2011 Michael Kolb <kolby@google.com> Merge "unify voice search code"
736990cb9c57a346666d4424304947c21fb78ab7 20-Mar-2011 Michael Kolb <kolby@google.com> unify voice search code

Change-Id: Icf1fc84405d08da8504ac91094e67c7d8d1c901d
/packages/apps/Browser/src/com/android/browser/Controller.java
4af40c01ec0666b50557f79617ea969122c0c852 19-Mar-2011 John Reck <jreck@google.com> Fix menu crash

Caused by trying to add the same view to the same parent twice

Change-Id: Icd71b90c124d8edc2984114c1b221c5e076ac238
/packages/apps/Browser/src/com/android/browser/Controller.java
1a2eba437d354885e8f55d34e59200cd091f90b0 17-Mar-2011 Michael Kolb <kolby@google.com> add close tab shortcut

Bug: 3270434
ctrl-w to close tab

Change-Id: Ic96b25bc27dd952080681acf53ce43cfcc9faf13
/packages/apps/Browser/src/com/android/browser/Controller.java
0035fadb375ff0b549b84605eb9aea150d31677a 14-Mar-2011 Michael Kolb <kolby@google.com> more hw keyboard fixes

Bug: 3270434
added Ctrl-Tab/ Shft-Ctrl-Tab to navigate next/prev tab

Change-Id: I9c874cbe2f23c9916044a2ffd8b9e82e510f21ac
/packages/apps/Browser/src/com/android/browser/Controller.java
d43e75adea6f394730828cbf830438e2bddaed4b 14-Mar-2011 Patrick Scott <phanna@android.com> Remove pre-login on every tab.

Only attempt pre-login once unless the Browser's data is cleared. Remove
preferences for pre-login and code to detect cookies.

Bug: 3367381
Change-Id: I321a7c09be27ff6f3f570d0b9963ee2984b01c4a
/packages/apps/Browser/src/com/android/browser/Controller.java
56de1a2ba6bb82f4eaf5930fcbbf799f071526ce 14-Mar-2011 Patrick Scott <phanna@android.com> Merge "Add new auto-login UI." into honeycomb-mr1
eb95db48b01b3db935601f25bd1a2358674b76da 03-Mar-2011 Michael Kolb <kolby@google.com> add tabs to QuickControls

Bug: 4084343
The final act in a 3 act drama.
Adds tab thumbnails to QuickControls menu and
removes the tab bar.

Change-Id: Id667e8020745c3d77920858fcd9dd7f510973dd9
/packages/apps/Browser/src/com/android/browser/Controller.java
9206677e461328f15854c5fcb1366d0e261534c6 10-Mar-2011 Patrick Scott <phanna@android.com> Add new auto-login UI.

When the WebView notifies us of an auto-login request, check if the account is
valid. If so, use it to log into the account manager. If that fails or the
account is not valid, display the login UI.

Bug: 3367381
Change-Id: I5a164ef676921eec03a89860fa5be722d3d987d4
/packages/apps/Browser/src/com/android/browser/Controller.java
1acef69ffc079d1bc029ff7eb1f5043f7efd7f36 08-Mar-2011 Michael Kolb <kolby@google.com> add menu options to qc

Bug 4071315
Use the standard menu items to popuplate a menu from within quick
controls

Change-Id: I80d483ab2ce054e9b70ff4c6b0d6e0d9be783dc4
/packages/apps/Browser/src/com/android/browser/Controller.java
a9e30a7626d6f1f5abc59c883df7d323596f046c 07-Mar-2011 Vasu Nori <vnori@google.com> bug:3513950 a trivial change due to renaming of api in downloadmanager

Change-Id: I1fb18c4de069ab60723dd4a78b10fd5ec5d95e3f
/packages/apps/Browser/src/com/android/browser/Controller.java
49a603c11b00b6e68a54e070abf4eb33eaddfa84 03-Mar-2011 John Reck <jreck@google.com> Use OriginalUrl instead of Url for history

Bug: 3500263

Change-Id: I8a0b795dcac28e016e8511aa856aa3e9a45d6a13
/packages/apps/Browser/src/com/android/browser/Controller.java
02f97585a675aba7ae81554060bbf2d526b76c61 03-Mar-2011 Bjorn Bringert <bringert@android.com> Merge "Implement the psychic search engine."
5119edd5744cfc6d3a8ed480a8853586c737bed4 23-Feb-2011 Narayan Kamath <narayan@google.com> Implement the psychic search engine.

(a) Add a new subclass of SearchEngine that receives
suggestions provided by psychic and displays them in the
suggestions dropdown.
(b) Add a Labs setting that can turn this feature on or
off.

Change-Id: Icae05b6b55f489278028e5af560d9b36014a0f59
/packages/apps/Browser/src/com/android/browser/Controller.java
bc5cc75c302eb49d15258155fc6f672fcbd62842 02-Mar-2011 Kristian Monsen <kristianm@google.com> Downloads from incognito tabs need to use the correct cookie

Change-Id: Iee012fe4a32dd51b8a59763b9ceab1e7dbde5246
/packages/apps/Browser/src/com/android/browser/Controller.java
15c5087dba00b22a1a29b8e9074e3029a4a3dca1 01-Mar-2011 John Reck <jreck@google.com> Merge "Change "Save Web Archive" to "Save Page""
51d8baddb85b04bf870843399cb40f8713303671 01-Mar-2011 John Reck <jreck@google.com> Change "Save Web Archive" to "Save Page"

Bug: 3492152
If WebView fails to save the page as a web archive (which will
happen if the page is not an (X)HTML document), instead of
showing a failure toast we fall back to downloading the URL through
download manager.
Also changes the string "Save Web Archive" to "Save Page" and moves
the menu option to be after "Share page".

Change-Id: Ia4219075ae2585df865b58fa75ad24357150824f
/packages/apps/Browser/src/com/android/browser/Controller.java
fc1518a485045792db191a626a1ec43d6f18b5d9 28-Feb-2011 Patrick Scott <phanna@android.com> Fix a timer issue when backing out of an app tab.

The code was old and assumed that onPause would have an invalid tab and never
pause timers. That is no longer the case.

Bug: 3452002
Change-Id: I98cf6e368b4cf7db05975716d5c21960945d8950
/packages/apps/Browser/src/com/android/browser/Controller.java
e6bf4abbb12a83fc0256d98d9d5cb36ee326f1ce 25-Feb-2011 John Reck <jreck@google.com> Fix back long press behavior

Bug: 3486271

Change-Id: I49eb218670b4082b1fcf6daaab025ec7e0be6b8c
/packages/apps/Browser/src/com/android/browser/Controller.java
cd424e99aa19d00933e6540a95805042659f596f 24-Feb-2011 Michael Kolb <kolby@google.com> fix NPEs after delayed start

Bug: 3476031
Bug: 3480829
add check for valid tab

Change-Id: I4430ba2f369125fe263599aa5c8b3460bf6e7ffa
/packages/apps/Browser/src/com/android/browser/Controller.java
acb5d98600642b7889936a507aae49e22a0d2d08 23-Feb-2011 John Reck <jreck@google.com> Merge "Fix code style"
9dfcdb1490d7abac107e4d2b1c2fef51ccdf6b98 23-Feb-2011 John Reck <jreck@google.com> Fix code style

See: http://source.android.com/source/code-style.html#braces

Change-Id: Iba8c00ce986dd8565b23deca97293f8d47c5e407
/packages/apps/Browser/src/com/android/browser/Controller.java
38b4bf5f9cbb6adf2c5ca353e3b0c2a4ae9eeb87 22-Feb-2011 John Reck <jreck@google.com> Fix NPE in onDestroy

Bug: 3478016

Change-Id: I0bf1819ab786a8b07575856b8cfa4d20bc074e49
/packages/apps/Browser/src/com/android/browser/Controller.java
a3206e2e51c41ca62da10bdbb6aa649fce522e87 22-Feb-2011 John Reck <jreck@google.com> Merge "Revert "Remove set wallpaper context item""
3527dd1ff849ec4798eab6289593aa404dcae40b 22-Feb-2011 John Reck <jreck@google.com> Revert "Remove set wallpaper context item"

This reverts commit fa286747cae4c65080a88635287dde63ececbeff.
/packages/apps/Browser/src/com/android/browser/Controller.java
51f6a2f1dc524b31476fb71de36f2bd79f499d08 21-Feb-2011 Ben Murdoch <benm@google.com> Fix file upload handling after ActivityNotFoundException.

When we launch the file picker for uploads, if nothing can handle
the type of file then we catch the ActivityNotFoundException so
that we do not crash and launch a default picker instead. However
we still will receive a callback for the intent that failed so in
this case we must skip processing it.

Bug:3447924
Change-Id: Ic309f4ba1a6feda981fcce5231b9aed9be70eef2
/packages/apps/Browser/src/com/android/browser/Controller.java
fa286747cae4c65080a88635287dde63ececbeff 18-Feb-2011 John Reck <jreck@google.com> Remove set wallpaper context item

Bug: 3250639 & 3471061

Change-Id: I221c0fce6fee57ce19f50821c26d504a3fd7e6ef
/packages/apps/Browser/src/com/android/browser/Controller.java
7a59120d6e25f9f6ae9a5f7e0cb177a9f4775d54 17-Feb-2011 John Reck <jreck@google.com> Fix NPE in updateScreenshot

Bug: 3448395

Change-Id: I69ab59597735d26c2881fc7f3d48b0a115bb2547
/packages/apps/Browser/src/com/android/browser/Controller.java
dc2ee1bfb50b7bec0cf3215e3d298b246dc71101 14-Feb-2011 Michael Kolb <kolby@google.com> fix shortcut handling

Bugs: 3400078
3270434
3368141
3381411

Fixed controller to check for menu & ctrl keys for shortcuts
Changed focus handling in url bar
Keyboard focus transitions are not 100% working yet, but it's possible
to navigate to all the elements

Change-Id: I514d85a37dae2589e3ce1ecb18c7fc0bf4e715f3
/packages/apps/Browser/src/com/android/browser/Controller.java
617fd83615f490817db7d288d732d6cdd0b47ae5 16-Feb-2011 John Reck <jreck@google.com> Fix update screenshot when redirected

Bug: 3462227

Change-Id: I3c09bfe2b6ac15541f183b31eaa10b0dc3f3a29b
/packages/apps/Browser/src/com/android/browser/Controller.java
ba86052c20067be2bdb1692b070f4bb8537ecb02 16-Feb-2011 Cary Clark <cary@android.com> look for null web views

This edits change 96341.

bug:3447246
Change-Id: Ica15a022cdfac1b98a6ee63c6d118eb01609fccb
/packages/apps/Browser/src/com/android/browser/Controller.java
96683f7cb9e1f64de174e47e30ac09823193070e 15-Feb-2011 Michael Kolb <kolby@google.com> fix closing app tabs

Bug: 3452002
Although not reproducible, the first tab was selected, not the last one.

Change-Id: I2766150fa19bbdbc5a0fb46fa49f46a56f437666
/packages/apps/Browser/src/com/android/browser/Controller.java
6eb5077fa54d88530ce88ef5db44365f3079b615 15-Feb-2011 Leon Scroggins <scroggo@google.com> Merge "Do not allow saving a web archive of a web archive."
bdff8a72bd9894fc59ca658442e6ead37a56fa5d 11-Feb-2011 Leon Scroggins <scroggo@google.com> Only edit existing bookmark when bookmarking from the title bar.

Bug:3425178
Change-Id: I32341270440231a870dad5b007d218654760548b
/packages/apps/Browser/src/com/android/browser/Controller.java
8198376342e04934eb953317a4ba31d2dd84da9f 11-Feb-2011 Leon Scroggins <scroggo@google.com> Do not allow saving a web archive of a web archive.

Bug:3447246
Change-Id: Ie620d6567f676f3c5dca06c6fd1d869003fecd71
/packages/apps/Browser/src/com/android/browser/Controller.java
1cb9655acc95178679454a03e02ab4b74394c8f7 11-Feb-2011 Leon Scroggins <scroggo@google.com> Show a toast when the web archive is saved.

Change-Id: I539e158ddb63b1a670d9cdd5f15d09728e60a298
/packages/apps/Browser/src/com/android/browser/Controller.java
ac993841b3f810dd55a985141c574d4dfebd8c1a 02-Feb-2011 Leon Scroggins <scroggo@google.com> Integrate Save WebArchive with download manager.

Bug:2968359
Bug:2905874

Change-Id: I80f557af415b03698325397d7a10d66bb0c10827
/packages/apps/Browser/src/com/android/browser/Controller.java
34ef26756a751b99b5c021ee2b9221c582c88208 10-Feb-2011 John Reck <jreck@google.com> Always update screenshots for bookmarks

Bug: 3425221
Changes the call to updateScreenshot to take the Tab so that it
can more intelligently determine if it needs to update the screenshot.
Specifically, if it is an HTTP/HTTPS URL, we always update (for things
like most visited), and if it is a bookmark we always update (users
are free to bookmark file:// urls, for example)

Change-Id: I582284d612e77190404eb98de6ca8a0b21083ed1
/packages/apps/Browser/src/com/android/browser/Controller.java
7d50a9364107c21e3358e1dbc51a06359a5287fb 04-Feb-2011 Patrick Scott <phanna@android.com> Clear session cookies before attempting pre-login.

If ClientLogin issues session cookies, we do not want to clear them immediately
after getting them from login. If we are not going to restore tabs, go ahead
and clear the cookies before attempting pre-login. Keep track of the tab to
restore so that we don't need to figure it out again. Requires a change in
frameworks/base that exposes the CookieManager api.

If we receive a 403 from IssueTokenAuth, inval the auth tokens and try again.

Bug: 3421214
Change-Id: I5dd4cc0eba365a20a731ac43dd2571ef6274eaa9
/packages/apps/Browser/src/com/android/browser/Controller.java
11fe02d7b0a9956284fc0677b84b5fdacdd668e8 02-Feb-2011 Michael Kolb <kolby@google.com> fix menu state after fullscreen video

http://b/issue?id=3413957
before leaving browser activity, hide custom view
this also restores the menu state

Change-Id: Ie0859bc21b2821bb513eaea9ad3ea401b95dc177
/packages/apps/Browser/src/com/android/browser/Controller.java
cd135089d54a8c003f7b0a35d88b3230f0a206b5 01-Feb-2011 Patrick Scott <phanna@android.com> Re-login after a week.

Refactor GoogleAccountLogin to handle the progress dialog. Store the last login
time and login after a week to refresh cookies.

Bug: 3367395
Change-Id: I62a277610af5b642f51cc775f17806c558812d4a
/packages/apps/Browser/src/com/android/browser/Controller.java
4bfc0dbdddc7da9eba840a0632e8021bfd1004c9 28-Jan-2011 John Reck <jreck@google.com> Fix incognito start page

Bug: 3400698

Change-Id: I1f64a15fb4309c5b84f791d792ed8446d606ec09
/packages/apps/Browser/src/com/android/browser/Controller.java
8e7178ddb9620a64e10ff762c33134daeb40a1e4 27-Jan-2011 Michael Kolb <kolby@google.com> fix incognito url loading

http://b/issue?id=3349090
load "browser:incognito" explicitely when
opening new incognito tab

Change-Id: I3929605479a0869bd9361664e1ea1ee7c9476fc7
/packages/apps/Browser/src/com/android/browser/Controller.java
2d59c32ee3fc1ed92d57609998f0430ad7695317 25-Jan-2011 Michael Kolb <kolby@google.com> add tab bar animations

http://b/issue?id=3281119
added in/out animations for tabs

Change-Id: Ia8a467b93e5bc14b8b84cfe7b7e25ffbfadc7209
/packages/apps/Browser/src/com/android/browser/Controller.java
a418306e08e008da99cef929c48e05d2a101ceaf 16-Jan-2011 Michael Kolb <kolby@google.com> hardware keyboard support

http://b/issue?id=3368141
http://b/issue?id=3368100
Removed duplicate key handling
added focus transition from page to url bar
once framework bug http://b/issue?id=3381411
is fixed, focus transitions in url bar will be fixed

Change-Id: Id5011e78bf70d51a25a4e01cf31d9e6ad95ceab7
/packages/apps/Browser/src/com/android/browser/Controller.java
b3417f0a68a1efc64604ea354ae7f856ce79cb16 14-Jan-2011 John Reck <jreck@google.com> Bookmark UI update

Change-Id: Ibdf7f93f7c5863d7108044dcd40d3866ff02518a
/packages/apps/Browser/src/com/android/browser/Controller.java
2dd65c8bf13b11c99c78ec22a0fef2c58494bb9e 14-Jan-2011 Michael Kolb <kolby@google.com> fix link context menus

http://b/issue?id=3351385
http://b/issue?id=3352255

remove bookmark/share link option
change open in new tab text based on open in background setting

Change-Id: I3930d085339a7f829d8ef4f1afc879b4df743f24
/packages/apps/Browser/src/com/android/browser/Controller.java
4c537ce641be22ca0ce49a73bbbf92c36bd061fe 14-Jan-2011 Michael Kolb <kolby@google.com> fix context menu title

Change-Id: Ia7b3444d77753ed24bffd09a15176bf242a0314e
/packages/apps/Browser/src/com/android/browser/Controller.java
bd3dd948312df22888a8a90aef21e3460ba2f0b3 12-Jan-2011 Michael Kolb <kolby@google.com> Close cab before showing ComboPage

http://b/issue?id=3312056
Close action mode before showing the ComboPage

Change-Id: I5f3ac135fb4fd72bb0398f713bd12351fab072d0
/packages/apps/Browser/src/com/android/browser/Controller.java
8f199aa4f22a77b0101d986ba44a86b75723674b 12-Jan-2011 John Reck <jreck@google.com> Merge "Changes Controller to use Tab.getUrl in more places" into honeycomb
324d440ea7dc44da8beef8a6c2e6f7a33b20a41d 12-Jan-2011 John Reck <jreck@google.com> Changes Controller to use Tab.getUrl in more places

Bug: 3342456
Changes Controller to use Tab.getUrl() and then added empty
url checks in places like doUpdateVisitedHistory. Tab already takes
care of filtering URLs, so filtering out most visited URLs is thus
handled.

Change-Id: Iaf60353d7cb924991c5e0a5adf18074fcf13bfe6
/packages/apps/Browser/src/com/android/browser/Controller.java
17c4eba32d411830f67aca2077253ac42f606452 10-Jan-2011 Michael Kolb <kolby@google.com> restrict voice search to web

http://b/issue?id=3176717
Add the EXTRA_WEB_SEARCH_ONLY to the intent

Change-Id: I21e537957a16cd0e2847149a6d424417157844d1
/packages/apps/Browser/src/com/android/browser/Controller.java
160bbb9565b63302c88b032e4653f8268553175f 10-Jan-2011 Cary Clark <cary@android.com> be exact about key acceleration

Make the key acceleration detection exact;
if accelerator requires shift, allow only shift, and so on.

bug:3301564
Change-Id: I9b0ff27d5bb1d91f8aa0eae0af37a6fe4dabc54e
/packages/apps/Browser/src/com/android/browser/Controller.java
1c00d5e7b5e7377c995d14106968c59e5761d137 04-Jan-2011 Leon Scroggins <scroggo@google.com> Call the new API for showFindDialog.

Bug:3312049

Requires a change to frameworks/base.

Change-Id: Iaa950c0cc52e8d28d36c99372299bae863957e8d
/packages/apps/Browser/src/com/android/browser/Controller.java
5c6ac2f0bc02b9e91154f7c0b82a67c0a7bdd9b9 05-Jan-2011 John Reck <jreck@google.com> Adds pseudo AA to thumbnails

Bug: 3321583
This changes the thumbnail rendering to draw to a bitmap 2x as large
and then down-scale with filtering to try and reduce aliasing on the
thumbnails.

Change-Id: Ifdc5254d6c49afbbd0b50d57a90f08faf25789e2
/packages/apps/Browser/src/com/android/browser/Controller.java
e969cc59ddcc763ab9d6349a854dd17a6456d1a4 22-Dec-2010 John Reck <jreck@google.com> Moves Tab.updateBookmarkedStatus to DataController

Bug: 3277738
Changed Tab.updateBookmarkedStatusForUrl from an AsyncTask to
using the DataController. This also changes DataController from
using Handlers and Messages to using its own message queue
so that it can inspect and manipulate the queue (remove duplicate
requests, for example). It also allowed for a cleaner API for callers,
as it could then just take an interface callback instead of a
Messenger to reply to.

Change-Id: I4fd693c02d9e959b18e68fa474d2e3df94a305e0
/packages/apps/Browser/src/com/android/browser/Controller.java
8ff8c66a4b2351add40d391a9bd5ea91e840c5f6 29-Dec-2010 Cary Clark <cary@android.com> add Browser accelerator keys

Add implementations and placeholders for common accelerators,
using the Chrome keyboard mapping as a guide.

bug:3270434
Change-Id: Idf85aa4f0b61fb9b7e95d67afe9bd4fb6faaeefb
/packages/apps/Browser/src/com/android/browser/Controller.java
9d038486347b1015cc930553d42e4cd42be29f39 05-Jan-2011 John Reck <jreck@google.com> Fix NPE

Bug: 3299384
Added missing null check.

Change-Id: Ib26135c6f0d743c6cda34bb1b2df6079f7851e72
/packages/apps/Browser/src/com/android/browser/Controller.java
d73c5a2bd0cee6801dce425c31d0c3e027588bca 22-Dec-2010 John Reck <jreck@google.com> Fix and hide action bar for html5 video

Bug: 3304569

Change-Id: Ic794b4f704c5da01a93990e08ec89b5c26ffc937
/packages/apps/Browser/src/com/android/browser/Controller.java
30c714c853a4239e72ab1e238ce2a92472d06ab0 17-Dec-2010 John Reck <jreck@google.com> Overhaul handling tab data updates

Bug: 2127502, 3191165
Pushed some state tracking to the tab for URL, title, favicon,
and lock status. This allowed me to remove many duplicate methods
of updating that data, preventing the UI from getting out of sync
with the web view.

Change-Id: I995caa98068ad03ca37710207b5ab57bb9d801ab
/packages/apps/Browser/src/com/android/browser/Controller.java
a00cbbde0b77a3e1eef5691a7adb17edd5d8ab9e 16-Dec-2010 John Reck <jreck@google.com> Fix crash trying to add data: URLs to icon db

bug: 3291958
Made it so that only web urls have screenshots added to the database,
preventing us from trying to query with extremely long data: urls

Change-Id: Iabd3ebd5308d965a0ee383a6cdfbab15c91c5d91
/packages/apps/Browser/src/com/android/browser/Controller.java
958b24285bba0163bc4121a3fc0fb116aa563ed9 04-Dec-2010 John Reck <jreck@google.com> Closing last tab closes the browser

Bug: 3254181
Closing the last tab will now close the browser rather than creating a new
tab and then closing the old tab.

Change-Id: Iac458783eea4c4a893671281f2a631e0365f8697
/packages/apps/Browser/src/com/android/browser/Controller.java
043c2d63f65464e13a50e831f054a8f18414b9e6 15-Dec-2010 Cary Clark <cary@android.com> extract anchor href and image src separately

Long pressing a link may return an anchor, an image, or an
image in an anchor. Sometimes we want one, sometimes the other.

Make both available so the context menu can choose.

Companion changes are in external/webkit, frameworks/base

bug:3282745
bug:3263340
Change-Id: I382044c3ec760f086ac3f973b09af332d5d5f544
/packages/apps/Browser/src/com/android/browser/Controller.java
439c9a58765aa6aab95d55422ee61ea8360e912d 14-Dec-2010 John Reck <jreck@google.com> Spec update for Bookmark widget

Bug: 3286323
This updates both the assets for the bookmark widget and slightly
alters its behavior to match the updated spec. There are now two
touch targets in the header, one launches the browser and the other
launches the bookmarks view.

Change-Id: I1e8864983852af8421280b86421dea1d9ed4335e
/packages/apps/Browser/src/com/android/browser/Controller.java
cfa3af5c59abb38c895416a80ef16da0ec1b5287 14-Dec-2010 Michael Kolb <kolby@google.com> Enable voice search

http://b/issue?id=3039695
send voice search intent
implement voice search title bar
also fixes another Urlbar focus handling bug

Change-Id: Icdcbec9ffff586d445545cc7fe86ca045022f381
/packages/apps/Browser/src/com/android/browser/Controller.java
6670653d355fea0ae20dc51f6c693f994c4cbb54 13-Dec-2010 Michael Kolb <kolby@google.com> Split UI based on screen size

Different UI implementation for normal and xlarge screens

Change-Id: I8217ffd16e1f87b248a22426b17fa34b3a4f89df
/packages/apps/Browser/src/com/android/browser/Controller.java
74d464ce084abefe606032fd0ac41eb116d704eb 13-Dec-2010 Kristian Monsen <kristianm@google.com> Private browsing cleanup is now done in webkit

Bug 3243891

Change-Id: Ia359d1138f50514decc72860a20532a755093f4b
/packages/apps/Browser/src/com/android/browser/Controller.java
18eb377badf8e6f9ea2925bcb7e978facf3171d9 10-Dec-2010 Michael Kolb <kolby@google.com> Propagate incognito mode to child tab

Bug: http://b/issue?id=3234294
add parent tab parameter to open tab method
inherit parent's private browsing status
remove one unnecessary openTab signature

Change-Id: I4edf002798d8bbdf4cafa58e5b5b442e74d5cb28
/packages/apps/Browser/src/com/android/browser/Controller.java
0ebd3ac69a76ec76d9caab65a1947f971242994e 09-Dec-2010 John Reck <jreck@google.com> Fixes history update race condition

Bug: 3270709
Since ContentResolver does not have transaction support, I moved
history updates to a controller that can serialize updates to the
history table. This prevents the race condition.

Change-Id: Ic33bedb9d6faef2393379306f8f88778d16caf24
/packages/apps/Browser/src/com/android/browser/Controller.java
843510fb4f36a9a834c69d8773156db20ca3d740 09-Dec-2010 Michael Kolb <kolby@google.com> Warn user when max number of tabs is reached

Bug: http://b/issue?id=3123994
A toast is shown when the max number of tabs is reached

Change-Id: I5008e227c91139147920fd214f184061f816a353
/packages/apps/Browser/src/com/android/browser/Controller.java
14ee8fbf5a647152d9a106b054b206be68c11e03 09-Dec-2010 Michael Kolb <kolby@google.com> fix ComboPage and tab interaction

Bug: http://b/issue?id=3259963
Make sure the combo page is hidden correctly when the user
interacts with the tab bar

Change-Id: I776b30690dbc10a399ca31f9e1c8b9c4f677a1d2
/packages/apps/Browser/src/com/android/browser/Controller.java
3a4e8091e246e42ebd0add6342eb4eaed88012a3 08-Dec-2010 Kristian Monsen <kristianm@google.com> Not using a async task for removing session cookies

The cookie manager method are now taking care of making
this async and blocking on the webcore thread
Change-Id: I52d69b4e277aef84a59ff777302c7b223831b724
/packages/apps/Browser/src/com/android/browser/Controller.java
1961ed2f2856ca0993c8c4d15924bbb4e4ef98c0 07-Dec-2010 Leon Scroggins <scroggo@google.com> Update each Tab when the bookmarks database changes.

Bug:3222677

When the bookmarks database changes, we may have added or
removed a bookmark. For each Tab, make sure that it knows
whether or not it is a bookmark, and update the UI
accordingly.

Change-Id: Ie91008973c2841dc7367e38ad5db40bf25b1dddf
/packages/apps/Browser/src/com/android/browser/Controller.java
2cd9701de79c8e4e37971498b91ff2530bc58694 07-Dec-2010 Kristian Monsen <kristianm@google.com> Clear session cookies in a bg thread

This buys us very little, as we wait on function returning
just below. At least we are not doing disk access on the
UI thread.

Change-Id: I899a795ffbdd2ed63bf6ece70de52cfd48f65a1c
/packages/apps/Browser/src/com/android/browser/Controller.java
4cd97793901e8f5681cf642d0b2684697964a37a 03-Dec-2010 Leon Scroggins <scroggo@google.com> Show a highlighted star for bookmarked pages.

Bug:3222677

Change-Id: Ifeb6e7a922c0defb1e4a88ded0c188b97e0a4a56
/packages/apps/Browser/src/com/android/browser/Controller.java
d957a52dfb61ef3056e6225301ebbba622352d1a 06-Dec-2010 Iain Merrick <husky@google.com> flushCookieStore() shouldn't be in the public API after all.

See change Ic4433400, where I reorganised the framework so that
cookies are synced automatically by CookieSyncManager.

Change-Id: Ide0afbe60c6ca0601e7337051c6aa98522a8b0bb
/packages/apps/Browser/src/com/android/browser/Controller.java
ef0742696d31a3661414089446ff9a3ddd786639 03-Dec-2010 John Reck <jreck@google.com> Change homepage setting handling

Bug: 3247095
Tweaks the setting of the homepage setting. Replaces the "set to..."
dialog with 2 buttons, and user can now enter a blank url to get a
blank page with title "New Tab".

Change-Id: I95bcfcd241db4b9efbde645100d2fd44c980e061
/packages/apps/Browser/src/com/android/browser/Controller.java
ba99c5d1a71c384c930152f7c98e2fbe15bd1e85 29-Nov-2010 Michael Kolb <kolby@google.com> Url bar selection handling updated

Bug: 3222647
framework has been updated to change the way tap/double tap
and long press are handled
url bar uses a custom action bar to add the share option

Change-Id: Ie75fc07fe71c9e16fc7f83deda8ecddea39b0397
/packages/apps/Browser/src/com/android/browser/Controller.java
a8d691210982330e091b78cfcb30bfc0c5418eb3 30-Nov-2010 Iain Merrick <husky@google.com> Flush cookies when the browser is paused.

Cookies are currently flushed on a 30-second timer, but this isn't
sufficient because Android has a different application lifecycle
from a desktop OS -- it can kill the app when it's in the background
to save memory.

Here we flush cookies during onPause(), so the most recent user
activity should always be safely flushed to persistent memory.

Depends on CookieManager change in frameworks/base (I04e96aff).

Bug: 3231371
Change-Id: Iaa4541d4d18ab4c7bb6da372a4452f265b81d201
/packages/apps/Browser/src/com/android/browser/Controller.java
70976938146d1b13b9e183ceec41edce50c5d6af 30-Nov-2010 Michael Kolb <kolby@google.com> Fix NPE in pauseWebViewTimers

Bug: http://b/issue?id=3225410
added Tab parameter to pauseWebViewTimers
removed unnecessary activityPaused parameter
ensure tab is not null when called
removed pauseCurrentTab method in TabControl

changed resumeWebViewTimers to be consistent
removed resumeCurrentTab from TabControl

Change-Id: I1cdf6042aa4df4c832d91c5a19d7235d6dce2b5d
/packages/apps/Browser/src/com/android/browser/Controller.java
a713ec8cc9da6c0c8078cd297c6240eb8bf01bbb 30-Nov-2010 Michael Kolb <kolby@google.com> Move Tab layout code to UI

Change-Id: Ic2d81345883bba22329b4f805c44a68b14e174e3
/packages/apps/Browser/src/com/android/browser/Controller.java
9446b9351cec1ffddd211ba02d985b91853f8398 25-Nov-2010 Ben Murdoch <benm@google.com> Move access to the WebIconDatabase from the UI thread.

the retainIconsOnStartup function was accessing the
WebIconDatabase on the UI thread which is a strict mode
violation. Move that database access into an AsyncTask.

Change-Id: I4f03680d00b7678a89e41f94201ca5309891a8d9
/packages/apps/Browser/src/com/android/browser/Controller.java
83101a8cdf30c28db25dfa28530d73e2b1c0eee0 26-Nov-2010 Steve Block <steveblock@google.com> No longer need to pass storage paths to WebView.cleanupPrivateBrowsingFiles()

Requires the following changes to external/webkit and frameworks/base
https://android-git.corp.google.com/g/81781
https://android-git.corp.google.com/g/81782

Bug: 3232569
Change-Id: Ib6c661035ac39726d94b2c9f7e54cdf887a6ba0a
/packages/apps/Browser/src/com/android/browser/Controller.java
8029a777106fa6fb911ee1d58402b0de768a583a 16-Nov-2010 Ben Murdoch <benm@google.com> Invite the user to set up AutoFill

If the user has not set up an AutoFill profile but has the
feature enabled and they start to fill out a form that we
have determined as "autofillable" then offer to take them
to the profile editor to set up their profile.

Change-Id: Ia44c7036ef616d4ea826e541471dd916262488f2
/packages/apps/Browser/src/com/android/browser/Controller.java
1514bb7ed5656316a8dac966cee21653f3c59aff 22-Nov-2010 Michael Kolb <kolby@google.com> move subwindow handling to UI

added sub view creation to WebViewFactory
removed WebView from subview layout
use WebVIewFactory for creating the SubWebView
moved layout/view related code to UI

Change-Id: Id5b1905e4c36814fe7cc047cbd97128235d7e65e
/packages/apps/Browser/src/com/android/browser/Controller.java
026f254cff9d762a9f9c9d9bf74f15809d730cd2 22-Nov-2010 Leon Scroggins <scroggo@google.com> Use requestFocusNodeHref to get the link for an image.

Bug:3198707

We were attempting to use WebView.HitTestResult.getExtra()
to find the href. For normal links, this is okay. For
image links, this is the URL of the image itself. Instead,
use requestFocusNodeHref, which will get the URL of the link.

Change-Id: I759a56e461195bc2a904f4da4ef93a379d7db0b5
/packages/apps/Browser/src/com/android/browser/Controller.java
8974d281fa5c96bf50d5f5bac665cae44568f6e8 22-Nov-2010 Cary Clark <cary@android.com> add select text to context menu

Long pressing near a link may select the link even if
the intent was to select text. Add an entry to
the context menu to permit selecting text when the hit
is an non-image anchor or a synthetic link.

depends on companion change to frameworks/base

bug:3214410
Change-Id: Ib444cc95c513aa474c289e22687bf6579a7207e8
/packages/apps/Browser/src/com/android/browser/Controller.java
77df4568331d527f993f4d69168218ddf5acddda 19-Nov-2010 Michael Kolb <kolby@google.com> fix current tab has no webview bug

http://b/issue?id=3214823
setCurrentTab is called before setting the active tab in the UI
this guarantees the active tab has a webview

Change-Id: I5d56c42be5a19389d7bc2cc0c41039bb90cc8478
/packages/apps/Browser/src/com/android/browser/Controller.java
1bf231334fd4bda8dbde5b9a0345c756a213b3a2 19-Nov-2010 Michael Kolb <kolby@google.com> restore all tabs on demand

Bug: 3214151
introduced new flag to determine if all tabs should be restored
controlled by the Ui implementation

Change-Id: I3e296f87a93fae54693bca186bb06ecd6db11d02
/packages/apps/Browser/src/com/android/browser/Controller.java
63c0266b5d1fca4df859fe4fa3a9555d0783a2b6 18-Nov-2010 Leon Scroggins <scroggo@google.com> Move download requests to the background.

Bug:3189668

Do not create a DownloadHandler since the methods can all be
static.

Do not pass the length to DownloadHandler, since it is no longer
used.

Change-Id: I280160f62906d1acb263b45fde57062210005a0a
/packages/apps/Browser/src/com/android/browser/Controller.java
dbf57df890f091286f0107933b0034d39629a9a8 10-Nov-2010 John Reck <jreck@google.com> Fix context menu handling for Bookmarks and History

Bugs: 3125172 and 3102808
BrowserActivity was trying (and failing) to handle context menu
actions that came from fragments such as bookmarks and history.
This fixes it so that BrowserActivity no longer tries to handle
menus that it didn't create.

Change-Id: I09b5f36a0030f02de6ce09ac7588cb8c78394d39
/packages/apps/Browser/src/com/android/browser/Controller.java
fe49ab43d138ee52c04de77729870daf2a890c46 17-Nov-2010 John Reck <jreck@google.com> Thumbnail asset and algorithm tweak

Bug: 3203597
This update replaces the preloaded thumbnails with the desktop
versions of the sites rather than the mobile one. It also corrects
the thumbnail generation behavior to prevent stretching.

Change-Id: Ic122962496079d4ebf0111585bbcaadf47a06165
/packages/apps/Browser/src/com/android/browser/Controller.java
8233facddcc51865d612a919d450db6954aa48e3 27-Oct-2010 Michael Kolb <kolby@google.com> Controller Refactor

Bug: 3170671
First step towards a model/view/control design in Browser
introduced Controller object
started separating UI code
represent state of the app in one place only

Change-Id: Ica387d6bde2dcf1a4993c3db0cce498cf34ff60f
/packages/apps/Browser/src/com/android/browser/Controller.java