summaryrefslogtreecommitdiffstats
path: root/chrome_frame
Commit message (Collapse)AuthorAgeFilesLines
* Somewhat useful hack to have the chrome frame integration test run in server ↵robertshield@chromium.org2009-10-221-0/+25
| | | | | | | | | | mode (via a "--server" command line). This allows the test executable to just start the local server and wait which can be useful for debugging failing tests. Review URL: http://codereview.chromium.org/307042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29801 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old ap-value munging code in Chrome Frame.robertshield@chromium.org2009-10-214-170/+0
| | | | | | Review URL: http://codereview.chromium.org/303023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29696 0039d316-1c4b-4281-b951-d872f2087c98
* Give ourselves 20 seconds for Chrome startup vs 4 to help alleviate ↵slightlyoff@chromium.org2009-10-211-1/+4
| | | | | | | | | | | intermittent "blank page" GCF bugs. BUG=23414 TEST=None Review URL: http://codereview.chromium.org/293035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29590 0039d316-1c4b-4281-b951-d872f2087c98
* For Steven Truong (stevet@)mad@chromium.org2009-10-204-187/+215
| | | | | | | | Reviewed in: http://codereview.chromium.org/276068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29543 0039d316-1c4b-4281-b951-d872f2087c98
* Removing hard-coded Chrome Frame output path.robertshield@chromium.org2009-10-201-2/+2
| | | | | | | | | BUG=Builders who generate build artifacts elsewhere than in the source tree break when building setup.exe with CHROME_FRAME_BUILD defined. TEST=Said builders don't break. Review URL: http://codereview.chromium.org/306005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29520 0039d316-1c4b-4281-b951-d872f2087c98
* Assigning INFINITE (which is 0xFFFFFFFF) to an int, is not a very good idea...mad@chromium.org2009-10-191-4/+8
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/285012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29478 0039d316-1c4b-4281-b951-d872f2087c98
* Correcting name of data file used for CF protocol test.robertshield@chromium.org2009-10-191-1/+1
| | | | | | | | BUG=ChromeFrameTestWithWebServer, FullTabModeIE_CFProtocol was failing. TEST=ChromeFrameTestWithWebServer, FullTabModeIE_CFProtocol doesn't fail. Review URL: http://codereview.chromium.org/303005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29445 0039d316-1c4b-4281-b951-d872f2087c98
* If we fail to launch a browser during an integration test, fail the test ↵robertshield@chromium.org2009-10-191-1/+1
| | | | | | | | | | | immediately instead of waiting for stuff to timeout. BUG=CF integration tests that fail to launch a browser take a while to timeout instead of failing quickly. TEST-Run the integration tests on a system without Firefox installed. Review URL: http://codereview.chromium.org/303003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29439 0039d316-1c4b-4281-b951-d872f2087c98
* When Chrome hands off a URL to be opened by the external host by the ↵ananta@chromium.org2009-10-1913-24/+160
| | | | | | | | | | | | | | | | | | | | | | | ViewHostMsg_OpenURL IPC, it needs to pass the referrer as well. The Chrome fixes in this CL are mostly related to passing the HTTP referer off to the browser and from there to the ExternalTabContainer to ChromeFrame and back. The ChromeFrame changes are basically around the same lines with one exception. When we handle the AutomationMsg_OpenURL IPC in the activex and the active document we pass the referer if applicable to the WebBrowser2::Navigate2 interface, which is then read by the BHO in BeforeNavigate2. We then save away an AddRef'ed BHO pointer in TLS which is then referenced by the Active document for reading the referer and passing it off to Chrome in the NavigateInExternalTab message. Added a unit test in ChromeFrame which tests this case. This fixes http://code.google.com/p/chromium/issues/detail?id=22994 Bug=22994 Review URL: http://codereview.chromium.org/274071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29420 0039d316-1c4b-4281-b951-d872f2087c98
* Simplification, generalization (and perhaps additional mystification) of ↵stoyan@google.com2009-10-192-460/+495
| | | | | | | | | | | | | gmock helpers. Leak fixed - when gmock call is not satisfied, the callback that was set was leaked. Suggestion for better names here and there are very welcome (though MF seems nice to me). TEST=mocked tests runs Review URL: http://codereview.chromium.org/285007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29402 0039d316-1c4b-4281-b951-d872f2087c98
* Adding files containing archive paths for Chrome Frame.robertshield@chromium.org2009-10-193-0/+8
| | | | | | Review URL: http://codereview.chromium.org/288006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29385 0039d316-1c4b-4281-b951-d872f2087c98
* Add the chromeframe tag to the user agent header at runtime instead of ↵tommi@chromium.org2009-10-1714-817/+1500
| | | | | | | | statically in the registry.TEST=Try disabling GCF and see if the chromeframe tag in the user agent is still set. It should not be. Also make sure you don't have an older version installed... the chromeframe tag should not be in the registry - if it is, you've got an older version still registered. This should fix the issue with going to wave.google.com after disabling chrome frame and seeing the white page of death.R=amitBUG=22760 Review URL: http://codereview.chromium.org/259025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29370 0039d316-1c4b-4281-b951-d872f2087c98
* Pick up version number from resources for crash dumps.stoyan@google.com2009-10-162-7/+22
| | | | | | | | TEST=dumps uploaded to crashserver has correct version info. BUG=24900 Review URL: http://codereview.chromium.org/283019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29344 0039d316-1c4b-4281-b951-d872f2087c98
* ChromeFrame perf tests should use the reference builds checked in under ↵ananta@chromium.org2009-10-161-2/+2
| | | | | | | | | | | | | | | chrome\tools\test\reference_builds. This CL updates the chrome frame tests to register the chrome frame dll from the correct path and deletes the reference build used by ChromeFrame. Fixes http://code.google.com/p/chromium/issues/detail?id=23382 Bug=23382 Review URL: http://codereview.chromium.org/284016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29342 0039d316-1c4b-4281-b951-d872f2087c98
* Committing for Steven who got LGTM from here:mad@chromium.org2009-10-1513-358/+455
| | | | | | | | | | http://codereview.chromium.org/264068 BUG=none TEST=none Review URL: http://codereview.chromium.org/276050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29196 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing a tiny bit of silliness in chrome_frame_automation.cc.robertshield@chromium.org2009-10-151-2/+1
| | | | | | Review URL: http://codereview.chromium.org/271097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29114 0039d316-1c4b-4281-b951-d872f2087c98
* Re-try r29078: Remove some deprecated file_util wstring functions.estade@chromium.org2009-10-156-20/+26
| | | | | | | | | | | | | With the previous patch, the try bots failed with mysterious messages, so I ignored them, patched it into my windows box and tested it there manually, and found no problems. As it turns out, the try failures were real :(. But nsylvain and I found the problem: the behavior of file_util::GetDirectoryFromPath() differs from DirName() when the path is empty (officially, GetDirectoryFromPath is not supposed to support non-absolute paths, but that is not enforced). Here is a green win try result: http://build.chromium.org/buildbot/try-server/builders/win/builds/3705 mac: http://build.chromium.org/buildbot/try-server/builders/mac/builds/3491 linux: http://build.chromium.org/buildbot/try-server/builders/linux/builds/3466 I also applied this patch locally in Windows to test that it doesn't break the chrome frame compile or tests, since that's not covered by the trybots yet. Review URL: http://codereview.chromium.org/271099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29094 0039d316-1c4b-4281-b951-d872f2087c98
* Revert wstring patch (r29078 and follow up commits). It is causing failures ↵estade@chromium.org2009-10-155-23/+19
| | | | | | | | | | on the buildbots. TBR=nsylvain Review URL: http://codereview.chromium.org/280004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29085 0039d316-1c4b-4281-b951-d872f2087c98
* Try to fix chrome frame build again.estade@chromium.org2009-10-152-8/+11
| | | | | | | | TBR=nsylvain Review URL: http://codereview.chromium.org/276040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29083 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chrome frame build, take 3.estade@chromium.org2009-10-151-0/+2
| | | | | | | | TBR=nsylvain Review URL: http://codereview.chromium.org/280003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29082 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome frame compile fix, take 2.estade@chromium.org2009-10-152-49/+49
| | | | | | | | tbr=nsylvain Review URL: http://codereview.chromium.org/274063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29081 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chrome frame build.estade@chromium.org2009-10-151-5/+4
| | | | | | | | TBR=xji Review URL: http://codereview.chromium.org/273064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29079 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the base_gfx project since it no longer has an external dependencies.brettw@chromium.org2009-10-141-1/+1
| | | | | | | | | | Replace it with base_i18n which encapsulates all ICU dependencies. BUG=none TEST=none Review URL: http://codereview.chromium.org/267048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29036 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ChromeFrame build caused by ↵stoyan@google.com2009-10-131-2/+2
| | | | | | | | | http://src.chromium.org/viewvc/chrome?view=rev&revision=28779 TBR=amit Review URL: http://codereview.chromium.org/274021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28840 0039d316-1c4b-4281-b951-d872f2087c98
* Re-adding vim/emacs stuff to Chrome Frame's rename_me_to_supplement.gypi. ↵robertshield@chromium.org2009-10-131-0/+5
| | | | | | | | This was apparently needed. Review URL: http://codereview.chromium.org/262030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28828 0039d316-1c4b-4281-b951-d872f2087c98
* This CL is for the needs of ChromeFrame.stoyan@google.com2009-10-134-0/+18
| | | | | | | | | | | | TabContentsDelegate implementation may override navigations caused by JsvaScript history object. Yet not perfect since webkit view of navigation stack differs from the view of external-non-Chrome-host-browser. We have to provide the full stack from host-browser (+visited links alongside) in the same way as Chrome-browser provides it to renderer. BUG=24004 Review URL: http://codereview.chromium.org/261046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28818 0039d316-1c4b-4281-b951-d872f2087c98
* MOve user agent regisration to HKLMstoyan@google.com2009-10-131-1/+1
| | | | | | | BUG=23549 Review URL: http://codereview.chromium.org/268039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28817 0039d316-1c4b-4281-b951-d872f2087c98
* More build a-fixin for GCF related to base/test move.slightlyoff@chromium.org2009-10-131-2/+2
| | | | | | | | | | BUG=None TEST=None TBR=joshia@chromium.org,ananta@chromium.org Review URL: http://codereview.chromium.org/270079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28791 0039d316-1c4b-4281-b951-d872f2087c98
* Use ASCII strings for switch names.evan@chromium.org2009-10-131-2/+2
| | | | | | Review URL: http://codereview.chromium.org/270062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28779 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chrome frame build.ananta@chromium.org2009-10-122-732/+732
| | | | | | | | TBR=stoyan Review URL: http://codereview.chromium.org/266052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28723 0039d316-1c4b-4281-b951-d872f2087c98
* Add kNoErrorDialogs to the list of allowed switches to prevent the chrome ↵ananta@chromium.org2009-10-121-0/+1
| | | | | | | | | | launcher from DCHECK'ing in debug builds. Review URL: http://codereview.chromium.org/267054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28715 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash in IEExec of SBCMDID_MIXEDZONE for setting URL zoneamit@chromium.org2009-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | IEExec(&CGID_Explorer, SBCMDID_MIXEDZONE, 0, NULL, NULL) in ChromeActiveDocument::ActiveXDocActivate caused IEFrame to send an invalid SB_SETTIPTEXTW to comctrl32 resulting in a crash. Long story short, this happens due to IEFrame calling back exec on us (for cmdid 41) and us returning S_FALSE. IEFrame treats that as a success (can't really blame it here :) and gets its internal logic mixed up. The fix is to always return OLECMDERR_E_NOTSUPPORTED from our Exec handler if we don't support that command. BUG=24115 TEST=none Review URL: http://codereview.chromium.org/265055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28604 0039d316-1c4b-4281-b951-d872f2087c98
* Fix an include.brettw@chromium.org2009-10-091-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28585 0039d316-1c4b-4281-b951-d872f2087c98
* Move more ICU-dependent stuff from base into base/i18n. Some test stuff alsobrettw@chromium.org2009-10-091-1/+1
| | | | | | | | | | | | depended on this, so to make the DEPS work out, I made a new base/test directory where I moved the testing-related files into a new directory base/test. TEST=none BUG=none Review URL: http://codereview.chromium.org/266038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28569 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the reference to Google Chrome branding from the supplement.gypi ↵robertshield@chromium.org2009-10-081-30/+24
| | | | | | | | | | | | | | placeholder. Convert line endings. Remove vim cruft. BUG=NONE TEST=Can build Chrome Frame by renaming this file entirely from the external repository. Review URL: http://codereview.chromium.org/270027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28449 0039d316-1c4b-4281-b951-d872f2087c98
* Turn off Chrome error dialogs when it is launched by Chrome Frame.robertshield@chromium.org2009-10-071-0/+4
| | | | | | Review URL: http://codereview.chromium.org/260018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28264 0039d316-1c4b-4281-b951-d872f2087c98
* Register ActiveDocument in "Secure Mime Handlers" key in HKLM!stoyan@google.com2009-10-062-18/+188
| | | | | | | BUG=23549 Review URL: http://codereview.chromium.org/260015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28184 0039d316-1c4b-4281-b951-d872f2087c98
* Add comments setting emacs and vim tab width and expansion variables.sgk@google.com2009-10-063-2/+18
| | | | | | | | BUG=none TEST=successful builds Review URL: http://codereview.chromium.org/256059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28089 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for specifying the BrowserFlags DWORD value when we register ↵ananta@chromium.org2009-10-069-210/+295
| | | | | | | | | | | | | | | | | | | | | | the ChromeFrame Active Document server. This allows the document server to receive a number of menu events like Find, View->Text Size, etc. Thanks to Stoyan for helping me debug this :) Clicking on Edit->Find in the menu in IE with this causes IEFrame to call our Active document's Exec implementation with the IDM_FIND command. The handling here is to invoke our default Find handling. Added support for honoring user text size selections. The next thing to be done is to honor the current text size setting while launching Chrome. I also fixed the rgs files to have LF as the terminating character. This fixes Bug http://code.google.com/p/chromium/issues/detail?id=23667 Bug=23667 Review URL: http://codereview.chromium.org/243082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28085 0039d316-1c4b-4281-b951-d872f2087c98
* Pass the renderer a11y flag to Chrome Frame-created renderers.slightlyoff@chromium.org2009-10-062-1/+4
| | | | | | | | | BUG=23669 TEST=watch event32 a11y event log on pages which render in GCF. Review URL: http://codereview.chromium.org/255062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28081 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes svn:eol-style property on chrome_launcher.ccslightlyoff@chromium.org2009-10-061-125/+125
| | | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/258029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28073 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a compile error due to an call to an incorrect function to get the length.ananta@chromium.org2009-10-051-6/+6
| | | | | | | | TBR=tommi Review URL: http://codereview.chromium.org/246094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28052 0039d316-1c4b-4281-b951-d872f2087c98
* Allow building chrome_frame on a system without python in path.joi@chromium.org2009-10-041-1/+12
| | | | | | | | | BUG=none TEST=build on a Windows machine without python.exe in path Review URL: http://codereview.chromium.org/242058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27968 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes the following issueananta@chromium.org2009-10-024-34/+47
| | | | | | | | | | | | | | | | | | | | | | | | Ensures Alt and Alt + character keys work correctly in ChromeFrame. There were two issues here:- a. Chrome would not forward unhandled Keyup messages. For the curious this carries WM_SYSKEYUP which is needed for Alt key to work. b. WM_SYSCHAR is not handled by the TranslateAccelerator function in IOleControlSite and IBrowserService2::v_MayTranslateAccelerator MSHTML does the same thing and also dispatches the message. We need to understand this better. For now we just post the message back to our parent which works. This fixes http://code.google.com/p/chromium/issues/detail?id=22996 Bug=22996 Review URL: http://codereview.chromium.org/257019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27803 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing CRLF -> LF for the test directory.tommi@chromium.org2009-10-012-540/+540
| | | | | | | | | | | | | Future patches should not break on trybots due to bad merges. note - this patch will break on mac and linux trybots due to the patch problems - but future patches in these files should not have that problem. TBR=slightlyoff TEST=none BUG=none Review URL: http://codereview.chromium.org/255041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27750 0039d316-1c4b-4281-b951-d872f2087c98
* Adding the LF tag so that patches will work on the trybots.tommi@chromium.org2009-10-012-401/+401
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27743 0039d316-1c4b-4281-b951-d872f2087c98
* Committing patch 256001 for Roger:http://codereview.chromium.org/256001Allow ↵tommi@chromium.org2009-10-0111-25/+64
| | | | | | | | Chrome Frame to display chrome-extension URLs when running in privilegedmode.BUG=noneTEST=see unit tests Review URL: http://codereview.chromium.org/246050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27724 0039d316-1c4b-4281-b951-d872f2087c98
* CRLF->LF to avoid future patch failures on the try bots.tommi@chromium.org2009-09-301-105/+105
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27651 0039d316-1c4b-4281-b951-d872f2087c98
* CRLF->LFtommi@chromium.org2009-09-301-11/+11
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27650 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the now-deleted bmp from the gyp file.tommi@chromium.org2009-09-301-1/+0
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/244048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27639 0039d316-1c4b-4281-b951-d872f2087c98