summaryrefslogtreecommitdiffstats
path: root/webkit/glue
Commit message (Collapse)AuthorAgeFilesLines
* Replace cases of Append(FILE_PATH_LITERAL()) with AppendASCII("").deanm@chromium.org2009-01-221-3/+3
| | | | | | Review URL: http://codereview.chromium.org/18499 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8454 0039d316-1c4b-4281-b951-d872f2087c98
* We should download text/csv mime types instead of displaying them.abarth@chromium.org2009-01-221-4/+8
| | | | | | | | | BUG=6079 R=darin Review URL: http://codereview.chromium.org/18349 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8448 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Porting renderer/render_view.cc, low hanging fruitagl@chromium.org2009-01-223-4/+4
| | | | | | | Review URL: http://codereview.chromium.org/18468 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8440 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Porting renderer/render_process.cc, low hanging fruitagl@chromium.org2009-01-221-0/+13
| | | | | | | Review URL: http://codereview.chromium.org/18622 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8436 0039d316-1c4b-4281-b951-d872f2087c98
* More speedup of scrolling when many windowed plugins in a page. Scrolling ↵jam@chromium.org2009-01-222-1/+36
| | | | | | | | | | | | is now at parity with single process browsers in my testing. This works by making painting of child windows asynchronous. The key is to send, not post, the custom message. This allows the redraw message to jump the queue and get dispatched before other queued [Windows, IPC] messages, which eliminates painting artifacts. Now that painting is asynchronous, I had to take out the SWP_NOREDRAW flag to DeferWindowPos. While it's slightly faster without it, the visual aritfacts are noticable. Review URL: http://codereview.chromium.org/18637 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8432 0039d316-1c4b-4281-b951-d872f2087c98
* Include webkit strings in test shell data pack.tc@google.com2009-01-221-0/+2
| | | | | | | | | | This adds <message> node to the types of GRIT nodes that we can stuff into a data package file and removes a test shell hack. Review URL: http://codereview.chromium.org/18478 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8431 0039d316-1c4b-4281-b951-d872f2087c98
* Some cleanup to the PluginList Singleton.deanm@chromium.org2009-01-212-31/+35
| | | | | | | | | | | | | - Remove unneeded ref counting. - Remove a static constructor (scoped_refptr). - Remove a leak (extra_plugin_paths_). This slightly changes the code, since PlatformInit could be called before Singleton, via AddExtraPluginPaths. I don't think this should be a problem. Review URL: http://codereview.chromium.org/18454 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8382 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Merge 39972:40057, Chromium side.dglazkov@google.com2009-01-211-1/+2
| | | | | | | | R=jeremy Review URL: http://codereview.chromium.org/18608 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8370 0039d316-1c4b-4281-b951-d872f2087c98
* Make CommandLine into a normal object, with some statics for getting at the ↵evan@chromium.org2009-01-211-1/+1
| | | | | | | | | | | current process's command line. One explicit goal of this change is to *not* deal with the string/wstring issues at the API on POSIX; the functions are the same as before, which means they remain as broken as before. (I did try to fix the internals, though, so migrating the callers is now possible by adding platform-appropriate hooks.) Review URL: http://codereview.chromium.org/18248 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8347 0039d316-1c4b-4281-b951-d872f2087c98
* Take out static objects from plugin_lib_win.cc.jam@chromium.org2009-01-211-14/+22
| | | | | | Review URL: http://codereview.chromium.org/18389 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8343 0039d316-1c4b-4281-b951-d872f2087c98
* A little bit more cleanup: no need to have both InternalPluginInfo & ↵jam@chromium.org2009-01-201-56/+51
| | | | | | | | PluginVersionInfo, one is enough. Review URL: http://codereview.chromium.org/18382 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8331 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up how the default plugin is loaded so that InternalPluginInfo & ↵jam@chromium.org2009-01-206-102/+97
| | | | | | | | PluginVersionInfo remain in the windows file, and other platforms can store this data in the most convenient form to them. Review URL: http://codereview.chromium.org/18419 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8322 0039d316-1c4b-4281-b951-d872f2087c98
* fix memory_test crashestc@google.com2009-01-201-2/+7
| | | | | | | | | | | | | Memory tests run with plugins disabled. WebKit r39969 changed Page::pluginData to return null in this case, so we need to check for this null. This still won't work until we rev our webkit to r39988 which fixes another crash. Review URL: http://codereview.chromium.org/18375 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8320 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unreferenced WebFrame::IsReloadAllowingStaleData method.darin@chromium.org2009-01-203-16/+0
| | | | | | | | | | (Sending this to you for review since you originally reviewed the CL that added it.) R=brettw Review URL: http://codereview.chromium.org/18412 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8309 0039d316-1c4b-4281-b951-d872f2087c98
* First pass as implementing the greasemonkey API. This patchaa@chromium.org2009-01-173-5/+9
| | | | | | | | | | | | | | | | | | | includes a javascript file with stubbed versions of all the greasemoney API methods as well as changes to the Greasemonkey slave to inject this javascript file along with other user scripts into the page.I also have a userscript I'm using for the unit testing of the API methods. I don't think there is a good place for it in the chrome tree (if there is I'd like to know), but you can view it here: http://skrul.com/greasemonkey/test.user.js Right now all the tests fail except for testLog and testUnsafeWindow. Review URL: http://codereview.chromium.org/18183 Patch from Steve Krulewitz <skrulx@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8247 0039d316-1c4b-4281-b951-d872f2087c98
* Add resource loading glue code for WebMediaPlayerDelegatehclam@chromium.org2009-01-174-1/+116
| | | | | | | | Added glue code to ResourceHandle for WebMediaPlayerDelegate. Review URL: http://codereview.chromium.org/18282 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8246 0039d316-1c4b-4281-b951-d872f2087c98
* Improve scrolling performance when there are many windowed plugins in a page.jam@chromium.org2009-01-166-155/+61
| | | | | | | | This works by parenting windowed plugins with an HWND that's hosted in the browser process, so that no synchronous cross process messages are used when scrolling. BUG=5428 Review URL: http://codereview.chromium.org/18082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8239 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to make it possible to statically link Gears. This is disabled by anmpcomplete@google.com2009-01-163-1/+34
| | | | | | | | | | | #ifdef. This only partially works. Missing pieces: - gears resources for HTML dialogs (permissions, shortcut, settings). - able to compile with a non-official gears build. Review URL: http://codereview.chromium.org/18299 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8238 0039d316-1c4b-4281-b951-d872f2087c98
* Use the PluginData object instead of the PluginInfoStore interface to test fordarin@chromium.org2009-01-161-5/+5
| | | | | | | | | | plugin supported mime types. R=jam Review URL: http://codereview.chromium.org/18141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8219 0039d316-1c4b-4281-b951-d872f2087c98
* Part 2 (webkit/glue side) of cleaning RenderThemeChromiumWin.darin@chromium.org2009-01-162-3/+3
| | | | | | | | R=macdome Review URL: http://codereview.chromium.org/18140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8203 0039d316-1c4b-4281-b951-d872f2087c98
* Restoring a line that got lost in a despacingavi@google.com2009-01-161-0/+1
| | | | | | Review URL: http://codereview.chromium.org/18315 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8177 0039d316-1c4b-4281-b951-d872f2087c98
* Spaces at end of lines begone!avi@google.com2009-01-1623-133/+132
| | | | | | Review URL: http://codereview.chromium.org/18314 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8176 0039d316-1c4b-4281-b951-d872f2087c98
* Block Adobe Reader from issuing NPN_GetURL/NPN_GetURLRequests for URL ↵ananta@chromium.org2009-01-162-0/+2
| | | | | | | | schemes other than http/https/ftp. This mimics Firefox behavior and works around bug http://b/issue?id=1543405 which is a XSS vulnerability in the Adobe Reader plugin where it allows javascript in the parameters passed in to the URL.Bug=1543405R=jam Review URL: http://codereview.chromium.org/18070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8159 0039d316-1c4b-4281-b951-d872f2087c98
* Add data pack file format to the grit output type and enable it for ↵tc@google.com2009-01-161-0/+1
| | | | | | | | | | | | | | | | | | webkit_resources.grd. This only adds support for <include> nodes. <message> nodes are forthcoming. The design doc describing the format is here: http://dev.chromium.org/developers/design-documents/linuxresourcesandlocalizedstrings I hooked into the <release> tag because we need to generate an index at the beginning of the file. The index contains the position of all the resources, so we walk the file at that point. This currently only handles <include> tags, but will be extended to handle <message> as well. Review URL: http://codereview.chromium.org/18215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8147 0039d316-1c4b-4281-b951-d872f2087c98
* Adding support for multiple files in FileChooserzork@google.com2009-01-151-5/+13
| | | | | | | | | BUG=4358 R=darin Review URL: http://codereview.chromium.org/18285 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8134 0039d316-1c4b-4281-b951-d872f2087c98
* Pull plugin files from the Linux build; it's not ready yet.avi@google.com2009-01-151-0/+2
| | | | | | Review URL: http://codereview.chromium.org/18113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8124 0039d316-1c4b-4281-b951-d872f2087c98
* New implementations of core plugin libraries.avi@google.com2009-01-1516-562/+1155
| | | | | | Review URL: http://codereview.chromium.org/17427 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8122 0039d316-1c4b-4281-b951-d872f2087c98
* Fix capitalization build break after r8028mark@chromium.org2009-01-141-1/+1
| | | | | | Review URL: http://codereview.chromium.org/18237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8030 0039d316-1c4b-4281-b951-d872f2087c98
* Fix plugin_tests failurejam@chromium.org2009-01-141-1/+1
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/18236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8029 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build bustage. Update enum names.darin@chromium.org2009-01-144-147/+147
| | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/18235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8028 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the svn:executable bit and make line endings consistent.tc@google.com2009-01-141-31/+31
| | | | | | | | | This matches other .grd files in the tree. TBR=evan Review URL: http://codereview.chromium.org/18231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8026 0039d316-1c4b-4281-b951-d872f2087c98
* Webkit merge 39829:39744, Chromium portion.levin@chromium.org2009-01-141-4/+4
| | | | | | Review URL: http://codereview.chromium.org/18204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7995 0039d316-1c4b-4281-b951-d872f2087c98
* Updating so that Gears can spawn file selectors when running in the renderer ↵zork@google.com2009-01-132-5/+15
| | | | | | | | process Review URL: http://codereview.chromium.org/14907 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7986 0039d316-1c4b-4281-b951-d872f2087c98
* Remove grit hack and inline a 30x30 red square for atc@google.com2009-01-132-8/+18
| | | | | | | | | data resource that we were loading from disk. This should get compiled out in chrome. Rebaseline one test. Review URL: http://codereview.chromium.org/18008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7966 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the regression where Gears didn't load.jam@chromium.org2009-01-131-7/+5
| | | | | | | BUG=6375 Review URL: http://codereview.chromium.org/17393 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7962 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup in preparation for upstreaming.darin@chromium.org2009-01-131-14/+14
| | | | | | | | R=macdome Review URL: http://codereview.chromium.org/17623 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7933 0039d316-1c4b-4281-b951-d872f2087c98
* Remove two static initializers in webkit glue entity map.deanm@chromium.org2009-01-131-8/+5
| | | | | | | Review URL: http://codereview.chromium.org/17360 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7924 0039d316-1c4b-4281-b951-d872f2087c98
* Update PluginInstance to use the newer TLS APIs. This also removes a static ↵deanm@chromium.org2009-01-132-17/+11
| | | | | | | | | initializer. Review URL: http://codereview.chromium.org/17625 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7922 0039d316-1c4b-4281-b951-d872f2087c98
* Adding the elementDoesAutoCompleteForElementWithId method to the ↵jcampan@chromium.org2009-01-132-0/+23
| | | | | | | | layoutTestController class to fix the security/set-form-autocomplete-attribute.html layout test. Review URL: http://codereview.chromium.org/17364 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7915 0039d316-1c4b-4281-b951-d872f2087c98
* Move webkit_resources.rc to webkit_resources.grd. Addtc@google.com2009-01-136-77/+49
| | | | | | | | | | | | | | | | | webkit_resources.vcproj which creates the .rc files and have webkit glue depend on it. I had to add a flag to grit that allows a resource to be in the header, but not in the .rc file. We do this for a test_shell only resource that is not compiled in. SCons build also works on windows. I still need to update the other .sln files and mac build. Review URL: http://codereview.chromium.org/17466 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7910 0039d316-1c4b-4281-b951-d872f2087c98
* Fix layout test failures. Looks like keying the plugins based on ↵jam@chromium.org2009-01-136-141/+121
| | | | | | | | OriginalFileName didn't work, since different filenames might still have the same value (i.e. QuickTime). Instead I did what Firefox does, which is collect the list of directories in one pass, then crawl them in another. Review URL: http://codereview.chromium.org/17367 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7907 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of lowercasing plugin filenames in order to determine if two paths ↵jam@chromium.org2009-01-128-289/+294
| | | | | | | | point to the same plugin. Check plugin versions and load the latest version if multiple versions are found.I've also refactored and cleaned PluginList so that it doesn't depend on PluginLib, which only made sense a long time ago when plugins were loaded in process. Now PluginLib will only be loaded in the plugin process (and not in the browser process as well). Review URL: http://codereview.chromium.org/17451 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7888 0039d316-1c4b-4281-b951-d872f2087c98
* The popup for autofill is now never activated, even when clicked.jcampan@chromium.org2009-01-094-14/+7
| | | | | | | | | | | | | This allows us to hide it when the page loses focus. (doing that previously would have caused the popup to be hidden before the click in the popup was sent to the renderer). Most of the file changes are just renaming focus_on_show to activatable. TEST=Open a form and make an autofill popup. Focus another window, the popup should disappear. Ensure the autofill still work properly, and the combo-box as well. BUG=3844,5830 Review URL: http://codereview.chromium.org/17455 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7823 0039d316-1c4b-4281-b951-d872f2087c98
* Don't overwrite pre-filled values when autofilling a form.tim@chromium.org2009-01-091-0/+2
| | | | | | | | BUG=6197 Review URL: http://codereview.chromium.org/17314 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7822 0039d316-1c4b-4281-b951-d872f2087c98
* Move default plugin resources into separate .h and .rc filestc@google.com2009-01-092-32/+0
| | | | | | | | | | from the other webkit resources. I'm going to convert webkit_resources.rc to a cross platform .grd file so I'm moving the windows specific default plugin code into a separate file. Review URL: http://codereview.chromium.org/17306 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7812 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 39711:39744. This CL includes changes to webkit/glue code.darin@chromium.org2009-01-092-1/+8
| | | | | | | | R=levin Review URL: http://codereview.chromium.org/17319 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7809 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for custom cursors set by windowless plugins. Windowless plugins ↵ananta@chromium.org2009-01-0910-58/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | typically set the cursor in NPP_HandleEvent for WM_MOUSEMOVE.The current implementation looks for the cursor type and if the typedoes not match predefinedcursor types defaults to the pointer cursor. The fixes are as below:- 1. Marshal the HCURSOR after copying it to ensure that it remains valid. This works as a HCURSOR is a user object and can be used across processes. Ideally we would like to convert it to a skia bitmap but there are issues with converting monochrome cursors. 2. Added support for marshaling platform specific data in the webcursor Serialize/Deserialize functions. This is in the form of functions like InitPlatformData, SerializePlatformData, DeserializePlatformData, etc. which are stubbed out for the other platforms. 3. Mimic webkit windowless plugin behavior where it sets a flag to ignore the next setCursor after HandleEvent of WM_MOUSEMOVE. If we don't do this the cursor keeps changing between a pointerCursor and the cursor set by the plugin which also causes flicker. 4. Fixed the WebCursor::IsEqual function to ensure that it checks all fields for equality. 5. The browser(RenderWidgetHostViewWin) now maintains a WebCursor instance representing the current cursor. Any cursor updates received from the renderer update the current cursor member maintained by the browser. 6. We intercept the SetCursor API for windowless plugins like Flash and Silverlight and remember the cursor being set. We don't invoke the original API as the browser UI thread would do it anyways. This fixes the annoying cursor flicker caused by the windowless flash plugin instance constantly setting the cursor even when the tab is not visible. This fixes bug http://code.google.com/p/chromium/issues/detail?id=3800. Review URL: http://codereview.chromium.org/15088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7798 0039d316-1c4b-4281-b951-d872f2087c98
* Add FTP unit test in preparation for portable FTP implementation.erikkay@google.com2009-01-083-17/+32
| | | | | | | | | | | | Clean up test server code. Originally from issue 12939, written by Ibrar Ahmed (ibrar.ahmed@gmail.com) (take 2) Review URL: http://codereview.chromium.org/17040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7755 0039d316-1c4b-4281-b951-d872f2087c98
* Replace stub bogus_webkit_strings.h with real generated header via gritpinkerton@google.com2009-01-082-47/+0
| | | | | | Review URL: http://codereview.chromium.org/17267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7733 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out NPN_Construct.estade@chromium.org2009-01-081-9/+0
| | | | | | Review URL: http://codereview.chromium.org/16564 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7707 0039d316-1c4b-4281-b951-d872f2087c98