summaryrefslogtreecommitdiffstats
path: root/webkit/glue
Commit message (Collapse)AuthorAgeFilesLines
* Fix ResourceHandle leak.erg@google.com2008-10-061-3/+3
| | | | | | Review URL: http://codereview.chromium.org/6505 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2904 0039d316-1c4b-4281-b951-d872f2087c98
* Update localized_strings.cc post-mergejeremy@chromium.org2008-10-061-1/+3
| | | | | | Review URL: http://codereview.chromium.org/6497 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2890 0039d316-1c4b-4281-b951-d872f2087c98
* Fix LayoutTests/fast/loader/xmlhttprequest-missing-file-exception.htmldarin@chromium.org2008-10-051-3/+5
| | | | | | | | | | | We need to initialize the ResourceResponse out parameter even if the load failed. BUG=3149 R=tony Review URL: http://codereview.chromium.org/6484 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2870 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a DocumentLoader leak by switching from using new to atc@google.com2008-10-034-8/+17
| | | | | | | | | | | | | create method that returns a PassRefPtr. This matches what happens in the Apple windows port. I also changed the RefCounted.h deref() to be more like upstream, but it doesn't actually change how RefCounted works. Also bring the JSC RefCounted to be just like upstream. Review URL: http://codereview.chromium.org/6461 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2855 0039d316-1c4b-4281-b951-d872f2087c98
* We need to layout child frames too!darin@chromium.org2008-10-031-0/+5
| | | | | | | | R=tony Review URL: http://codereview.chromium.org/6437 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2822 0039d316-1c4b-4281-b951-d872f2087c98
* putting the ifdef back the way it needs to be for mac until we can upstream ↵pinkerton@google.com2008-10-021-1/+4
| | | | | | | | other changes Review URL: http://codereview.chromium.org/6405 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2807 0039d316-1c4b-4281-b951-d872f2087c98
* Linux compile fixerg@google.com2008-10-021-2/+2
| | | | | | | | | Fix case of include, filesystem is case sensitive on Linux Patch from icefox. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2800 0039d316-1c4b-4281-b951-d872f2087c98
* port a webkit plugin test to non-win32estade@chromium.org2008-10-022-9/+5
| | | | | | Review URL: http://codereview.chromium.org/5662 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2796 0039d316-1c4b-4281-b951-d872f2087c98
* Merge the chrome_webkit_merge_branch back on to trunk. This brings ustc@google.com2008-10-0145-445/+388
| | | | | | | up to webkit@36102. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2778 0039d316-1c4b-4281-b951-d872f2087c98
* Add the new *accessibility*.cc source files to the SCons build.sgk@google.com2008-10-011-0/+1
| | | | | | Review URL: http://codereview.chromium.org/6042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2761 0039d316-1c4b-4281-b951-d872f2087c98
* Fix painting problem with transparent plugins because plugins were ignoring ↵jam@chromium.org2008-10-017-163/+35
| | | | | | | | | | | | | | | the alpha channel sometimes. This change introduces another buffer which holds the background image for transparent plugins. Before painting these plugins, their backing store is overwritten with the background data. This change also uses an ACK from the renderer to figure out when it can paint, similar to how the renderer does it, which gives us throttling and also doesn't lead to painting when the tab is hidden. Review URL: http://codereview.chromium.org/5040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2744 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes http://code.google.com/p/chromium/issues/detail?id=2803, whichiyengar@google.com2008-10-011-6/+5
| | | | | | | | | | | | | | | | was an issue with windowless flash videos not playing if there were more than 15 instances of flash on the page. The bug occurs because we pass in the HDC of the parent window in the update geometry sequence. The webkit plugin implementation does not do this and only passes the hdc in Paint. The fix is to mimic this behavior. Bug=2803 R=jam Review URL: http://codereview.chromium.org/6024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2743 0039d316-1c4b-4281-b951-d872f2087c98
* Adds MSAA/IAccessible exposure of web content.klink@chromium.org2008-09-302-0/+349
| | | | | | Review URL: http://codereview.chromium.org/4057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2738 0039d316-1c4b-4281-b951-d872f2087c98
* On the Mac, extract the CGContextRef to pass down to WebCore, since a blindamanda@chromium.org2008-09-301-2/+6
| | | | | | | reinterpret_cast will fail miserably. Review URL: http://codereview.chromium.org/5613 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2722 0039d316-1c4b-4281-b951-d872f2087c98
* fix mac/linux builddarin@google.com2008-09-291-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2692 0039d316-1c4b-4281-b951-d872f2087c98
* webkit side of adding a command line switch for fastback.darin@google.com2008-09-292-1/+4
| | | | | | | | | | | patch by abarth@chromium.org R=darin BUG=2879 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2689 0039d316-1c4b-4281-b951-d872f2087c98
* Disable alternate error pages on frames and iframes. This istc@google.com2008-09-291-3/+4
| | | | | | | | | a request from the link doctor team. Add a UI test that verifies that no link doctor page is loaded. Review URL: http://codereview.chromium.org/5032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2684 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug 455: Active match in Find is not selected and links are not focused ↵finnur@google.com2008-09-263-9/+62
| | | | | | | | after you close the Find box. Review URL: http://codereview.chromium.org/4283 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2645 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command-line switch to change the user agent.BUG=757345pkasting@chromium.org2008-09-245-56/+76
| | | | | | Review URL: http://codereview.chromium.org/4059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2571 0039d316-1c4b-4281-b951-d872f2087c98
* retain NSEvent explicitly instead of adopt, fixes over-releasing. Check ↵pinkerton@google.com2008-09-241-3/+3
| | | | | | | | event type on correct variable. Review URL: http://codereview.chromium.org/4069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2562 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use WideToASCII because there is an IsStringASCIIwtc@google.com2008-09-241-1/+4
| | | | | | | | | | | assertion in WideToASCII. Since mime_type comes from an external source, we can't assert that it is 7-bit ASCII. R=darin BUG=b/1361712 Review URL: http://codereview.chromium.org/252 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2554 0039d316-1c4b-4281-b951-d872f2087c98
* This CL adds new UI tests for the SSL UI.jcampan@chromium.org2008-09-244-5/+19
| | | | | | | | | | | | | | | | | | | | Some more info: SSL UI Tests: Added new tests for redirects and frames. Also improved the mixed-content test to exercise the "block mixed-contents" preference and the show info-bar. Automation: For the new UI tests, added methods to tab_proxy and browser_proxy. The ones of most interest are GetLastNavigatinTime and WaitForNavigation that ensures we wait for a navigation to occur or have occured when taking actions that asynchronously trigger navigations. Resource loading: Added a flag to the response we get when loading a resource that indicates whether that resource was filtered (blocked or altered) by the security peer. We use this flag to notify back the browser when we report a load has been committed. This is so the SSL manager knows a frame has been filtered (in which case we have no cert info but should not consider that as unsafe). BUG=2004 Review URL: http://codereview.chromium.org/3165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2553 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes the following bugs:-iyengar@google.com2008-09-242-5/+18
| | | | | | | | | | | | | | | | | | | 1. http://code.google.com/p/chromium/issues/detail?id=1473 2. http://code.google.com/p/chromium/issues/detail?id=1533 Our plugin implementation currently sends the containing frame URL as the default referer in HTTP requests initiated by plugins. Based on a discussion on the Plugin futures mailing list, an agreement has been reached to mimic IE behavior and send in the plugin source URL as the default referer in plugin requests. If the plugin is instantiated with an empty SRC, then use the containing frame URL as the referer. Bug=1473,1533 R=jam Review URL: http://codereview.chromium.org/3180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2539 0039d316-1c4b-4281-b951-d872f2087c98
* port some parts of webkit/glue/plugins/test to Linuxevanm@google.com2008-09-247-76/+109
| | | | | | | | | | | these are not all parts (about a half), but still something BUG=1949 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2534 0039d316-1c4b-4281-b951-d872f2087c98
* This CL enables the Page info menu when right-clicking on a page/frame.jcampan@chromium.org2008-09-233-5/+18
| | | | | | | | | | For the frame case, the SSL info had to be added to the show menu message (as the navigation entry contains the top frame SSL info). BUG=2467 TEST=Open a page over HTTPS with multiple frames. Right-click and select shot page info. Review URL: http://codereview.chromium.org/4034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2504 0039d316-1c4b-4281-b951-d872f2087c98
* Fix linux compile issue. Patch by Adam Treat <treat@kde.org>.amanda@chromium.org2008-09-231-2/+2
| | | | | | | | | Original review at http://codereview.chromium.org/3170 Review URL: http://codereview.chromium.org/4043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2494 0039d316-1c4b-4281-b951-d872f2087c98
* turn on user agent code for macpinkerton@google.com2008-09-231-1/+1
| | | | | | Review URL: http://codereview.chromium.org/4213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2492 0039d316-1c4b-4281-b951-d872f2087c98
* Missed file in webkitjam@chromium.org2008-09-221-3/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2461 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes the following bugs:-iyengar@google.com2008-09-201-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.http://code.google.com/p/chromium/issues/detail?id=292 This was a painting issue in the XStandard plugin. The bug occurs in a windowed instance of the plugin. We handle window repositions in the plugin process until the window becomes visible. We set the SWP_NOREDRAW flag in the SetWindowPos call. This turns off client/non-client paints. After the SetWindowPos call we invalidate the client area. The plugin only receives WM_PAINT as a result. The plugin relies on the WM_NCPAINT message being received as well. In any case the SWP_NOREDRAW flag does not buy us much as we invalidate immediately after. The fix is to take out this flag. 2.http://code.google.com/p/chromium/issues/detail?id=2556 The plugin invoked the NPN_GetValue function to retreive the window script object. This call fails in this case probably because the plugin instance in the renderer process is in the process of shutting down. We return a failure from the call. The plugin fails to check the return code and ends up invoking NPN_GetProperty on a NULL NPObject which causes a crash in chrome when we try to create a proxy for the same. The fix is to add NULL NPObject checks in the NPObjectProxy members and return early. Bug=292,2556 R=jam Review URL: http://codereview.chromium.org/3176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2429 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure webkit/port and webkit/glue are in lower case because libGlue.a ↵tc@google.com2008-09-191-1/+1
| | | | | | looks funny. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2410 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting the fixes for the UI test single-process mode in the NPAPIiyengar@google.com2008-09-192-19/+1
| | | | | | | | | | tests. The offending Stream test has been disabled in single-process mode TBR=jam Review URL: http://codereview.chromium.org/3166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2404 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes the NPAPI ui test failures in single-process mode.These tests ↵iyengar@google.com2008-09-192-2/+19
| | | | | | | | | | | | fail because of a crash in chrome.exe. This occurs because of an attempt to access member variables in the PluginStream object after it gets deleted in the context of NPP_NewStream. This crash only occurs in single-process mode as the NPN_GetURLNotify call executes synchronously. Added a mechanism to track if the PluginStream object is deleted in the context of NPP_NewStream. TBR=jam Review URL: http://codereview.chromium.org/2984 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2401 0039d316-1c4b-4281-b951-d872f2087c98
* This CB fixes the following issue1. ↵iyengar@google.com2008-09-1920-160/+520
| | | | | | | | http://code.google.com/p/chromium/issues/detail?id=206This is a performance issue while loading PDF documents. The fix is to support PDF fast webview, which is basically support for the NPN_RequestRead API, which allows a plugin to request specific byte ranges in HTTP GET requests. This also needs support for seekable streams. Our support for seekable streams is limited to HTTP servers which allow byte range requests. Firefox also supports a mode in which the the browser caches the file on disk for servers which don't support byte range requests. The plugin_data_stream.cc/.h files are being removed as there is not much value in their existence. The needed functionality is available in the PluginStreamUrl class, which now services manual data streams as well. Testing this is a touch tricky as we need a HTTP server which serves byte range requests. Will add those in a subsequent CB.Also fixed a bug in the multipart parser where we need to ignore leading newline characters while parsing the header.Bug=206 Review URL: http://codereview.chromium.org/2896 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2400 0039d316-1c4b-4281-b951-d872f2087c98
* Order of initialization should match declaration. Fixes gcc build break:mmoss@google.com2008-09-171-3/+2
| | | | | | | | | | webkit/glue/webpreferences.h:44: warning: 'WebPreferences::user_style_sheet_enabled' will be initialized after webkit/glue/webpreferences.h:40: warning: 'bool WebPreferences::allow_scripts_to_close_windows' webkit/glue/webpreferences.h:52: warning: when initialized here Review URL: http://codereview.chromium.org/2947 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2336 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new switch: --allow-scripts-to-close-windows.patrick@chromium.org2008-09-172-1/+5
| | | | | | | | | With this switch, window.close() will always be enabled. Currently the switch is only available in test_shell. Review URL: http://codereview.chromium.org/2915 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2333 0039d316-1c4b-4281-b951-d872f2087c98
* add a new xcconfig to build c++ files as obj-c++ to ensure correct linkage. ↵pinkerton@google.com2008-09-171-1/+1
| | | | | | | | Be more specific when using an overloaded operator since objective-c++ finds conflicts. Enable objective-C GC in our common config file for all projects. Review URL: http://codereview.chromium.org/2912 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2305 0039d316-1c4b-4281-b951-d872f2087c98
* Convert CG images to Skia to draw.avi@google.com2008-09-171-0/+52
| | | | | | Review URL: http://codereview.chromium.org/3088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2304 0039d316-1c4b-4281-b951-d872f2087c98
* Unignore most warnings on POSIX in build/SConscript.main.evanm@google.com2008-09-167-14/+26
| | | | | | | | | BUG=2053 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2272 0039d316-1c4b-4281-b951-d872f2087c98
* More linkage (stubbing out willCacheResponse()) for nowavi@google.com2008-09-162-1/+12
| | | | | | Review URL: http://codereview.chromium.org/2900 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2271 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Mac build; we can't pull that one line until it's fixed all the way ↵avi@google.com2008-09-161-1/+4
| | | | | | | | | | down the WebCore chain. TBR Review URL: http://codereview.chromium.org/2893 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2262 0039d316-1c4b-4281-b951-d872f2087c98
* Link fixing.avi@google.com2008-09-162-2/+6
| | | | | | Review URL: http://codereview.chromium.org/2871 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2259 0039d316-1c4b-4281-b951-d872f2087c98
* First stab at lib dependenciesavi@google.com2008-09-151-0/+4
| | | | | | Review URL: http://codereview.chromium.org/3065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2235 0039d316-1c4b-4281-b951-d872f2087c98
* Turn off ActiveX for non-Windows platformsavi@google.com2008-09-152-1/+9
| | | | | | Review URL: http://codereview.chromium.org/2814 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2216 0039d316-1c4b-4281-b951-d872f2087c98
* Fix string conversions for Mac build bustagebrettw@google.com2008-09-131-1/+1
| | | | | | Review URL: http://codereview.chromium.org/2824 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2162 0039d316-1c4b-4281-b951-d872f2087c98
* misc. http response status-line changes:ericroman@google.com2008-09-131-8/+2
| | | | | | | | | | 1. check for http 0.9 responses (no status line) 2. allow up to 4 bytes of junk to precede the http version. 3. distinguish between the parsed vs normalized http version (a TODO needed this). Review URL: http://codereview.chromium.org/1934 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2153 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a Mac compile problem as a result of my recent backout.brettw@google.com2008-09-121-1/+2
| | | | | | Review URL: http://codereview.chromium.org/3032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2149 0039d316-1c4b-4281-b951-d872f2087c98
* Revert the change that fixed the encoding when viewing source in subframes.brettw@google.com2008-09-125-15/+14
| | | | | | | | | This makes view source for some pages (for example Google Reader) not work properly. I speculate that telling WebKit to change the encoding (which causes a reload) right after starting the real load makes it confused. Review URL: http://codereview.chromium.org/3022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2143 0039d316-1c4b-4281-b951-d872f2087c98
* Add DLOG(INFO) before 'TODO: implement me'.fqian@google.com2008-09-121-1/+13
| | | | | | Review URL: http://codereview.chromium.org/3006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2136 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bustage in r2110; fix the return typeavi@google.com2008-09-122-2/+2
| | | | | | Review URL: http://codereview.chromium.org/3007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2115 0039d316-1c4b-4281-b951-d872f2087c98
* Small tweak for platform-free types.avi@google.com2008-09-121-2/+2
| | | | | | Review URL: http://codereview.chromium.org/1958 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2110 0039d316-1c4b-4281-b951-d872f2087c98