summaryrefslogtreecommitdiffstats
path: root/webkit/glue
Commit message (Collapse)AuthorAgeFilesLines
* (Mac) Allow the tracking of the "active" plugin delegate separate from the ↵avi@chromium.org2010-01-194-54/+60
| | | | | | | | | | | fake windows. BUG=http://crbug.com/20717 TEST=none; no visible change Review URL: http://codereview.chromium.org/549085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36533 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: fix failing interactive tests. A follow-up of r36518yurys@chromium.org2010-01-191-0/+14
| | | | | | | | TBR=pfeldman Review URL: http://codereview.chromium.org/551067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36524 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: prepare to injectiong inspector script into the inspected context.yurys@chromium.org2010-01-199-26/+139
| | | | | | | | BUG=29068 Review URL: http://codereview.chromium.org/552033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36518 0039d316-1c4b-4281-b951-d872f2087c98
* (Mac) Intercept (Carbon) cursor setting by plugins and forward it on properly.avi@chromium.org2010-01-156-4/+84
| | | | | | | | | BUG=http://crbug.com/20717 TEST=as in bug; this covers old Flash Review URL: http://codereview.chromium.org/550062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36416 0039d316-1c4b-4281-b951-d872f2087c98
* Support dragging a virtual file out of the browser.jianli@chromium.org2010-01-152-0/+4
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/351029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36378 0039d316-1c4b-4281-b951-d872f2087c98
* Always eat mouse clicks on plugins on the Macstuartmorgan@chromium.org2010-01-151-0/+8
| | | | | | | | | | | Not all plugins reliably report whether they have handled events; other Mac browsers don't allow clicks to "fall through" plugins (see for example WebNetscapePluginEventHandlerCarbon::mouseDown, which logs but discards the return value), so we'll do the same. BUG=31358 TEST=Double-click in a plugin; it should not get a selection highlight. Review URL: http://codereview.chromium.org/549067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36361 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit DEPS roll to 53290 and canary fix.japhet@chromium.org2010-01-152-5/+5
| | | | | | | | | | BUG=none TEST=none TBR=atwilson Review URL: http://codereview.chromium.org/546021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36320 0039d316-1c4b-4281-b951-d872f2087c98
* Set disabled style on GPU window and plugin intermediate window so mouse ↵apatrick@chromium.org2010-01-154-40/+81
| | | | | | | | | | | messages pass through to the browser window. TEST=trybots BUG=none Review URL: http://codereview.chromium.org/549025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36311 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Fix autocomplete in the console.pfeldman@chromium.org2010-01-141-0/+8
| | | | | | | | TBR=yurys Review URL: http://codereview.chromium.org/542081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36286 0039d316-1c4b-4281-b951-d872f2087c98
* Make the Pepepr test run on the mac.dspringer@google.com2010-01-141-0/+1
| | | | | | | | | BUG=none TESTS=none Review URL: http://codereview.chromium.org/546041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36264 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: add text for Profiles panel welcome message.mnaganov@chromium.org2010-01-141-0/+5
| | | | | | | | | | | Will be needed after the patch from https://bugs.webkit.org/show_bug.cgi?id=19268 got committed. No hurt to add this code now on DevTools side. BUG=27617 TEST=none Review URL: http://codereview.chromium.org/551026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36263 0039d316-1c4b-4281-b951-d872f2087c98
* Update Mac plugin whitelist/blackliststuartmorgan@chromium.org2010-01-141-1/+2
| | | | | | | | | | | | Whitelist the Google Earth plugin on the Mac Move QuakeLive from the blacklist to the whitelist BUG=24788 TEST=For Google Earth, no change (but if we switch back to blacklist by default it will still load). For Quake Live, visit quakelive.com with a spoofed Safari UA, and play. Review URL: http://codereview.chromium.org/542066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36242 0039d316-1c4b-4281-b951-d872f2087c98
* Roll Webkit to 53220 and fix compilation error due to renamed API.atwilson@chromium.org2010-01-141-1/+1
| | | | | | | TBR=yaar Review URL: http://codereview.chromium.org/549046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36229 0039d316-1c4b-4281-b951-d872f2087c98
* Rename CloseIdleConnections -> CloseCurrentConnections.mbelshe@chromium.org2010-01-141-2/+2
| | | | | | | | | | | | | | | | | This method is (and was) just for debugging; while it was closing idle connections, that was not aggressive enough; the benchmark needs to close all connections, not just the idle ones. To ensure connections are abandoned, create a new pool; leaving the old pool to languish as any pending sockets die. BUG=none TEST=none Review URL: http://codereview.chromium.org/549031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36208 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clicking in QuickTime content on the Macstuartmorgan@chromium.org2010-01-133-0/+44
| | | | | | | | | | | QuickTime uses FindWindow in its click handling to get the WindowRef, so we need to interpose it to give back the plugin window (which isn't actually on screen). This makes clicks work except for the menu button in the control strip. BUG=24952 TEST=Click/double-click in a QuickTime video to pause/play, or use the control strip (except for the menu button). Review URL: http://codereview.chromium.org/536047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36182 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary references to webkit/glue/glue_util.h indarin@chromium.org2010-01-1312-12/+0
| | | | | | | | | | | | preparation for deleting that file. R=dglazkov BUG=24607 TEST=none Review URL: http://codereview.chromium.org/551012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36140 0039d316-1c4b-4281-b951-d872f2087c98
* Webkit update to 53164. Includes japhet's revision ↵johnnyg@chromium.org2010-01-131-1/+1
| | | | | | | | | | | | http://codereview.chromium.org/546021. This one won't fix all the redness yet, but it should at least compile. TBR=atwilson,japhet BUG=none TEST=none Review URL: http://codereview.chromium.org/549027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36080 0039d316-1c4b-4281-b951-d872f2087c98
* Revert two changes that accidentally got in my last checkin.brettw@chromium.org2010-01-122-19/+0
| | | | | | | BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36048 0039d316-1c4b-4281-b951-d872f2087c98
* Working rudimentary audio in Pepper.brettw@chromium.org2010-01-125-1/+163
| | | | | | | | | BUG=28292 TEST=none Patch by neb@chromium.org Original review: http://codereview.chromium.org/524006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36043 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mouse event handling in Cocoa plugins so we still update our location ↵stuartmorgan@chromium.org2010-01-122-21/+25
| | | | | | | | | | | information BUG=none TEST=Context menus in Flash 10.1 content should show up at the correct location. Review URL: http://codereview.chromium.org/543022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36023 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify Mac plugin HandleInputEvent logicstuartmorgan@chromium.org2010-01-121-46/+44
| | | | | | | | | | | | | - Consolidates most of the Carbon-only code into a single block, to cut down on ifdef's, and puts it into a runtime conditional so we don't do needless work in Cocoa event plugins. - Changes the internal logic to be WebInputEvent-based, rather than NPEvent-based - Updates the stored mouse location on all mouse events (whenever the window moves) since the two are closely related. This means that we will update on mouse-exit, so the location sent to Carbon plugins for null events after the mouse leaves will be just outside the plugin bounds, rather than inside. BUG=none TEST=Mouse events should continue to work in both Flash 10.0 and 10.1. Hover effects in Flash 10.0 content should not persist after the mouse is moved out of the plugin. Review URL: http://codereview.chromium.org/550009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36014 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remove unneeded reset for profiler agent.mnaganov@chromium.org2010-01-122-11/+0
| | | | | | | | | | | | Profiles page isn't reset on frameNavigate, so it's no need to reset agent also. BUG=31072 TEST=none Review URL: http://codereview.chromium.org/543008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36007 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Carbon NPAPI event modifiersstuartmorgan@chromium.org2010-01-111-17/+21
| | | | | | | | | | | Consolidate modifier mapping, fix the swapping of option and command, and make sure mouse clicks get all modifiers. BUG=30141 TEST=Use command keys in Flash 10.0 Review URL: http://codereview.chromium.org/549012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35960 0039d316-1c4b-4281-b951-d872f2087c98
* dom_operations to use WebAnimationControlleryaar@chromium.org2010-01-111-52/+18
| | | | | | | | This patch completes http://codereview.chromium.org/503082/show and corresponds with https://bugs.webkit.org/show_bug.cgi?id=32870. Review URL: http://codereview.chromium.org/505070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35947 0039d316-1c4b-4281-b951-d872f2087c98
* Enable JS detection of whether SPDY was used to load a web page.mbelshe@google.com2010-01-113-0/+5
| | | | | | | | | | | | Augments the loadTimes() API with a new field, "wasFetchedViaSpdy". BUG=31615 TEST=flip_network_transaction_unittest Review URL: http://codereview.chromium.org/518039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35943 0039d316-1c4b-4281-b951-d872f2087c98
* removing webcore dependencies in dom_operationsyaar@chromium.org2010-01-111-61/+55
| | | | | | | | | | Animation operations will be done in a subsequent patch. Corresponds with upstream changes: https://bugs.webkit.org/show_bug.cgi?id=32866 Review URL: http://codereview.chromium.org/503082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35942 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: fix crash caused by dereferening empty handleyurys@chromium.org2010-01-111-1/+5
| | | | | | | | BUG: 31591 Review URL: http://codereview.chromium.org/549007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35911 0039d316-1c4b-4281-b951-d872f2087c98
* Translation stringsoritm@google.com2010-01-103-6/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35882 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for NPN_PopUpContextMenu on Macstuartmorgan@chromium.org2010-01-085-1/+185
| | | | | | | | | BUG=29454 TEST=Right-click in Flash content with Flash 10.1. Review URL: http://codereview.chromium.org/525099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35806 0039d316-1c4b-4281-b951-d872f2087c98
* Remove most uses of EmptyString(), EmptyWString(), EmptyString16(), and ↵pkasting@chromium.org2010-01-081-2/+2
| | | | | | | | | | EmptyGURL(), since the code in question can just use the default constructor. BUG=none TEST=none Review URL: http://codereview.chromium.org/517054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35766 0039d316-1c4b-4281-b951-d872f2087c98
* Certain PDF files would not load in Chrome if the HTTP multipart response ↵ananta@chromium.org2010-01-072-14/+46
| | | | | | | | | | | | | | | | | | | contains the Range header instead of the Content-Range header. This would cause the Acrobat PDF plugin to freeze or display an error message. Fix is to look for the Range header while parsing the multipart response if we fail to find the Content-Range header. This fixes bug http://code.google.com/p/chromium/issues/detail?id=31050 Bug=31050 Test=Covered by test_shell_tests. Review URL: http://codereview.chromium.org/521048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35740 0039d316-1c4b-4281-b951-d872f2087c98
* Partial implementation of NPN_ConvertPointstuartmorgan@chromium.org2010-01-074-7/+91
| | | | | | | | | | | Implements the plugin <-> screen coordinate conversions on the Mac. Window coordinate conversion is more difficult, and I'm not aware of any current need for it, so it remains unimplemented for now. BUG=29457 TEST=none Review URL: http://codereview.chromium.org/496001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35726 0039d316-1c4b-4281-b951-d872f2087c98
* linux: Do not unload plugin in the browser process, it's not safe.thestig@chromium.org2010-01-071-9/+1
| | | | | | | | BUG=25245 TEST=none Review URL: http://codereview.chromium.org/521047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35725 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate last bits of WebCore usage in webkit_glue.cc.darin@chromium.org2010-01-071-14/+8
| | | | | | | | | | R=abarth BUG=28065 TEST=none Review URL: http://codereview.chromium.org/525061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35720 0039d316-1c4b-4281-b951-d872f2087c98
* Un-blacklist the Shockwave plugin on Macstuartmorgan@chromium.org2010-01-071-1/+0
| | | | | | | | | BUG=20635 TEST=Shockwave content should load if the plugin is installed. Review URL: http://codereview.chromium.org/524062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35718 0039d316-1c4b-4281-b951-d872f2087c98
* Fix incorrect model check in Mac pluginsstuartmorgan@chromium.org2010-01-071-1/+1
| | | | | | | | | BUG=none TEST=existing plugin tests. Review URL: http://codereview.chromium.org/523134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35710 0039d316-1c4b-4281-b951-d872f2087c98
* Don't send a window ref to plugins under the Cocoa model, per specstuartmorgan@chromium.org2010-01-072-31/+73
| | | | | | | | | | | Under the Cocoa model we don't even need to make and manage the dummy window, so conditionalize all the related code. BUG=31677 TEST=All existing plugin tests/behavior should remain unchanged. Review URL: http://codereview.chromium.org/525080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35706 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit DEPS roll 52852:52867 with canary compile fix.japhet@chromium.org2010-01-071-2/+2
| | | | | | | | | BUG=none TEST=green Review URL: http://codereview.chromium.org/523103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35669 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the Mac QuickTime quirk, which we don't need after allstuartmorgan@chromium.org2010-01-062-26/+7
| | | | | | | | | | | See bug for full explanation of why the quirk isn't necessary. The short version is that the quirk was actually compensating for a bug of our own that has since been fixed, not a real problem with QuickTime. BUG=29357 TEST=See bug; given URLs shouldn't crash. Review URL: http://codereview.chromium.org/523083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35626 0039d316-1c4b-4281-b951-d872f2087c98
* Make debug build happy again.antonm@chromium.org2010-01-061-0/+2
| | | | | | Review URL: http://codereview.chromium.org/525066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35622 0039d316-1c4b-4281-b951-d872f2087c98
* Convert webkit_glue.cc over to using WebKit API.darin@chromium.org2010-01-061-79/+47
| | | | | | | | | | | | | | | Removed unnecessary code to reset the JS line number, which was only added for the Chrome+JSC build. I don't have a way to test if it would still be necessary, and I'd rather not add a WebKit API for it unless I can prove that I need it. R=dglazkov BUG=28065 TEST=none Review URL: http://codereview.chromium.org/517038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35590 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Make devtools window dockable.thakis@chromium.org2010-01-051-6/+0
| | | | | | | | | | | | | | | | | | | | xib change: Deleted NSBox, added NSSplitView instead (with a thin divider and without any child views). I added the devtools tabcontents to TabContentsController; windows and linux instead add it to the browser window and switch it on every tab change. What I've done makes more sense to me and might work better with a) dragging a tab with docked devtools into a new window and b) toggling fullscreen. BUG=17368 TEST= * Inspect element, click the "attach" item in the lower left corner. Devtools should attach to the tab. Click it again, should detach. Re-attach, switch tabs. Should only be in the tab it was attached to. Open another devtools window in another tab, should be attached there. Drag tab with attached devtools into a new window, should work. * Inspect element with docked devtools, close devtools, inspect another element. devtools should open with the same size it had when it was closed, and should still be docked. * Hover link with docked devtools. Status bubble should not overlap devtools. * Go to http://www.pagetutor.com/keeper/http_authentication/index.html and make sure the http auth sheet still shows up Review URL: http://codereview.chromium.org/526001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35576 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Cocoa plugin event model modifier flagsstuartmorgan@chromium.org2010-01-051-18/+16
| | | | | | | | | | | | Per spec (and other implementations) the Cocoa event model uses the Cocoa modifier flag definitions, not the old Carbon version. BUG=none TEST=Click and key event modifiers should work in plugins (e.g., Flash games that use shift-clicking) Review URL: http://codereview.chromium.org/518035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35535 0039d316-1c4b-4281-b951-d872f2087c98
* bsds: views/ and webkit/ support for FreeBSD/OpenBSDevan@chromium.org2009-12-3112-34/+37
| | | | | | | | | - add a TOOLKIT_USES_GTK #define to catch GTK and Views+GTK - lots of ifdef twiddling Review URL: http://codereview.chromium.org/519030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35402 0039d316-1c4b-4281-b951-d872f2087c98
* If we receive a redirect response, we should copy the http referer field ↵japhet@chromium.org2009-12-301-0/+9
| | | | | | | | | | | from the old request. BUG=7357 TEST=none Review URL: http://codereview.chromium.org/470010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35379 0039d316-1c4b-4281-b951-d872f2087c98
* linux: reduce header interdependenciesevan@chromium.org2009-12-292-6/+4
| | | | | | | | | | | | By analyzing gcc -H output, I found some of our worst offenders for headers bringing in other headers. native_web_keyboard_event.h was responsible for just under 60,000 extra includes! This change will in theory make the build faster. Review URL: http://codereview.chromium.org/524004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35326 0039d316-1c4b-4281-b951-d872f2087c98
* Clarify licenses on a bunch of files.evan@chromium.org2009-12-291-0/+4
| | | | | | | | | | | In this process, I also filed bugs on various projects we depend on that also have unclear licenses. BUG=28291 Review URL: http://codereview.chromium.org/521009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35323 0039d316-1c4b-4281-b951-d872f2087c98
* Split more targets from chrome.gyp to add support for building Native Client ↵gregoryd@google.com2009-12-281-0/+20
| | | | | | | | | | | | | | | | for 64-bit Windows. This CL is required for supporting Native Client on 64-bit Windows. On Win64 we will use a 64-bit executable to load NaCl modules. Since we have only one version of Chrome on Windows, this executable has to be built together with 32-bit Chrome binaries. For the targets that are required for both 32-bit and 64-bit builds, this CL moves the shared parts of the target definitions into target-specific gypi files (such as base.gypi). New 64-bit only targets are added. Since we would like to port as few code as possible at this point, some 64-bit targets include less source files or less dependencies than the original 32-bit targets. These targets will have nacl_win64 in their name - to emphasize that they should be used for NaCl only. Some 64-bit targets are identical to the 32-bit targets in everything except for the target platform - these will have only win64 in their name. TEST=none BUG=28176 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35237 Review URL: http://codereview.chromium.org/384068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35305 0039d316-1c4b-4281-b951-d872f2087c98
* linux: add another path to plugin search path listevan@chromium.org2009-12-281-1/+3
| | | | | | | | | I've seen users reporting they need this on openSUSE and there's a patch in the ALT Linux repo for it as well. Review URL: http://codereview.chromium.org/524002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35304 0039d316-1c4b-4281-b951-d872f2087c98
* Fix race-conditioned DevTools crash when navigating to a redirecting pageapavlov@chromium.org2009-12-281-1/+5
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/515040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35299 0039d316-1c4b-4281-b951-d872f2087c98