summaryrefslogtreecommitdiffstats
path: root/webkit/support/test_webkit_client.cc
Commit message (Collapse)AuthorAgeFilesLines
* Roll Skiabsalomon@google.com2011-04-061-2/+2
| | | | | | | Setup pointers to cmd buffer GLES2 interface in Ganesh Review URL: http://codereview.chromium.org/6691042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80642 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor: Move app/gfx/gl ==> ui/gfx/glbacker@chromium.org2011-03-281-1/+1
| | | | | | | | | | | This is the final patch in the sequence. Note that gl.gyp is introduced because dependency checking on the Mac is done on a per file (rather than per target) basis. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/6722026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79599 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from base to base/memory.levin@chromium.org2011-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed DumpRenderTree build breakage afterkbr@chromium.org2011-03-241-1/+0
| | | | | | | | | | http://codereview.chromium.org/6705015 / http://trac.webkit.org/changeset/81821 . TBR=tkent@chromium.org,tony@chromium.org Review URL: http://codereview.chromium.org/6676103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79223 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit of reverted CL: http://codereview.chromium.org/6677105twiz@chromium.org2011-03-211-0/+2
| | | | | | | | | Addition of GL-redirecting mechanism for the Skia/GPU back-end. During execution of the layout tests (DumpRenderTree), all GL-calls are invoked via Mesa. A GL re-direction mechanism was added to skia in revision (http://code.google.com/p/skia/source/detail?r=937) These changes populate the skia re-direction interface with the gl implementation currently in use in Chrome: The app\gfx\gl bindings. R=kbr, bsalomon Review URL: http://codereview.chromium.org/6708066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78941 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 78801 - Addition of GL-redirecting mechanism for the Skia/GPU ↵bradnelson@google.com2011-03-191-2/+0
| | | | | | | | | | | | | back-end. During execution of the layout tests (DumpRenderTree), all GL-calls are invoked via Mesa. A GL re-direction mechanism was added to skia in revision (http://code.google.com/p/skia/source/detail?r=937) These changes populate the skia re-direction interface with the gl implementation currently in use in Chrome: The app\gfx\gl bindings. R=kbr, bsalomon Review URL: http://codereview.chromium.org/6677105 TBR=twiz@chromium.org R=* Review URL: http://codereview.chromium.org/6712050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78808 0039d316-1c4b-4281-b951-d872f2087c98
* Addition of GL-redirecting mechanism for the Skia/GPU back-end. During ↵twiz@chromium.org2011-03-191-0/+2
| | | | | | | | execution of the layout tests (DumpRenderTree), all GL-calls are invoked via Mesa. A GL re-direction mechanism was added to skia in revision (http://code.google.com/p/skia/source/detail?r=937) These changes populate the skia re-direction interface with the gl implementation currently in use in Chrome: The app\gfx\gl bindings. R=kbr, bsalomon Review URL: http://codereview.chromium.org/6677105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78801 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Gears from Chrome.aa@chromium.org2011-03-111-3/+0
| | | | | | | | | | There are probably a few more bits and pieces that can be removed, but I think this is the majority of it. BUG=51934 Review URL: http://codereview.chromium.org/6576020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77888 0039d316-1c4b-4281-b951-d872f2087c98
* webkit: move SimpleDatabaseSystem into webkit/support/evan@chromium.org2011-03-091-1/+1
| | | | | | | | It is used by DRT and by test_shell, so it belongs in webkit/support/. Review URL: http://codereview.chromium.org/6657011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77550 0039d316-1c4b-4281-b951-d872f2087c98
* Add runtime enabled command-line flag for data transfer itemsdcheng@chromium.org2011-03-081-0/+1
| | | | | | | | | BUG=75233 TEST=none Review URL: http://codereview.chromium.org/6626067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77355 0039d316-1c4b-4281-b951-d872f2087c98
* IndexedDB: Allow injection of keys into values via key path.hans@chromium.org2011-02-171-0/+8
| | | | | | | | | BUG=70118 TEST=browser_tests Review URL: http://codereview.chromium.org/6529021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75258 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit DEPS past WebKit move. Update gyp files and include paths to ↵abarth@chromium.org2011-01-171-19/+19
| | | | | | reflect the move. Consolidate how we DEPS in WebKit source files. Cross fingers. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71586 0039d316-1c4b-4281-b951-d872f2087c98
* Change namespace of WebGraphicsContext3DInProcessImpl based on review feedback.kbr@google.com2011-01-121-1/+1
| | | | | | | | | BUG=none TEST=it compiles Review URL: http://codereview.chromium.org/6166008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71234 0039d316-1c4b-4281-b951-d872f2087c98
* Move the in-process WebGL implementation from the WebKit to thekbr@google.com2011-01-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Chromium repository to break circular dependencies on Chromium's OpenGL bindings in app/gfx/gl. The minimal changes to the code were made in order to break dependencies on WebCore types and to make the code fit the Google C++ style guide as closely as possible. There are many references to undesirable types like "long" in the WebGraphicsContext3D interface, which are the source of the majority of lint errors and which will be fixed in follow-on work. The upstream WebGraphicsContext3DDefaultImpl will be deleted after this lands. Tested: - Various WebGL demos in Chrome - Built and ran WebGL layout tests in DRT BUG=none TEST=none (see above) Review URL: http://codereview.chromium.org/6100009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71069 0039d316-1c4b-4281-b951-d872f2087c98
* Move base/mac_util.h to base/mac and use the base::mac namespace.brettw@chromium.org2011-01-011-2/+2
| | | | | | | | | | | Fix up callers to use the new location & namespace. Remove includes from  files where it wasn't necessary. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/6046009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70359 0039d316-1c4b-4281-b951-d872f2087c98
* Expose Mac WebThemeEngine hooks added by r70278 (and r74581 on the WebKit side)mihaip@chromium.org2010-12-301-1/+1
| | | | | | | | | | | to test_shell/DRT. BUG=23498 TEST=Layout tests Review URL: http://codereview.chromium.org/6090002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70319 0039d316-1c4b-4281-b951-d872f2087c98
* Add form validation message strings.tkent@chromium.org2010-11-251-0/+52
| | | | | | | | | | | | | | | | | | | | | | | * webkit/glue/ - Add overloads of queryLocalizedString() functions They will be added to WebKit::WebKitClient later. - Add implementations for WebLocalizedString::Validation* - Add message strings The English strings are different from WebKit's to avoid the brusque WebKit's strings. Port some messages from Mozilla. * webkit/tools/test_shell/ and webkit/support/ Hook queryLocalizedString() functions in order to return messages same as WebKit in layout test. BUG=28264 TEST=LayoutTests/fast/forms/validationMessage.html Review URL: http://codereview.chromium.org/4678006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67382 0039d316-1c4b-4281-b951-d872f2087c98
* Cleans up the cached resources on valgrind.hbono@chromium.org2010-10-211-0/+3
| | | | | | | | | | The valgrind bots sometimes report the leaks of our cached resources. To fix these occasional leaks, this change cleans up all the cached resources of both our test shell and DumpRenderTree when they run on valgrind. BUG=31800 TEST=make the "WebKit Linux (valgrind layout)" bot greener. Review URL: http://codereview.chromium.org/3861002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63319 0039d316-1c4b-4281-b951-d872f2087c98
* Add DRT support code for FileSystemkinuko@chromium.org2010-10-201-0/+6
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3779005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63164 0039d316-1c4b-4281-b951-d872f2087c98
* Move Stats, histograms, and field trial into a metrics subdirectory of base andbrettw@chromium.org2010-10-141-3/+4
| | | | | | | | | put them in the base namespace. TEST=it compiles BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62510 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed include in test_webkit_clientdavemoore@chromium.org2010-10-101-3/+4
| | | | | | | | | | | | | retrying "Revert 62068 - Move implementation of linux scrollbars from webkit using new" See: http://codereview.chromium.org/3618014 TBR:jam@chromium.org BUG=chromium-os:6857 TEST=Verify that both linux and chromeos scrollbars look right. Review URL: http://codereview.chromium.org/3697001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62093 0039d316-1c4b-4281-b951-d872f2087c98
* webkit_support: Implement createIDBKeysFromSerializedValuesAndKeyPath() for ↵tkent@chromium.org2010-09-241-0/+15
| | | | | | | | | | DumpRenderTree. BUG=none TEST=none; This is a part of test code. Review URL: http://codereview.chromium.org/3479005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60394 0039d316-1c4b-4281-b951-d872f2087c98
* Test shell impl for WebKit's File System API:BUG=52799TEST=nonekkanetkar@chromium.org2010-09-161-0/+6
| | | | | | | | | | | Also refactored a bunch of code from chrome/browser to webkit/fileapi for reuse. Added class hierarchy. Test shell and browser operations now inherit from common webkit/fileapi/file_system_operation. Review URL: http://codereview.chromium.org/3186009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59616 0039d316-1c4b-4281-b951-d872f2087c98
* webkit_support: Implement WebKitClient::blobRegistry().tkent@chromium.org2010-09-061-0/+7
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/3351007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58618 0039d316-1c4b-4281-b951-d872f2087c98
* Reland interval change.mbelshe@chromium.org2010-08-271-3/+0
| | | | | | | | | | | | | Move the chromium.Interval to chrome.Interval as part of the benchmarking extension. This means that users will need to use --enable-benchmarking to access it. It really shouldn't be part of the exposed API. BUG=none TEST=none Review URL: http://codereview.chromium.org/3240001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57638 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 57386: nsylvain@chromium.org2010-08-261-0/+3
| | | | | | | | | | | | | | | | | | | | | The interval test started failing after we rolled back to a previous version of Webkit. This code does not seem to support it. Original description: Move the chromium.Interval to chrome.Interval as part of the benchmarking extension. This means that users will need to use --enable-benchmarking to access it. It really shouldn't be part of the exposed API. BUG=none TEST=none Review URL: http://codereview.chromium.org/3126029 TBR=mbelshe@chromium.org Review URL: http://codereview.chromium.org/3186033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57459 0039d316-1c4b-4281-b951-d872f2087c98
* Move the chromium.Interval to chrome.Interval as part of the benchmarkingmbelshe@chromium.org2010-08-251-3/+0
| | | | | | | | | | | | extension. This means that users will need to use --enable-benchmarking to access it. It really shouldn't be part of the exposed API. BUG=none TEST=none Review URL: http://codereview.chromium.org/3126029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57386 0039d316-1c4b-4281-b951-d872f2087c98
* webkit_support: Implement IndexedDB initialization.tkent@chromium.org2010-08-241-0/+5
| | | | | | | | BUG=none TEST=none; This is a part of test code. Review URL: http://codereview.chromium.org/3176031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57145 0039d316-1c4b-4281-b951-d872f2087c98
* Rename WebFileSystem to WebFileUtilities for corresponding WebKit API changes.kinuko@chromium.org2010-08-181-3/+3
| | | | | | | | | | | | This change depends on an upstream change (not yet rolled): http://trac.webkit.org/changeset/65482 BUG=52355 TESTS=existing tests (like ones under fast/files) should pass Review URL: http://codereview.chromium.org/3153015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56564 0039d316-1c4b-4281-b951-d872f2087c98
* Add #include utf_string_conversions.h to all files that use ASCIIToWide andbrettw@chromium.org2010-08-031-0/+1
| | | | | | | | | | | | | | | ASCIIToUTF16. I removed string_util includes from a few places where it obviously wasn't needed. In a separate pass, I'm going to remove ASCIITo* from string_util, then I'm going to do an even later pass to find the unnecessary string_util.h includes and remove them. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3058027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54746 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some wstrings used in ui_test.cc.evan@chromium.org2010-07-301-1/+1
| | | | | | | | | This removes all switch-related wstring APIs from ui_test.cc, and fixes all the callers. Review URL: http://codereview.chromium.org/3066026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54392 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Move net/socket/ssl_test_util to net/test/test_serverphajdan.jr@chromium.org2010-07-211-1/+1
| | | | | | | | | | | This is a first step to make test server easier to use and more reliable. TEST=none BUG=49680 Review URL: http://codereview.chromium.org/3040011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53137 0039d316-1c4b-4281-b951-d872f2087c98
* * Implement WebPluginPageDelete::GetCookieJar()tkent@google.com2010-07-011-1/+4
| | | | | | | | | | | | | | | * Do not use WebURLLoaderMock for DRT Unfortunately, r50382 (adding WebURLLoader mock) broke some plugin tests. - WebPluginImpl::InitiateHTTPRequest() stores a mocked WebURLLoader to clients_. - WebURLLoaderMock delegates some operations to its internal WebURLLoader. - WebPluginImpl::GetClientInfoFromLoader(WebURLLoader*) compares the specified pointer (non-mocked) to stored loader pointers (mocked). TEST=Covered by LayoutTests BUG=none Review URL: http://codereview.chromium.org/2834031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51345 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a way to mock WebURLLoader in webkit_support.jcivelli@google.com2010-06-211-4/+4
| | | | | | | | | | | | | This was originally in a CL in Webkit (https://bugs.webkit.org/show_bug.cgi?id=39456) but seems to make more sense in webkit_support. BUG=None TEST=None (the above CL makes use of this). Review URL: http://codereview.chromium.org/2749020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50382 0039d316-1c4b-4281-b951-d872f2087c98
* Make HostResolver NonThreadSafe and not thread safe refcounted.willchan@chromium.org2010-06-031-2/+1
| | | | | | | | | | Required making SyncHostResolverBridge not use RefCountedThreadSafe. I refactored the innards to have a thread safe refcounted Core implementation. BUG=45298 Review URL: http://codereview.chromium.org/2122015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48867 0039d316-1c4b-4281-b951-d872f2087c98
* Making webkit_support usable in WebKit unit-tests.jcivelli@google.com2010-05-211-1/+7
| | | | | | | | | | Adding a way to generate custom WebURLLoader (so unit-tests can mock resource loading). BUG=None TEST=DumpRenderTree should work. Review URL: http://codereview.chromium.org/2094017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47954 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the dirfd parameter from all Chromium code. The POSIX VFSdumi@chromium.org2010-05-121-3/+2
| | | | | | | | | | | doesn't need it. BUG=43489 TEST=none Review URL: http://codereview.chromium.org/2055009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47006 0039d316-1c4b-4281-b951-d872f2087c98
* Apply recent changes of test_shell to webkit_support.tkent@google.com2010-05-111-6/+14
| | | | | | | | | | | | | | - Enable some runtime WebKit flags - Use DumpRenderTreePasteboard - Use webkit_glue::WebFileSystemImpl - Use TestShellWebMimeRegistryImpl - Add webkit_support::CreateApplicationCacheHost() BUG=none TEST=none Review URL: http://codereview.chromium.org/2038010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46899 0039d316-1c4b-4281-b951-d872f2087c98
* Update code to point to new location of WebThemeEngine.hjabdelmalek@google.com2010-04-281-1/+1
| | | | | | Review URL: http://codereview.chromium.org/1763014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45767 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanup, remove dead code.michaeln@chromium.org2010-04-261-5/+0
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/1732010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45622 0039d316-1c4b-4281-b951-d872f2087c98
* Enable support for notifications layout tests in test shell.johnnyg@chromium.org2010-04-141-0/+1
| | | | | | | | | | | | | BUG=none TEST=notifications layout tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=44372 Reverted. Review URL: http://codereview.chromium.org/1549039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44515 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 44372 - Enable support for notifications layout tests in test shell.nsylvain@chromium.org2010-04-131-1/+0
| | | | | | | | | | | | BUG=none TEST=notifications layout tests Review URL: http://codereview.chromium.org/1549039 TBR=johnnyg@chromium.org Review URL: http://codereview.chromium.org/1542030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44377 0039d316-1c4b-4281-b951-d872f2087c98
* Enable support for notifications layout tests in test shell.johnnyg@chromium.org2010-04-131-0/+1
| | | | | | | | | BUG=none TEST=notifications layout tests Review URL: http://codereview.chromium.org/1549039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44372 0039d316-1c4b-4281-b951-d872f2087c98
* Some small changes to webkit_support.tkent@google.com2010-03-241-3/+15
| | | | | | | | | | | | | | | | * Add SetAcceptAllCookies(bool) It will be used by LayoutTestController. * Support the media library initialization with Mac bundles * Change the initialization order of MessageLoopForUI and TestWebKitClient This is important for appcache. TEST=none, this is a part of test code BUG=none Review URL: http://codereview.chromium.org/1212004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42439 0039d316-1c4b-4281-b951-d872f2087c98
* Initial change for DumpRrenderTree support librarytkent@google.com2010-03-041-0/+233
This library provides: - An implementation of WebKitClient, - An implementation of WebPlugin, - An implementation of WebMediaPalyer, - Initialization and termination functions, - Two function for database, and - Some functions required by webkit_glue. webkit_support.gyp is not referred by build/all.gyp. A gyp for DRT/chromium in WebKit tree will refer to it. BUG=none TEST=none. This is a part of test code. Review URL: http://codereview.chromium.org/652226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40610 0039d316-1c4b-4281-b951-d872f2087c98