Commit Graph
1087 Commits
Author SHA1 Message Date
Jim Chen a61dbca324 Bug 1219016 - Store application context in GeckoAppShell; r=snorp
This patch adds separate setter and getter for the application context
in GeckoAppShell. The existing getContext method is misused for both
application and activity context, so new methods are added to improve
consistency.
2015-11-11 21:28:59 -05:00
Jim Chen a82a373a2c Bug 1219016 - Don't use GeckoThread state to detect GeckoApp relaunching; r=snorp
Right now we use the GeckoThread state to detect whether GeckoApp is
first launching or is being restored after being destroyed. However,
because of headless mode, GeckoThread could already be running on
GeckoApp's first launch, so we need a separate way to detect
relaunching.
2015-11-11 21:28:59 -05:00
Wes Kocher 85ec8094c7 Backed out 6 changesets (bug 1107636) for robocheck2 bustage
Backed out changeset 6e940538a171 (bug 1107636)
Backed out changeset 9145f78bb39c (bug 1107636)
Backed out changeset c575729788a7 (bug 1107636)
Backed out changeset 2b6f2bcfe767 (bug 1107636)
Backed out changeset 014b8c296cec (bug 1107636)
Backed out changeset 446d2b181d40 (bug 1107636)
2015-11-11 17:26:04 -08:00
Michael Comella c833e1681d Bug 1107636 - Change gecko_layout to FrameLayout. r=sebastian
Changes on first three measure passes (CPU time):
  1) 13.149ms -> 11.934ms
  2) .827ms -> .582ms
  3) 11.602 -> 12.199ms
2015-11-06 16:17:48 -08:00
Michael Comella 49905232da Bug 1107636 - Replace top-level RelativeLayout with <merge>. r=sebastian
Using systrace, I took 2 traces before and after. Using the slowest
of both traces, the first three measure passes had the following
improvements in CPU time:
  1) 20.583ms -> 13.149ms
  2) 1.695ms -> 0.827ms (1/2)
  3) 22.146ms -> 11.602ms (1/2)

This is to be expected – RelativeLayout requires two measure passes
so it makes sense to approximately half the measure times.
2015-11-06 15:23:47 -08:00
Wes Kocher bc3f42ef05 Backed out 3 changesets (bug 1107636) for android mochitest bustage CLOSED TREE
Backed out changeset ced71b78683d (bug 1107636)
Backed out changeset a1efec5e79de (bug 1107636)
Backed out changeset 6a8430385299 (bug 1107636)
2015-11-09 11:28:13 -08:00
Michael Comella e4c449d971 Bug 1107636 - Change gecko_layout to FrameLayout. r=sebastian
Changes on first three measure passes (CPU time):
  1) 13.149ms -> 11.934ms
  2) .827ms -> .582ms
  3) 11.602 -> 12.199ms
2015-11-06 16:17:48 -08:00
Michael Comella 37a1943a6d Bug 1107636 - Replace top-level RelativeLayout with <merge>. r=sebastian
Using systrace, I took 2 traces before and after. Using the slowest
of both traces, the first three measure passes had the following
improvements in CPU time:
  1) 20.583ms -> 13.149ms
  2) 1.695ms -> 0.827ms (1/2)
  3) 22.146ms -> 11.602ms (1/2)

This is to be expected – RelativeLayout requires two measure passes
so it makes sense to approximately half the measure times.
2015-11-06 15:23:47 -08:00
Sebastian Kaspari 1b19cf260b Bug 1119915 - Show toast if APK API range does not match device. r=rnewman 2015-11-03 14:09:41 +00:00
Mark Finkle d8ff52293b Bug 1219895 - Cleanup the 'share.1' telemetry probes by adding extra context r=margaret 2015-10-29 18:44:44 -04:00
Nick Alexander 796fd86763 Bug 1214366 - Part 3: Use getLastVisited equivalent in PushService.jsm. r=kitcambridge,rnewman 2015-10-23 10:07:05 -07:00
Sebastian Kaspari 2a9ca6a43d Bug 1217416 - Override Snackbar.Message style in base theme. r=margaret 2015-10-22 20:31:16 +02:00
Sebastian Kaspari 0b39005707 Bug 1218336 - Remove obsolete code after removing toolbar drag behavior. r=margaret 2015-10-26 11:07:23 +01:00
Wes Kocher f119c59c58 Backed out changeset a6eb8032ebf6 (bug 1217416) for b2gdroid build bustage 2015-10-23 14:25:49 -07:00
Sebastian Kaspari 93043178f9 Bug 1217416 - Override Snackbar.Message style in base theme. r=margaret 2015-10-23 21:16:37 +02:00
Sebastian Kaspari 7941d338d8 Bug 1215026 - Create API for Snackbars. r=mfinkle 2015-10-22 14:15:42 +02:00
Sebastian Kaspari 2cbdc32143 Bug 1217109 - Remove OuterLayout and drag handling. r=margaret
After switching to a full screen tabs tray there's no chrome to drag anymore.
2015-10-23 13:44:37 +02:00
Michael Comella ffd012de5e Bug 1173147 - Show prompt for GeckoAppShell.openUriExternal. r=sebastian 2015-09-18 17:21:07 -07:00
Wes Kocher 89932923b7 Backed out 5 changesets (bug 1173147) because bug 1201206 got backed out CLOSED TREE
Backed out changeset e0db94364c19 (bug 1173147)
Backed out changeset afd881fc08a2 (bug 1173147)
Backed out changeset 5a4df2457628 (bug 1173147)
Backed out changeset a43a907c02fe (bug 1173147)
Backed out changeset 494ff0d7f3bb (bug 1173147)
2015-10-08 12:37:17 -07:00
Michael Comella 035079e036 Bug 1173147 - Show prompt for GeckoAppShell.openUriExternal. r=sebastian 2015-09-18 17:21:07 -07:00
Mark Capella f2c065c3fb Bug 1130646 - Find non-hacky way to make back button dismiss reader mode popup, r=bnicholson 2015-10-07 19:55:33 -04:00
Martyn Haigh c6c3f66a0c Bug 1206055 - No feedback notification is displayed after tapping a link with &quot;Open multiple links&quot; pref enabled on Gingerbread; r=mcomella 2015-09-25 17:26:53 +01:00
Wes Kocher 2ca4645578 Backed out 5 changesets (bug 1173147) for depending on bug 1201206 which is being backed out for bustage
Backed out changeset b216784e5774 (bug 1173147)
Backed out changeset 25c51acbaffa (bug 1173147)
Backed out changeset 97f244a13ff0 (bug 1173147)
Backed out changeset efaebc9afa78 (bug 1173147)
Backed out changeset 2aea208159a0 (bug 1173147)
2015-10-02 09:17:18 -07:00
Michael Comella 823588a37c Bug 1173147 - Show prompt for GeckoAppShell.openUriExternal. r=sebastian 2015-09-18 17:21:07 -07:00
Jim Chen 29d7e30fb8 Bug 1197957 - Let GeckoView open the nsWindow instead of CLH; r=snorp
Currently, BrowserCLH opens a single new window on startup. Now that
GeckoView is able to open windows through GeckoView.Window, we should
make GeckoView open its own window, which we can do earlier in startup,
and will make it possible to support multiple GeckoView's down the road.
2015-09-21 10:13:32 -04:00
Martyn Haigh 22349a42c7 Bug 1195721 - Set a home page; r=mfinkle 2015-09-14 14:21:14 +01:00
Mark Finkle 69b1e0fc9c Bug 1198009 - Add support to BrowserHealthRecorder for managing active experiment list into ProfileInformationCache r=rnewman 2015-09-12 19:26:45 -04:00
Jim Chen a7ca9c8efb Bug 1195496 - Move speculative connection from CLH to GeckoApp; r=snorp
Moving speculative connection from CLH to GeckoApp allows us to start
the speculative connection very early in the startup process rather
than later in startup.
2015-08-19 18:14:47 -04:00
Sebastian Kaspari ad847c3e3b Bug 1189347 - RestrictedProfileConfiguration: Cache restrictions to avoid unnecessary disk reads. r=ally,rnewman 2015-08-21 12:14:12 +02:00
Pawel Golinski cbe76a14b5 Bug 1171929 - When sharing selected text, also include the current page URL, r=margaret 2015-08-13 18:31:53 -04:00
Martyn Haigh 4e4057079f Bug 1194199 - Enable Tab Queue on Aurora; r=sebastian 2015-08-13 14:31:10 +01:00
Jim Chen cea34e4151 Bug 1191083 - Rename and expand GeckoThread.LaunchState; r=snorp
GeckoThread.LaunchState now covers the entire GeckoThread lifetime and
not just launch, so it's renamed to GeckoThread.State. More utility
methods are added to check for the current state.
2015-08-13 00:53:38 -04:00
Sebastian Kaspari c713c67928 Bug 1184190 - Send RESTRICTED startup action when restricted profile is used. r=mfinkle 2015-08-09 19:58:43 +02:00
Chenxia Liu ed50c7f412 Backed out 2d12d2f2f450 (bug 1138560) for duplication. r=dupe DONTBUILD 2015-08-03 18:30:52 -07:00
Mark Finkle c9db446049 Bug 1183724 - Add more complete telemetry coverage of GeckoApp startup actions r=margaret 2015-07-16 17:41:47 -04:00
Alexander Ploner 2ff789ac5c Bug 1138560 - Add telemetry for web pages launched from home screen shortcuts. r=liuche 2015-07-13 18:47:45 +02:00
J. Ryan Stinnett 7b08ff9ae6 Bug 1180996 - Remote debugging via WiFi for Android. r=margaret 2015-07-09 10:36:29 -05:00
Geoff Brown 1c6df04bbd Bug 1085591: Move most initialization off of onWindowFocusChanged; r=mhaigh 2015-07-02 15:24:29 -06:00
Eugen Sawin 2a77fc5f6c Bug 1170886 - Suppress WakeLock linter warning for non-function-local locks. r=mcomella 2015-06-29 14:28:11 +02:00
vivek 8327c2c344 Bug 822979 - Bookmark popup notification improvements. r=margaret 2015-05-07 15:07:00 +02:00
Wes Kocher 16029d02b5 Merge fx-team to m-c a=merge 2015-05-14 15:34:39 -07:00
Martyn Haigh e9dd03bcb4 Bug 1159752 - Visible and selected tab incorrect when tab queue loaded and Fx isn't loaded (r=mcomella) 2015-05-14 14:04:04 +01:00
Michael Comella 7c0556848e Bug 1162423 - Handle Browser.EXTRA_CREATE_NEW_TAB. r=margaret
I simplified the code by passing an Intent into the loadUrl functions rather
than two arguments.
2015-05-11 11:11:18 -07:00
Michael Comella d632ee27c0 Bug 840574 - Add applicationId to tabs; use it to open new urls in the correct tabs. r=margaret
Note that I'm not actually sure where delayLoad and selected are used by
Gecko and thus the side effects of changing them (but I did set the flags
as I'd expect for them to work).
2015-05-01 15:04:07 -07:00
Jim Chen 03f32740e6 Bug 1158309 - Initialize LayerView sooner; r=snorp 2015-04-30 13:01:01 -04:00
Jim Chen 13c9dceb1e Bug 1150693 - Initialize GeckoThread before registering GeckoApp events before launching Gecko; r=snorp 2015-04-22 11:30:13 -04:00
Jim Chen 22624920de Bug 1150693 - Register Gecko:Ready earlier in GeckoApp; r=snorp 2015-04-22 11:30:13 -04:00
Jim Chen dcb23a62f6 Bug 1152308 - Remove obsolete methods for exiting; r=snorp 2015-04-17 12:22:47 -04:00
Jim Chen d3b4ff35a7 Bug 1152308 - Quit or restart after GeckoApp activity is destroyed; r=snorp 2015-04-17 12:22:47 -04:00
Jim Chen ca630fc55f Bug 1072529 - Only create GeckoEditable once; r=esawin 2015-04-15 15:21:32 -04:00