Commit Graph

18 Commits

Author SHA1 Message Date
Matt Brubeck
ec83d38839 Bug 575830 - Image zoom is reset when switching tabs [r=gavin] 2012-01-18 16:01:19 -08:00
arno renevier
72d929e113 bug 679784: let nsIContentPrefService handle private browsing mode; r=ehsan
Manage private browsing mode in content pref service. CPS should be available
in private browsing mode, but should not store informations on disk, and should
clear all informations once the private session ends.

When setting a pref in private mode, it is stored in an in-memory hash table.
When getting a pref, it is retrieved from that hash table if available.
Otherwise, it is retrieved using the standard mechanism. When removing a pref,
it is retrieved from the hash table. The rationale is that in private mode,
it's ok to read a pref from normal database, but not ok to set it.

The in-memory hash table is cleared when leaving the private browsing mode.

When removing a set of preferences (with removeGroupedPrefs or
removePrefsByName), preferences are removed from the in-memory hashtable, *and*
from normal mode database. The rationale is that visiting a website may trigger
setting/getting/removing for a specific preference only. But removing many
prefs at once is the result of an action not associated with a website. For
example, user may wish to delete all its informations. In that case, user
probably expects to not have those informations restored once it leaves private
browsing mode.
2011-09-01 14:13:03 -04:00
Gavin Sharp
5c6a257361 Bug 675037: fullzoom callback needs to handle null currentURI, r=dolske 2011-07-28 14:18:53 -07:00
Felipe Gomes
a948862a2e Bug 559992. Implement a caching mechanism for the contentprefs service and use it to retrieve page-specific zoom values, avoiding zoom flicker with back/forward navigation. r=gavin sr=vlad a=blocking-betaN 2010-12-28 12:45:04 -08:00
Felipe Gomes
06d6420f9c Back out 435b65622b7b due to orange. a=backout 2010-12-28 12:09:37 -08:00
Felipe Gomes
dc95908515 Bug 559992. Implement a caching mechanism for the contentprefs service and use it to retrieve page-specific zoom values, avoiding zoom flicker with back/forward navigation. r=gavin sr=vlad a=blocking-betaN 2010-12-28 11:05:08 -08:00
Felipe Gomes
5de8c7aeb3 Bug 559991. Zoom flicker when switching quickly between tabs. r=gavin.sharp a=blocking-betaN 2010-09-02 18:50:32 -03:00
Dão Gottwald
7017c62c43 Bug 580914 - use Services.contentPrefs, Services.obs and XPCOMUtils.generateQI in browser-fullZoom.js. r=gavin 2010-07-24 10:57:04 +02:00
Phil Ringnalda
3429925740 Remove trailing whitespace to trigger builds in a CLOSED TREE 2010-05-10 21:28:19 -07:00
Jeff Walden
4b9b1d8e68 Bug 560018 - Actually remove support for { get property funname() { } }, confounded merging madness... r=luke
--HG--
extra : rebase_source : b3c47f5fdd0fcb52f68876e9a4fab16143c16901
2010-04-17 03:19:33 -07:00
Ryan Flint
3a59f58bac Bug 555224 - Page is repainted to default zoom level after opening a link in a background tab. r=dtownsend 2010-03-30 21:24:05 -04:00
Ryan Flint
c3f67a8fcc Bug 541779 - Make site-specific zoom check asynchronous. r=myk 2010-03-25 06:52:21 -04:00
Dão Gottwald
31b8df3d9e Bug 550682 - avoid extra getService calls in browser-places.js and browser-fullZoom.js. r=gavin 2010-03-09 08:49:46 +01:00
Olli Pettay
ecf6194456 Bug 544018 - print preview doesn't work in view source , r=dao 2010-02-09 18:24:49 +02:00
Dão Gottwald
e67e348580 add missing spaces; 'switch' is not a function 2010-02-06 11:40:06 +01:00
Dão Gottwald
025717ed29 fix nit for bug 513912 2009-09-13 13:45:03 +02:00
Olli Pettay
f49f941495 Bug 513912, Fix image document zoom handling in FF, r=dao, sr=jst
--HG--
extra : rebase_source : b562f90b4c326a5e40aa31e5bbbd363dd2047c8a
2009-09-09 23:04:05 +03:00
Dão Gottwald
f2458e3787 Bug 504065 - Move browser.js includes to the top and rename browser-textZoom.js to browser-fullZoom.js. r=gavin
--HG--
rename : browser/base/content/browser-textZoom.js => browser/base/content/browser-fullZoom.js
2009-09-01 10:26:26 +02:00