summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell
Commit message (Collapse)AuthorAgeFilesLines
* Port some test_shell_tests, and platform cleanup for more of them.tc@google.com2008-11-061-2/+2
| | | | | | | | | | | | | | Many of these files that I don't added to the build would even compile and link, but don't yet pass with current test_shell on Linux. They just hang. Patch from Paweł Hajdan jr <phajdan.jr@gmail.com> on http://codereview.chromium.org/9417 Review URL: http://codereview.chromium.org/9641 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4892 0039d316-1c4b-4281-b951-d872f2087c98
* Fix FEATURE_DEFINES after r4818. Remove HAVE_ACCESSIBILITY from Release (itmark@chromium.org2008-11-061-2/+2
| | | | | | | | | | was already removed from Debug). Remove the trailing space on the FEATURE_DEFINES setting in debug mode; it was causing a DOUBLE space in the --defines string being passed to generate-bindings.pl, of which that script is intolerant. Review URL: http://codereview.chromium.org/9640 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4886 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mac build bustage caused by undefined symbol.darin@google.com2008-11-062-0/+9
| | | | | | | | TBR=pinkerton Review URL: http://codereview.chromium.org/9617 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4852 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate CursorChromium's dependency on webkit/glue.darin@chromium.org2008-11-061-1/+1
| | | | | | | | | | | Also modified WidgetChromium to use ChromiumBridge instead of talking to ChromeClientChromium. I want to eliminate that fake interface in favor of just having our code talk directly to ChromeClientImpl, but that means a dependency on webkit/glue, so I needed to use ChromiumBridge. Long-term, I'd like to propose changes upstream to HostWindow and ChromeClient to avoid this usage of ChromiumBridge. The most impactful part of this CL is the change to move the enumeration of cursor types from WebCursor to PlatformCursor. This means that WebCursor consumers no longer have access to the type enumeration. I replaced that with helper functions on WebCursor. I think the result not only achieves the goal of breaking CursorChromium's dependency on webkit/glue but is also much cleaner. R=iyengar,eseidel Review URL: http://codereview.chromium.org/9072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4846 0039d316-1c4b-4281-b951-d872f2087c98
* Switch from using GdkPixbuf to cairo for painting on Drawables.agl@chromium.org2008-11-061-2/+6
| | | | | | | | | | Make everything use ARGB order in registers (B.G.R.A order in memory on little-endian systems) Review URL: http://codereview.chromium.org/8227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4845 0039d316-1c4b-4281-b951-d872f2087c98
* revert 9391estade@chromium.org2008-11-054-17/+18
| | | | | | Review URL: http://codereview.chromium.org/9607 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4837 0039d316-1c4b-4281-b951-d872f2087c98
* Enabled WebFrameTest, refactored some test shell functions.estade@chromium.org2008-11-054-18/+17
| | | | | | Review URL: http://codereview.chromium.org/9391 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4834 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up test_shell toolbar buttons.evanm@google.com2008-11-051-15/+41
| | | | | | | Review URL: http://codereview.chromium.org/9423 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4793 0039d316-1c4b-4281-b951-d872f2087c98
* make sure the host gets notified of invalidates so we only paint what changespinkerton@google.com2008-11-052-6/+7
| | | | | | Review URL: http://codereview.chromium.org/9419 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4790 0039d316-1c4b-4281-b951-d872f2087c98
* Implement and refactor some test shell functions and enable a test.estade@chromium.org2008-11-058-37/+73
| | | | | | Review URL: http://codereview.chromium.org/9087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4733 0039d316-1c4b-4281-b951-d872f2087c98
* Render GTK widgets on Linuxagl@chromium.org2008-11-051-1/+1
| | | | | | | Review URL: http://codereview.chromium.org/9378 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4722 0039d316-1c4b-4281-b951-d872f2087c98
* Paint regions properly on linux test_shell.tc@google.com2008-11-051-14/+39
| | | | | | | | | | | | | The key was to update paint_rect_ during the DidInvalidateRect. I also added some code for bookkeeping needed for optimized scrolling, but haven't actually hooked it up yet. Most of the other changes were to get more inline with the Windows code. Review URL: http://codereview.chromium.org/9151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4711 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up linux test shell mouse eventstc@google.com2008-11-041-15/+46
| | | | | | | | | | | - button press, release - mouse move - wheel scroll Review URL: http://codereview.chromium.org/9355 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4687 0039d316-1c4b-4281-b951-d872f2087c98
* make it easier to type urls into testshell by adding http if there's no schemepinkerton@google.com2008-11-041-2/+6
| | | | | | Review URL: http://codereview.chromium.org/9138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4672 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Linux/Mac builds after my change to test_shell.mpcomplete@google.com2008-11-042-8/+0
| | | | | | | TBR=jam Review URL: http://codereview.chromium.org/9073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4535 0039d316-1c4b-4281-b951-d872f2087c98
* Finish unforking the async history item changes.mpcomplete@google.com2008-11-042-5/+0
| | | | | | | BUG=3912 Review URL: http://codereview.chromium.org/9273 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4530 0039d316-1c4b-4281-b951-d872f2087c98
* fix build by adding sql and storage files to webcore SConscripttc@google.com2008-11-031-0/+1
| | | | | | | | | | | and adding sqlite to the test_shell dependencies TBR=aa Review URL: http://codereview.chromium.org/9275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4497 0039d316-1c4b-4281-b951-d872f2087c98
* Build database files on the Mac (r4486). Sets HEADER_SEARCH_PATHS and addsmark@chromium.org2008-11-031-0/+43
| | | | | | | | | needed files in third_party/WebKit/WebCore/platform/sql and third_party/WebKit/WebCore/storage to webkit.xcodeproj. Makes TestShell.xcodeproj depend on libsqlite. Review URL: http://codereview.chromium.org/9055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4494 0039d316-1c4b-4281-b951-d872f2087c98
* Port a few more test_shell_tests to Linux.tc@google.com2008-11-032-5/+7
| | | | | | | | | | | Now running 60 tests on Linux. Patch from Paweł Hajdan jr and from: http://codereview.chromium.org/8677/show Review URL: http://codereview.chromium.org/9268 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4483 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up some GTK signals:evanm@google.com2008-11-011-0/+34
| | | | | | | | | | - Enter in URL box loads URL. - Closing the window shuts everything down. Review URL: http://codereview.chromium.org/8780 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4353 0039d316-1c4b-4281-b951-d872f2087c98
* move test_shell_gtk.cc next to test_shell.cctc@google.com2008-10-312-2/+2
| | | | | | | Review URL: http://codereview.chromium.org/8989 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4348 0039d316-1c4b-4281-b951-d872f2087c98
* Merge linux and windows test shells to share code.tc@google.com2008-10-314-219/+36
| | | | | | | | | This also forces the webkit grd files to be run through grit and .h files generated. Review URL: http://codereview.chromium.org/8976 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4345 0039d316-1c4b-4281-b951-d872f2087c98
* fix linux buildtc@google.com2008-10-311-0/+5
| | | | | | | | | Patch by darin Review URL: http://codereview.chromium.org/8793 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4341 0039d316-1c4b-4281-b951-d872f2087c98
* Fix test_shell bustage.darin@chromium.org2008-10-312-5/+5
| | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/8984 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4340 0039d316-1c4b-4281-b951-d872f2087c98
* Get fonts to render in a somewhat recognisable form on Linux.agl@chromium.org2008-10-318-31/+343
| | | | | | | Review URL: http://codereview.chromium.org/8936 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4325 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to using the message loop rather than gtk_main().agl@chromium.org2008-10-305-7/+897
| | | | | | | | | | | Include more code from the main test_shell.cc into the GTK version. Wherever possible the code has been copied and pasted in directly to make the future merge easy. Review URL: http://codereview.chromium.org/8670 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4255 0039d316-1c4b-4281-b951-d872f2087c98
* Landing 36102:37604 merge on trunkdglazkov@google.com2008-10-301-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4222 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the dashboard_compatibility_mode member from the WebPreferenceswtc@google.com2008-10-291-1/+0
| | | | | | | | | | structure. The member is no longer used. R=tony,avi BUG=3834 Review URL: http://codereview.chromium.org/8705 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4183 0039d316-1c4b-4281-b951-d872f2087c98
* Split test_shell.cc into test_shell.cc and test_shell_win.cc.tc@google.com2008-10-296-729/+760
| | | | | | | | | | | | This currently moves too much code out of test_shell.cc, but I wanted to be able to just move code now and I'll refactor stuff back into test_shell.cc I also tried to make test_shell_win.cc conform to google style. Review URL: http://codereview.chromium.org/8209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4182 0039d316-1c4b-4281-b951-d872f2087c98
* adjust for our "toolbar" when resizing the window and content area, as it is ↵pinkerton@google.com2008-10-291-2/+5
| | | | | | | | part of the content (it's not a real toolbar) Review URL: http://codereview.chromium.org/8711 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4159 0039d316-1c4b-4281-b951-d872f2087c98
* Start writing the GTK code for test_shell.agl@chromium.org2008-10-294-21/+182
| | | | | | | Review URL: http://codereview.chromium.org/8000 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4136 0039d316-1c4b-4281-b951-d872f2087c98
* * Revert "Start writing the GTK code for test_shell."agl@chromium.org2008-10-284-182/+21
| | | | | | | | | This reverts commit 54dfed3ab933cea7492ae1ed2f35cdbfe822e8a4. Review URL: http://codereview.chromium.org/8839 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4072 0039d316-1c4b-4281-b951-d872f2087c98
* Start writing the GTK code for test_shell.agl@chromium.org2008-10-284-21/+182
| | | | | | | Review URL: http://codereview.chromium.org/8000 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4071 0039d316-1c4b-4281-b951-d872f2087c98
* Quick fix for image decoder.evanm@google.com2008-10-281-3/+1
| | | | | | | The real bug is that FileEnumerator returns absolute paths on Windows and relative paths on POSIX. :( git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4044 0039d316-1c4b-4281-b951-d872f2087c98
* I missed this reference (broke mac build).ericroman@google.com2008-10-271-0/+1
| | | | | | Review URL: http://codereview.chromium.org/8816 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4039 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb the referrer throughout the OpenURL APIs.ericroman@google.com2008-10-272-0/+2
| | | | | | | | | | | | | http://code.google.com/p/chromium/issues/detail?id=3224 Caveats: * Did not update TabNavigation yet. Hence session restore will continue to load the tabs with empty referrer. * Did not plumb referrer into incognito url open. (Not sure what the right thing to do is here with respect to privacy vs compatibility.) * Did not plumb referrer throughout the automation controller. No functional impact here, but it makes the code inconsistent with the non-automation version. Review URL: http://codereview.chromium.org/8186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4036 0039d316-1c4b-4281-b951-d872f2087c98
* Port a few test_shell_tests. Now it runs 45 of them.evanm@google.com2008-10-274-47/+35
| | | | | | | | | | | | | | | | I removed some files from test_files because scons complains (warns) when a file is both in test_files and input_files. So the files removed from test_files also exist in input_files and at some pointed will be ported anyway. I also made some linking stubs. BUG=3674 Review URL: http://codereview.chromium.org/7974 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4031 0039d316-1c4b-4281-b951-d872f2087c98
* Move Time, TimeDelta and TimeTicks into namespace base.dsh@google.com2008-10-272-0/+5
| | | | | | Review URL: http://codereview.chromium.org/7995 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4022 0039d316-1c4b-4281-b951-d872f2087c98
* Remove duplicate source file definitions in test_shell.sgk@google.com2008-10-251-13/+0
| | | | | | Review URL: http://codereview.chromium.org/8183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3981 0039d316-1c4b-4281-b951-d872f2087c98
* More stubbing out. With this and the rest of Linux pending, test_shell links.agl@chromium.org2008-10-242-2/+19
| | | | | | | | | | | | There doesn't appear to be a WebKit PLATFORM macro for LINUX and, since we're in the middle of a merge, adding one isn't a great idea either. So I'm using __linux__ here. Also, several the stubs were very temporary and since stubbing them required getting their headers to work as well I just aliased them away. Review URL: http://codereview.chromium.org/8131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3964 0039d316-1c4b-4281-b951-d872f2087c98
* make urlbar scroll horizontally rather than wrap, like a real url barpinkerton@google.com2008-10-241-0/+2
| | | | | | Review URL: http://codereview.chromium.org/7978 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3931 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up mouse events with the correct coordinates. Make sure they are ↵pinkerton@google.com2008-10-241-2/+2
| | | | | | | | view-local and flipped. Review URL: http://codereview.chromium.org/8150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3924 0039d316-1c4b-4281-b951-d872f2087c98
* Make eventSender.keyDown() accept both arrays of strings and a single string toolehougaard@google.com2008-10-241-15/+23
| | | | | | | make LayoutTests/fast/forms/legend-access-key.html pass. Review URL: http://codereview.chromium.org/7914 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3911 0039d316-1c4b-4281-b951-d872f2087c98
* Removed test_entry, which became superfluous after type of entry was changed ↵olehougaard@google.com2008-10-241-5/+2
| | | | | | | | to TestNavigationEntry &. Review URL: http://codereview.chromium.org/7812 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3910 0039d316-1c4b-4281-b951-d872f2087c98
* Mucelage changes for Mac TestShell, to work with the current glue in themark@chromium.org2008-10-231-8/+8
| | | | | | | non-PLATFORM(MAC) world. Review URL: http://codereview.chromium.org/8122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3865 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix for Linuxagl@chromium.org2008-10-231-1/+3
| | | | | | | Review URL: http://codereview.chromium.org/8092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3802 0039d316-1c4b-4281-b951-d872f2087c98
* Don't build glue as Objective-C++ now that PLATFORM_MAC is off. Re-sniff gluemark@chromium.org2008-10-231-2/+2
| | | | | | | in all.xcodeproj. Review URL: http://codereview.chromium.org/7901 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3800 0039d316-1c4b-4281-b951-d872f2087c98
* Cut'n'paste enough of the real test shell to fix some more errors.evanm@google.com2008-10-231-0/+88
| | | | | | | | | Note that style errors are due to upstream, not me. Review URL: http://codereview.chromium.org/7903 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3799 0039d316-1c4b-4281-b951-d872f2087c98
* Build libxslt on the Mac. This seems to be needed while disablingmark@chromium.org2008-10-221-0/+43
| | | | | | | PLATFORM(MAC). Review URL: http://codereview.chromium.org/7893 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3786 0039d316-1c4b-4281-b951-d872f2087c98
* Using $CHROME_SRC_DIR in place of hash/..bradnelson@google.com2008-10-221-1/+1
| | | | | | | | This will facilitate changing where the main sconstruct lives. Review URL: http://codereview.chromium.org/7847 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3725 0039d316-1c4b-4281-b951-d872f2087c98