summaryrefslogtreecommitdiffstats
path: root/webkit/glue
Commit message (Collapse)AuthorAgeFilesLines
* Context menus for text selections in editable boxes and links should include ↵pkasting@chromium.org2009-01-283-59/+54
| | | | | | | | the Search menu item. Original patch by Brian Duff (see http://codereview.chromium.org/16510 ), r=me. BUG=1925 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8815 0039d316-1c4b-4281-b951-d872f2087c98
* Unit test addition, cleanup for render_process/thread.jrg@chromium.org2009-01-281-0/+29
| | | | | | Review URL: http://codereview.chromium.org/19606 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8782 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of WebKit Merge 40165:40297playmobil@google.com2009-01-285-9/+7
| | | | | | Review URL: http://codereview.chromium.org/19603 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8776 0039d316-1c4b-4281-b951-d872f2087c98
* Adobe Reader 7 expects the load_manually flag to be set when being ↵ananta@chromium.org2009-01-272-5/+6
| | | | | | | | | | | | | | | | | | | | | instantiated. This only causes an issue when we reinitialize the plugin when we receive a HTTP 200 response for a byte range request. We were setting the load_manually flag to false as we would be handing off the data to the plugin. However Reader 7 puts up a message box in its NPP_New call indicating that the operation failed. It then returns an error which causes the renderer to crash as we dereference a NULL plugin delegate pointer. We also force an invalidate when the plugin is reinitialized as the page does not paint at times. The other fix is to pass down the plugin mime type correctly to WebPluginImpl. This fixes http://code.google.com/p/chromium/issues/detail?id=6318 Bug=6318 Review URL: http://codereview.chromium.org/18831 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8765 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for UA spoofing, and spoof Safari's UA string when loading URLsdarin@chromium.org2009-01-274-17/+36
| | | | | | | | | | | from *.mail.live.com (to fix hotmail). BUG=4111 R=wtc Review URL: http://codereview.chromium.org/19025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8764 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: gfx::NativeViewId and CrossProcessEventagl@chromium.org2009-01-276-20/+19
| | | | | | | | | | | | | | | | | | | Create a couple new typedefs for porting work. Firstly, gfx::NativeViewId is a handle to a platform specific widget in the renderer process. For Windows, this is just a HWND as before. However, in other platforms the ids used in the renderer process will be something else. CrossProcessEvent is the type of a HANDLE to a Windows event object which is used across processes. Since we aren't going to support these sorts of events on non-Windows platforms, this will have to go away at some point. For now, however, this lets us build code without too many ifdefs all over the place. Review URL: http://codereview.chromium.org/18768 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8756 0039d316-1c4b-4281-b951-d872f2087c98
* Move glue.vcproj and glue.vsprops into the webkit/glue directory next to ↵tc@google.com2009-01-272-0/+781
| | | | | | | | | webkit/glue/SConscript. This is how we organize all the other google vcproj files. Review URL: http://codereview.chromium.org/18695 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8738 0039d316-1c4b-4281-b951-d872f2087c98
* render_* work.jrg@chromium.org2009-01-271-15/+8
| | | | | | Review URL: http://codereview.chromium.org/18650 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8732 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in bug 6315.kuchhal@chromium.org2009-01-262-4/+7
| | | | | | | | | BUG=6315 Review URL: http://codereview.chromium.org/18672 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8679 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to fix a IAT unpatch crash.deanm@chromium.org2009-01-242-58/+58
| | | | | | | | | | | | | The IAT destructor (which will unpatch) now should run at AtExitManager shutdown, which is before we return from main(). It was a static constructor (bad), which registers an atexit() destructor which happens sometime during ExitProcess / LdrShutdown. Also this removes some static constructors (the iat patchers, the throttle_queue, etc). I removed a StatsCounter completely, removing its static initializer. BUG=6886 Review URL: http://codereview.chromium.org/18712 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8613 0039d316-1c4b-4281-b951-d872f2087c98
* No functional change. Delete trailing whitespace and word-wrap to 80 columns.evan@chromium.org2009-01-244-28/+36
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8609 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of webkit merge to r40164.tc@google.com2009-01-242-7/+9
| | | | | | | | One file added between r40124 and r40164, however, all the worker files didn't seem to be in the xcode project so I added all of them. Review URL: http://codereview.chromium.org/18733 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8601 0039d316-1c4b-4281-b951-d872f2087c98
* Load plugin metadata (mime types, etc.) on Linux.evan@chromium.org2009-01-242-28/+63
| | | | | | | | | Verified to work with at least Flash 10. Review URL: http://codereview.chromium.org/18571 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8600 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome part of the Webkit related CL.jcampan@chromium.org2009-01-231-0/+1
| | | | | | Review URL: http://codereview.chromium.org/16815 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8585 0039d316-1c4b-4281-b951-d872f2087c98
* Install the npapi_test_plugin in the same way we did the layout_test one.evan@chromium.org2009-01-231-1/+3
| | | | | | | Review URL: http://codereview.chromium.org/18563 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8582 0039d316-1c4b-4281-b951-d872f2087c98
* A quick fix for "Issue 6252: Regression: IME candidate window showing far ↵hbono@chromium.org2009-01-231-5/+2
| | | | | | | | | | | | away from the input box". This issue is caused by a recent WebKit merge that changes the behavior of the ScrollView::contentsToWindow() function. To fix this issue, this change uses the SelectionController::absoluteCaretBounds() function instead of calling the ScrollView::contentsToWindow() function. BUG=6252 Review URL: http://codereview.chromium.org/17638 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8550 0039d316-1c4b-4281-b951-d872f2087c98
* Relands 8521, it isn't the culprit. Sorry John.sky@google.com2009-01-232-14/+0
| | | | | | | | | BUG=none TEST=none TBR=jam Review URL: http://codereview.chromium.org/18706 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8547 0039d316-1c4b-4281-b951-d872f2087c98
* Backs out r8521 in hopes of greener trees.sky@google.com2009-01-232-0/+14
| | | | | | | | | BUG=none TEST=none TBR=jam Review URL: http://codereview.chromium.org/18545 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8546 0039d316-1c4b-4281-b951-d872f2087c98
* Linux plugin loader loads and unloads .so files.evan@chromium.org2009-01-231-5/+45
| | | | | | | Review URL: http://codereview.chromium.org/18539 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8535 0039d316-1c4b-4281-b951-d872f2087c98
* Do the SCons hackery necessary to get the test plugin in the right directory.evan@chromium.org2009-01-231-3/+8
| | | | | | | Review URL: http://codereview.chromium.org/18696 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8530 0039d316-1c4b-4281-b951-d872f2087c98
* Fix reloading a page with a pdf not working. The problem was that we were ↵jam@chromium.org2009-01-222-14/+0
| | | | | | | | sending an invalid window to DeferWindowPos (the previous window as it's going away). But we didn't really need to override setParentVisible since overriding setParent is enough. Review URL: http://codereview.chromium.org/18519 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8521 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of webkit merge to 40124.tc@google.com2009-01-222-3/+7
| | | | | | | | | | | | Not much here other than CanvasPixelArray being re-added in webkit@r40089. Changes: http://trac.webkit.org/changeset?new=40124@trunk&old=40086@trunk Review URL: http://codereview.chromium.org/16617 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8520 0039d316-1c4b-4281-b951-d872f2087c98
* Mac default plugin.avi@chromium.org2009-01-224-82/+108
| | | | | | Review URL: http://codereview.chromium.org/18394 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8512 0039d316-1c4b-4281-b951-d872f2087c98
* Build some basic plugin code on Linux.evan@chromium.org2009-01-225-24/+103
| | | | | | | | | Mostly style tweaks as I read some files, and some NOTIMPLEMENTED stubs. Review URL: http://codereview.chromium.org/18685 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8508 0039d316-1c4b-4281-b951-d872f2087c98
* 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