summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* 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-303-0/+357
| | | | | | Review URL: http://codereview.chromium.org/4057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2738 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary copies of .h files into build directories,sgk@google.com2008-09-301-32/+0
| | | | | | | in favor of letting the $CPPPATH lists sort things out. Review URL: http://codereview.chromium.org/6019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2732 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate calling the create-config.sh script (throughsgk@google.com2008-09-302-14/+14
| | | | | | | | | | | | | | | | prebuild.bat on Windows) in favor of generating the WebCore config.h file directly from SCons. (We don't need the other .h file copying that create-config.sh does because the CPPPATH lists in SCons already give us the right /I or -I options to #include files from their source directories.) This also gets rid of an unnecessary "obj" subdirectory in the generated config.h path. We're already in the build directory hierarchy. Review URL: http://codereview.chromium.org/5611 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2731 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some issues found looking at the code.maruel@google.com2008-09-301-0/+1
| | | | | | | | | | Patch from Gaetano Mendola <mendola@gmail.com> Original review: http://codereview.chromium.org/4273 I added some additions on my part and two unit test fix due to the added DCHECK. Reduced atl header inclusion. Review URL: http://codereview.chromium.org/5009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2730 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
* Roll the third_party/icu38 revision in DEPS to have SCons build libicu,sgk@google.com2008-09-262-2/+2
| | | | | | | | | | not libicuuc. Add a new $ICU_LIBS construction variable to allow different platforms to link with different sets of ICU libraries. Use it in the LIBS lists of the various construction environments used to build the things that link with it. Review URL: http://codereview.chromium.org/4312 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2651 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
* Use open-vcdiff for sdch compression on the Macmark@chromium.org2008-09-261-15/+66
| | | | | | Review URL: http://codereview.chromium.org/4096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2628 0039d316-1c4b-4281-b951-d872f2087c98
* Speculative fix for http://b/issue?id=1377375 (crashing bug when opening a ↵ojan@google.com2008-09-261-1/+6
| | | | | | | | | | | | | popup). I wasn't able to repro the bug, but I've spent far too long trying to do so already. This seems like the right fix. Will wait to see that it actually fixes the crash in the wild and then upstream the change to webkit. Review URL: http://codereview.chromium.org/4102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2626 0039d316-1c4b-4281-b951-d872f2087c98
* Repair the SCons test_shell build on Windows:sgk@google.com2008-09-253-12/+12
| | | | | | | | | | | | | * Remove the BUILDING_CHROMIUM__ definition so SCons still builds webkit with the currently-checked-in cairo.h shim instead of the new PLATFORM_SKIA definitions. * Link with the new sdch library. * Remove /WX from the test_shell compilation. * Add the additional platform-specific port source files to the input_files list, don't replace the list with a subset. Review URL: http://codereview.chromium.org/4282 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2617 0039d316-1c4b-4281-b951-d872f2087c98
* Wow, it's been a while since we cleaned EOL.maruel@google.com2008-09-254-457/+457
| | | | | | | | | | | | Ran dos2unix on *.cc, *.h, *.py and SCons*.* Ran for /R /D %a in (*.*) do @if exist %a\.svn\. svn pset svn:eol-style LF %a\*.cc Ran for /R /D %a in (*.*) do @if exist %a\.svn\. svn pset svn:eol-style LF %a\*.h Ran for /R /D %a in (*.*) do @if exist %a\.svn\. svn pset svn:eol-style LF %a\*.py Ran for /R /D %a in (*.*) do @if exist %a\.svn\. svn pset svn:eol-style LF %a\SCons*.* git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2611 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing comma, which caused silent string-pasting of twosgk@google.com2008-09-251-1/+1
| | | | | | | CPPDEFINES values. Review URL: http://codereview.chromium.org/4269 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2594 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to fix Mac build bustagepkasting@chromium.org2008-09-241-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2572 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command-line switch to change the user agent.BUG=757345pkasting@chromium.org2008-09-247-58/+77
| | | | | | Review URL: http://codereview.chromium.org/4059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2571 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bindings generation to pass in POSIX-style / separators in paths.sgk@google.com2008-09-241-5/+20
| | | | | | | (Patch from Brad Nelson @ google.com, pending chromium.org.) Review URL: http://codereview.chromium.org/4071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2567 0039d316-1c4b-4281-b951-d872f2087c98
* Update SCons build of WebKit on Windows:sgk@google.com2008-09-242-7/+2
| | | | | | | | | * Add CHROMIUM_BUILD and _SECURE_ATL defines. * No more tools/test_shell/resources/fonts. * No more /Wp64. Review URL: http://codereview.chromium.org/4070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2565 0039d316-1c4b-4281-b951-d872f2087c98
* retain NSEvent explicitly instead of adopt, fixes over-releasing. Check ↵pinkerton@google.com2008-09-242-4/+10
| | | | | | | | 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-246-13/+40
| | | | | | | | | | | | | | | | | | | | 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
* Enforce Terminate on Heap Corruption in most of our executable on Windows XP ↵maruel@google.com2008-09-242-219/+222
| | | | | | | | | | | SP3 or Vista. This won't submit the crash dump but it's still better than nothing. Fix broken alignment on test_shell_main.cc. Review URL: http://codereview.chromium.org/3105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2546 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable any use of Xlib in our code until we get the X developmentevanm@google.com2008-09-241-0/+6
| | | | | | | libs on the buildbots. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2544 0039d316-1c4b-4281-b951-d872f2087c98
* Don't require the ICU DLL on non-Windows platforms.evanm@google.com2008-09-241-1/+2
| | | | | | | (I'm not sure how this was building before...?) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2543 0039d316-1c4b-4281-b951-d872f2087c98
* my efforts of porting webkit/tools/npapi_layout_test_plugin to Linuxevanm@google.com2008-09-245-43/+96
| | | | | | | | | | | | libnpapi_layout_test_plugin.so gets created, but I don't know how to check whether it works BUG=1327 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2541 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-248-77/+110
| | | | | | | | | | | 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
* Fix the Mac TestShell following r2517mark@chromium.org2008-09-231-1/+2
| | | | | | Review URL: http://codereview.chromium.org/3402 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2524 0039d316-1c4b-4281-b951-d872f2087c98
* Make the Mac TestShell finish launching without crashing by hooking up mymark@chromium.org2008-09-231-3/+6
| | | | | | | MessagePump Review URL: http://codereview.chromium.org/4601 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2522 0039d316-1c4b-4281-b951-d872f2087c98
* The ContextMenuCapturing.ContextMenuCapturing test from the test shell tests ↵jcampan@chromium.org2008-09-232-2/+4
| | | | | | | | | | | was broken. It was caused by my previous change 4043 (adding page info to right-click menu). I modified an API and did not propagate the change to test shell, so the default (empty) implementation was used. TBR=nsylvain Review URL: http://codereview.chromium.org/4235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2517 0039d316-1c4b-4281-b951-d872f2087c98
* Fix SCons build following r2490mark@chromium.org2008-09-231-11/+8
| | | | | | Review URL: http://codereview.chromium.org/4225 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2507 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
* Fixed mis-used inline keyword in v8_proxy.h file. Linux build is broken ↵fqian@google.com2008-09-232-21/+15
| | | | | | | | because of this. Thanks for pointing it out. Review URL: http://codereview.chromium.org/4218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2495 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
* Use static type information from IDL to streamline the wrapping and ↵fqian@google.com2008-09-2310-380/+521
| | | | | | | | | | | | | | | | | | | unwrapping process between DOM nodes and JS objects. The basic idea is that, IDL files provide static type information. Certain types, such as subtypes of Node, only need 'NODE' has type for wrapping and unwrapping. So, intead of going through a gigatic switch statement, IDL compiler generates fast path for know types, the CL only does it for Node and subtypes. I have seen it improves DOM-peerable example by 5% when running standalone, and 35% when running with whole Dromaeo tests. I missed the another point of this CB. It removed expensive MaybeDOMWrapper checks in production code. It contributes a lot to the overhead. Review URL: http://codereview.chromium.org/3195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2490 0039d316-1c4b-4281-b951-d872f2087c98
* initialize the command line singletonpinkerton@google.com2008-09-231-0/+1
| | | | | | Review URL: http://codereview.chromium.org/4038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2484 0039d316-1c4b-4281-b951-d872f2087c98
* Roll the icu38 revision in the DEPS file to change the name ofsgk@google.com2008-09-232-2/+2
| | | | | | | | | our combined-build icuuc.lib to icu.lib. Change solution file references accordingly. Also change libxml patch and Makefile references Review URL: http://codereview.chromium.org/4027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2480 0039d316-1c4b-4281-b951-d872f2087c98
* Move Peerable to its own file and use single inheritance forager@google.com2008-09-234-16/+33
| | | | | | | NonCopyable. Review URL: http://codereview.chromium.org/4209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2479 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land SDCH filter support experimentjar@google.com2008-09-232-0/+18
| | | | | | | | | | | Fix up solution files for webkit and net Add one line keyword change to help linux build r=hunanr,openvcdiff,nsylvain Review URL: http://codereview.chromium.org/4026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2469 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-192-3/+3
| | | | | | looks funny. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2410 0039d316-1c4b-4281-b951-d872f2087c98
* Add empty stub to get classname so ImageMac can use it.pinkerton@google.com2008-09-192-2/+26
| | | | | | Review URL: http://codereview.chromium.org/3169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2409 0039d316-1c4b-4281-b951-d872f2087c98
* windows.h isn't needed, remove itpinkerton@google.com2008-09-191-1/+0
| | | | | | Review URL: http://codereview.chromium.org/3168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2407 0039d316-1c4b-4281-b951-d872f2087c98
* add computePageRectsForFrame from FrameWin to resolve a link error. pinkerton@google.com2008-09-191-0/+52
| | | | | | Review URL: http://codereview.chromium.org/3167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2405 0039d316-1c4b-4281-b951-d872f2087c98