summaryrefslogtreecommitdiffstats
path: root/chrome_frame/np_browser_functions.cc
Commit message (Collapse)AuthorAgeFilesLines
* Correction of union that was assuming big-endian behaviour when writing ↵twiz@google.com2010-09-281-5/+13
| | | | | | | | | | | | | integers to memory. Since Chrome-Frame runs on Intelx86 architecture, this assumption was incorrect. To prevent future endian problems, I changed the routine to explicitly extract the minor and major version. This versioning error was prevent access to the NPVERS_HAS_URL_AND_AUTH_INFO set of APIS, as the returned version was always zero. BUG=none TEST=none Review URL: http://codereview.chromium.org/3396028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60800 0039d316-1c4b-4281-b951-d872f2087c98
* The NPAPI ChromeFrame plugin is unable to set cookies in Firefox as it does ↵ananta@chromium.org2010-07-291-1/+1
| | | | | | | | | | | | | | | | not provide access to the nsIServiceManager interface via NPN_GetValue for NPNVserviceManager. Fix is to use the NS_GetServiceManager first and if that fails then fallback to using the old method. Fixes bug http://code.google.com/p/chromium/issues/detail?id=50681 Bug=50681 Review URL: http://codereview.chromium.org/2884050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54221 0039d316-1c4b-4281-b951-d872f2087c98
* Fix types that reached into WebCore and busted deps roll.slightlyoff@chromium.org2010-05-011-3/+3
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/1727021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46175 0039d316-1c4b-4281-b951-d872f2087c98
* In order for CF to support FF3.6, the code that checks for privilege mode ↵rogerta@chromium.org2010-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | needs to be updated since it currently depends on APIs that have been deprecated. The new method for determining if CF is running in privilege mode is to verify that the URL of the page that instantiates CF is a "chrome:" URL. An advantage to this change is the code should now work in all version of Firefox. Previously, the code was different for each of versions 3.0, 3.5, and now 3.6. Note that the API change to npapi::GetStringIdentifiers() was necessary to get around a problem where xpcom defines the same typedefs as chrome base, but with different types. If there is a better solution, please let me know. TEST=see existing unit tests BUG=none Review URL: http://codereview.chromium.org/1535002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43311 0039d316-1c4b-4281-b951-d872f2087c98
* Initial import of the Chrome Frame codebase. Integration in chrome.gyp ↵slightlyoff@chromium.org2009-09-241-0/+512
coming in a separate CL. BUG=None TEST=None Review URL: http://codereview.chromium.org/218019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27042 0039d316-1c4b-4281-b951-d872f2087c98