summaryrefslogtreecommitdiffstats
path: root/webkit/glue
Commit message (Collapse)AuthorAgeFilesLines
* Refactor the pepper API implementation to make it more scalable as we add morebrettw@chromium.org2009-12-078-486/+700
| | | | | | | | | | | device types. Implement a stub of the 3D device API. Fix style in some of the plugin related code. TEST=run the pepper_test_plugin BUG=none Review URL: http://codereview.chromium.org/468012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33989 0039d316-1c4b-4281-b951-d872f2087c98
* Fix non-initialized pointer issue in test_shell for Mac.kinuko@chromium.org2009-12-071-0/+1
| | | | | | | | | BUG=10667 TEST=none Review URL: http://codereview.chromium.org/465052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33962 0039d316-1c4b-4281-b951-d872f2087c98
* Add stubs for NPN_PopUpContextMenu and NPN_ConvertPointstuartmorgan@chromium.org2009-12-052-0/+30
| | | | | | | | | | | We claim to support the version of NPAPI that includes these functions, so we at least need to stub them out to prevent crashes. Real implementations and test cases for them will follow later. BUG=29454, 29457, 28002 TEST=Right click in Flash using a ToT Chromium build with the 10.1 Flash preview installed; it should not crash. Review URL: http://codereview.chromium.org/465078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33894 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Record the list of plugins loaded in browser process crash reports.thestig@chromium.org2009-12-043-15/+45
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/459015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33888 0039d316-1c4b-4281-b951-d872f2087c98
* Check that frame has not been closed when getting DevToolsAgent.yurys@chromium.org2009-12-042-7/+19
| | | | | | | | | | Updated test expectations. The test that used to crash is failing on Linux(it is already expected to crash or fail on Win and Mac). BUG=29339 Review URL: http://codereview.chromium.org/460072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33819 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Check that frame has not been closed when getting DevToolsAgent." ↵yurys@chromium.org2009-12-042-19/+7
| | | | | | | | | | | Linux layout tests started failing for some reason: http://build.chromium.org/buildbot/waterfall/builders/Webkit%20Linux/builds/14966/steps/webkit_tests/logs/stdio BUG=29339 TBR=pfeldman Review URL: http://codereview.chromium.org/466034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33816 0039d316-1c4b-4281-b951-d872f2087c98
* Check that frame has not been closed when getting DevToolsAgent.yurys@chromium.org2009-12-042-7/+19
| | | | | | | | BUG=29339 Review URL: http://codereview.chromium.org/464033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33813 0039d316-1c4b-4281-b951-d872f2087c98
* Split FTP LIST parsing code into individual files for each listing style.phajdan.jr@chromium.org2009-12-041-1/+1
| | | | | | | | | | | | This turns out to be much better code organisation strategy. We're going to have even more parsers. TEST=Covered by net_unittests. BUG=25520 Review URL: http://codereview.chromium.org/465035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33807 0039d316-1c4b-4281-b951-d872f2087c98
* Enable remote fonts by default. This change introduces ↵yusukes@google.com2009-12-041-1/+1
| | | | | | | | | | | --disable-remote-fonts flag and obsoletes --enable-remote-fonts. BUG=17818 TEST=(1) Start chromium WITHOUT --disable-remote-fonts. Visit http://www.alistapart.com/d/cssatten/poen.html . Verify that the page is rendered using _remote_ fonts (reference image: http://www.alistapart.com/d/cssatten/poen.png ) / (2) Start chromium WITH --disable-remote-fonts. Visit http://www.alistapart.com/d/cssatten/poen.html . Verify that the page is rendered using _local_ fonts Review URL: http://codereview.chromium.org/165236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33800 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes to the string MatchPattern functions:tony@chromium.org2009-12-031-2/+2
| | | | | | | | | | | | | | | 1) Make it explicit that it only supports ASCII (since it iterates character by character). 2) Limit the recursion to 16 levels. We could allow more, but in the case of a ?, it has exponential complexity, so I figured 16 was a good stopping point. It seems rare that someone would have more than 16 '?' and '*'s. BUG=28645 Review URL: http://codereview.chromium.org/460047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33748 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid implicit char*-to-AtomicString conversion, which will soon become illegal.snej@chromium.org2009-12-031-1/+1
| | | | | | | | | | | | (See https://bugs.webkit.org/show_bug.cgi?id=30187 for the patch that will remove this conversion.) BUG=29313 TEST=none Review URL: http://codereview.chromium.org/465033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33696 0039d316-1c4b-4281-b951-d872f2087c98
* Fix console object style in DevTools windowapavlov@chromium.org2009-12-031-0/+7
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/460041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33674 0039d316-1c4b-4281-b951-d872f2087c98
* Don't set referrers on outgoing plugin requests if the load_manually flag is ↵ananta@chromium.org2009-12-035-24/+81
| | | | | | | | | | | | | | | | | | | set. This emulates the behavior of other browsers and fixes http://code.google.com/p/chromium/issues/detail?id=28800 I added a UI test to validate that the plugin source URL is set on outgoing GetURL requests issued by the plugin. To validate that the document URL is set as the referrer on the initial URL request would take some more work. Will try and add that in a future CL. I also changed the WebPluginImpl::RouteToFrame function to set the referrer on similar lines. Bug=28800 Test=Covered by UI test Review URL: http://codereview.chromium.org/459003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33673 0039d316-1c4b-4281-b951-d872f2087c98
* Send resource load notifications from plugins to devtools agent. This is a ↵yurys@chromium.org2009-12-0310-30/+75
| | | | | | | | | | part of a fix which would allow to inspect plugin resources. BUG=2084 Review URL: http://codereview.chromium.org/435044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33672 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the coordinates we send to QD-based pluginsstuartmorgan@chromium.org2009-12-021-8/+16
| | | | | | | | | BUG=29132 TEST=Watch a QuickTime video; the control bar should be visible at the bottom. Review URL: http://codereview.chromium.org/459007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33588 0039d316-1c4b-4281-b951-d872f2087c98
* Add windowUnloading method to InspectorFrontendHost objectapavlov@chromium.org2009-12-022-0/+12
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/460019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33577 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Event Handlers pane bar styleapavlov@chromium.org2009-12-021-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/453012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33568 0039d316-1c4b-4281-b951-d872f2087c98
* Update network priorities to support better granularitymbelshe@google.com2009-12-021-1/+13
| | | | | | | | | | | | | | of resource loading from WebKit into the network stack. In order to fully make these work, webkit changes are needed as well. BUG=none TEST=none Review URL: http://codereview.chromium.org/452033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33546 0039d316-1c4b-4281-b951-d872f2087c98
* Update the Pepper APIs to the latest spec for the 2D demo plugin.brettw@chromium.org2009-12-014-224/+120
| | | | | | | | | | | | | | | | | | | | | This also adds the npapi headers to the npapi.gyp file since I got tired of Visual Studio not finding the files. This removes the "open file in sandbox" feature which it doesn't look like we will use. One more significant change is that I changed to including pepper.h in all cases, even when pepper is disabled. We used to have a forward declare in npapi.h for the structs in question, but we'll be adding a lot more structs for the different contexts and I don't think this will scale. I think its OK fo rthe pepper API declarations to be available when Pepper isn't enabled. BUT=none TEST=none Review URL: http://codereview.chromium.org/453015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33501 0039d316-1c4b-4281-b951-d872f2087c98
* Fix STR size read in Mac plugin loadingstuartmorgan@chromium.org2009-12-011-1/+1
| | | | | | | | | | | Make sure we interpret Pascal string lengths as positive numbers. BUG=21837 TEST=Install the Unity Player plugin, and visit about:plugins; the name "Unity Player" should show. Review URL: http://codereview.chromium.org/453022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33497 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Roll 51527:51532 (includes DevTools two-sided commit for spliting ↵pfeldman@chromium.org2009-12-0111-243/+173
| | | | | | | | InspectorBackend.idl). Review URL: http://codereview.chromium.org/434119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33441 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Mac plugin coordinatesstuartmorgan@chromium.org2009-12-011-10/+15
| | | | | | | | | | | Pass the correct offset details in SetWindow, rather than fudging the dummy window location. BUG=27349,27593 TEST=Mouseovers and clicking should work in plugins (see bug test cases particularly) Review URL: http://codereview.chromium.org/456019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33419 0039d316-1c4b-4281-b951-d872f2087c98
* Fix regression with pasting images in Gmail.finnur@chromium.org2009-11-301-2/+8
| | | | | | | | | BUG=27708 TEST=Right-click an image on a web page and select copy. Paste it into a Gmail compose window. Picture should appear. Also try pasting the image into WordPad, it should appear. Review URL: http://codereview.chromium.org/450018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33364 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: provisional implementation of new methods in WebDevToolsAgent in ↵yurys@chromium.org2009-11-301-0/+21
| | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=31832 This method will allow to propagate resource load notifications from plugins to InspectorController. BUG=2084 Review URL: http://codereview.chromium.org/434080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33292 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: fix on Linux and reenable ↵yurys@chromium.org2009-11-301-1/+7
| | | | | | | | DevToolsSanityTest.TestPauseWhenScriptIsRunning Review URL: http://codereview.chromium.org/449013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33288 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes an issue where opening Inspector after APU causes some console noise.pfeldman@chromium.org2009-11-301-0/+1
| | | | | | | | Original review: http://codereview.chromium.org/432025 TBR=knorton git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33286 0039d316-1c4b-4281-b951-d872f2087c98
* Add documentURL property to dummy resource payloadapavlov@chromium.org2009-11-301-0/+1
| | | | | | | | | | BUG=none TEST=none TBR=pfeldman@chromium.org Review URL: http://codereview.chromium.org/455002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33285 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: process pause script request on the IO thread. To pause already ↵yurys@chromium.org2009-11-3011-29/+68
| | | | | | | | | | | running script we need to call v8::Debug::DebugBreak() on a thread different from the Render thread which may be busy with JS execution. BUG=28892 TEST=DevToolsSanityTest.TestPauseWhenScriptIsRunning Review URL: http://codereview.chromium.org/444017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33279 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: set toolbar and statusbar to blue only on Windows.mnaganov@chromium.org2009-11-261-17/+21
| | | | | | | | | | | Also, for inactive toolbar on Windows, use a grayscale version of blue. BUG=none TEST=none Review URL: http://codereview.chromium.org/444015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33213 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: stub implementations for new methods in WebDevToolsAgent added in ↵yurys@chromium.org2009-11-262-0/+70
| | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=31832 BUG=2084 Review URL: http://codereview.chromium.org/443022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33212 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Content-Type workaround for cached resourcesapavlov@chromium.org2009-11-262-17/+38
| | | | | | | | | BUG=27364 TEST=DevToolsSanityTest.TestCachedResourceMimeType Review URL: http://codereview.chromium.org/437089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33206 0039d316-1c4b-4281-b951-d872f2087c98
* Support context data in form of a stringsgjesse@chromium.org2009-11-262-6/+29
| | | | | | | | | | | | WbeKit bug 31873 (https://bugs.webkit.org/show_bug.cgi?id=31873) changes the context "data" from a JavaScript object to a string. This c$ BUG=23058 TEST=none Review URL: http://codereview.chromium.org/443002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33197 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb through site-specific quirks setting with a command line switch.dglazkov@chromium.org2009-11-252-0/+3
| | | | | | | | | | | | Quirks are enabled by default. R=darin BUG=19586 TEST=wikileaks.org should now have its sidebar in the proper place. Review URL: http://codereview.chromium.org/442010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33107 0039d316-1c4b-4281-b951-d872f2087c98
* Improve Mac plugin coordinate handlingstuartmorgan@chromium.org2009-11-252-62/+70
| | | | | | | | | | | Update the dummy window location and stored offset on mouse-moved events too, so that we don't send incorrect coordinates between moving a browser window and clicking in a full-window plugin. Also move the offset from global to instance, so we don't constantly thrash when there are plugins instances in different windows. BUG=24615 TEST=Open a window with a full-screen plugin that has a mouse-tracking effect. Move the window, and the tracking should still work correctly. Review URL: http://codereview.chromium.org/434081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33092 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Recognize getters and setters entries in CPU profile.mnaganov@chromium.org2009-11-251-1/+1
| | | | | | | | | | | Need to wait the next V8 roll for those entries to appear in log. BUG=27613 TEST=none Review URL: http://codereview.chromium.org/442006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33070 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Do not unload the o3d plugin in the browser process. This is a ↵thestig@chromium.org2009-11-251-1/+8
| | | | | | | | | | temporary workaround for a shutdown crash. BUG=25245 TEST=no crash on shutdown. Review URL: http://codereview.chromium.org/431039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33052 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a flaky dev tools sanity test.ager@chromium.org2009-11-241-4/+3
| | | | | | | | | | | | | | | The test only works if the source of scripts are found in a specific order. This cannot be ensured since the source is found by traversing the heap. The scripts tab is only visible after processing the debugger test page, so only check for visibility in that case. Enable test on Linux again where it passes after this change. TEST=none BUG=26540 Review URL: http://codereview.chromium.org/434044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32968 0039d316-1c4b-4281-b951-d872f2087c98
* Don't select a default entry in the password autofill popup. jcampan@chromium.org2009-11-231-2/+3
| | | | | | | | | | | | | | | It is annoying as pressing tab/enter after modifying the text field value would select the popup default entry again overriding your change. BUG=24550 TEST=Trigger the password autofill entry. Modify the suggested See review: http://codereview.chromium.org/433001/show login name, press tab. The login you entered should be preserved. Review URL: http://codereview.chromium.org/438004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32857 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: display DOM calls in CPU profiles.mnaganov@chromium.org2009-11-231-2/+2
| | | | | | | | | | | | | This patch only allows the corresponding log entries to be processed and displayed. In order to have those entries in the log, a newer version of V8 is needed. BUG=27613 TEST=none Review URL: http://codereview.chromium.org/434008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32845 0039d316-1c4b-4281-b951-d872f2087c98
* Add a label member to the FormField class. This member will hold the value ↵jhawkins@chromium.org2009-11-233-4/+11
| | | | | | | | | | of the field's label once we parse this value from the DOM. BUG=none TEST=none Review URL: http://codereview.chromium.org/418032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32834 0039d316-1c4b-4281-b951-d872f2087c98
* decoupling FormFieldValues from webcoreyaar@chromium.org2009-11-202-46/+22
| | | | | | Review URL: http://codereview.chromium.org/403024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32703 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 32692 - Enable plugin blacklist by default on the Macstuartmorgan@chromium.org2009-11-201-1/+0
| | | | | | | | | | | | BUG=26110 TEST=Check about:plugins; only whitelisted plugins should be listed. Review URL: http://codereview.chromium.org/426004 TBR=amanda@chromium.org Review URL: http://codereview.chromium.org/418030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32694 0039d316-1c4b-4281-b951-d872f2087c98
* Enable plugin blacklist by default on the Macstuartmorgan@chromium.org2009-11-201-0/+1
| | | | | | | | | BUG=26110 TEST=Check about:plugins; only whitelisted plugins should be listed. Review URL: http://codereview.chromium.org/426004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32692 0039d316-1c4b-4281-b951-d872f2087c98
* Update the Mac plugin whitelist/blackliststuartmorgan@chromium.org2009-11-201-0/+3
| | | | | | | | | | | Re-blacklist Move Networks player on Mac, and blacklist the crashing Quake Live plugin. Whitelist QuickTime now that it's mostly working and stable. BUG=28298,25105,414047 TEST=Move Networks and Quake Live content should not load. Review URL: http://codereview.chromium.org/414047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32668 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: avoid a race between UI and IO threads during plugin destruction.amanda@chromium.org2009-11-201-0/+3
| | | | | | | | BUG=24173,28190 TEST=Plugins should no longer crash in WebPluginDelegateImpl::OnNullEvent() Review URL: http://codereview.chromium.org/414044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32636 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Simulate the OS-level focus handling that windows and linux pluginsamanda@chromium.org2009-11-202-3/+57
| | | | | | | | | | | | rely on to trigger NPAPI keyboard focus notifications. BUG=26585 TEST=On pages with multiple Flash text entry fields, only one should have a blinking caret at any time. Flash elements that use the ActionScript2 "Key.IsDown()" function should only detect keydowns when they are in a visible tab and focused. Review URL: http://codereview.chromium.org/399090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32631 0039d316-1c4b-4281-b951-d872f2087c98
* Rename unit test: WebViewTest.GetContentAsPlainText -> WebViewTest.ActiveState.viettrungluu@chromium.org2009-11-201-1/+1
| | | | | | | | | | | I'm responsible for misnaming it in the first place (cut-and-paste error). Oops. BUG=23501 TEST=none Review URL: http://codereview.chromium.org/414034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32612 0039d316-1c4b-4281-b951-d872f2087c98
* Add compiler-specific "examine printf format" attributes to printfs.evan@chromium.org2009-11-203-6/+15
| | | | | | | | | | | | Functions that take a printf-style format get a new annotation, which produces a bunch of compiler warnings when you use printf impoperly. This change adds the annotations and fixes the warnings. We now must use PRId64 for 64-bit numbers and the PRIsz for size_t. Review URL: http://codereview.chromium.org/339059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32600 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 32398 - Re-enable Cocoa event model for pluginsstuartmorgan@chromium.org2009-11-181-2/+3
| | | | | | | | | | | | BUG=28159 TEST=Flash 10.1 pre-release should use Cocoa event model (which currently means playback stalls when there are no mouse events coming in). Review URL: http://codereview.chromium.org/399079 TBR=amanda@chromium.org Review URL: http://codereview.chromium.org/402064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32399 0039d316-1c4b-4281-b951-d872f2087c98
* Remove plugin Cocoa event model temporarilystuartmorgan@chromium.org2009-11-181-3/+2
| | | | | | | | | BUG=28159 TEST=Flash 10.1 preview should work reasonably well. Review URL: http://codereview.chromium.org/399079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32398 0039d316-1c4b-4281-b951-d872f2087c98