summaryrefslogtreecommitdiffstats
path: root/webkit/glue
Commit message (Collapse)AuthorAgeFilesLines
* Add FTP unit test in preparation for portable FTP implementation.erikkay@google.com2009-01-083-17/+32
| | | | | | | | | | | | Clean up test server code. Originally from issue 12939, written by Ibrar Ahmed (ibrar.ahmed@gmail.com) (take 2) Review URL: http://codereview.chromium.org/17040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7755 0039d316-1c4b-4281-b951-d872f2087c98
* Replace stub bogus_webkit_strings.h with real generated header via gritpinkerton@google.com2009-01-082-47/+0
| | | | | | Review URL: http://codereview.chromium.org/17267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7733 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out NPN_Construct.estade@chromium.org2009-01-081-9/+0
| | | | | | Review URL: http://codereview.chromium.org/16564 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7707 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 39606:39660dimich@google.com2009-01-072-0/+2
| | | | | | Review URL: http://codereview.chromium.org/17239 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7684 0039d316-1c4b-4281-b951-d872f2087c98
* Change "dll" to "plugin" where appropriate.avi@google.com2009-01-066-25/+29
| | | | | | Review URL: http://codereview.chromium.org/16543 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7617 0039d316-1c4b-4281-b951-d872f2087c98
* Move plugins to FilePaths, some cleanupavi@google.com2009-01-0610-97/+125
| | | | | | Review URL: http://codereview.chromium.org/16456 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7588 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor the render widget unittest so it can be reused to create a render viewbrettw@chromium.org2009-01-054-13/+7
| | | | | | | | | | | | | | | | | unit test. Change the mock render thread to save all IPC messages it is asked to send so that tests can verify that the correct ones were sent. There are some new functions that support this checking. Plumb the form state change notification through the render view so that we will correctly update the form state to the browser. Write two RenderView unit tests. One arbitrarily tests OnLoadAlternateHTMLText which I used as a testcase for my testing framework. The other tests the above form state change notification. I had to expose the timeout of this message through the RenderView API so that the test can change it. Review URL: http://codereview.chromium.org/16482 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7549 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 7508.7509 and 7510nsylvain@chromium.org2008-12-303-32/+17
| | | | | | Review URL: http://codereview.chromium.org/17030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7514 0039d316-1c4b-4281-b951-d872f2087c98
* Add FTP unit test in preparation for portable FTP implementation.erikkay@google.com2008-12-303-17/+32
| | | | | | | | | | | Clean up test server code. Originally from issue 12939, written by Ibrar Ahmed (ibrar.ahmed@gmail.com) Review URL: http://codereview.chromium.org/16490 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7508 0039d316-1c4b-4281-b951-d872f2087c98
* Adjusting the name of a function to make it more descriptive.avi@google.com2008-12-305-9/+10
| | | | | | Review URL: http://codereview.chromium.org/16489 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7504 0039d316-1c4b-4281-b951-d872f2087c98
* * Bring up render_mesages.cc on POSIX.jeremy@chromium.org2008-12-292-12/+0
| | | | | | | | | * Add Pickle::Read/WriteUint32 & ParamTraits<uint32>. * Removed NSEvent from WebInputEvent since it appears not to be needed anymore. Review URL: http://codereview.chromium.org/16479 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7484 0039d316-1c4b-4281-b951-d872f2087c98
* Mass convert ChromeStaticLibrary -> ChromeLibrary, including pulling the ↵evanm@google.com2008-12-261-1/+1
| | | | | | | | | | | updated ICU dep that uses it as well. Add a SHARED scons command-line flag to build shared libraries. Review URL: http://codereview.chromium.org/16477 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7479 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out some plugin functions to make the dynamic linker happy.evanm@google.com2008-12-262-1/+32
| | | | | | | | | With this change, test_shell_tests can link with dynamic libraries. Review URL: http://codereview.chromium.org/16476 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7474 0039d316-1c4b-4281-b951-d872f2087c98
* Kill PlatformScreenMac.mmdarin@google.com2008-12-231-0/+67
| | | | | | | | | | | | | | | | Replace it with an implementation of GetScreenInfoHelper like the other platforms. This webkit glue function is implemented in webkit_glue_mac.mm. Now that we have a GetScreenInfoHelper implemented for each platform, I moved the implementation of GetScreenInfo into test_shell.cc. R=dglazkov Review URL: http://codereview.chromium.org/16470 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7453 0039d316-1c4b-4281-b951-d872f2087c98
* Expand comment for shouldUseCredentialStorage stub, explaining what it mightpamg@google.com2008-12-231-3/+9
| | | | | | | | | | eventually do. BUG=none TEST=none Review URL: http://codereview.chromium.org/16433 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7396 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for pauseAnimationAtTimeOnElementWithId andsky@google.com2008-12-222-2/+63
| | | | | | | | | | | | pauseTransitionAtTimeOnElementWithId to layout test controller so that we can pass a couple of additional tests. BUG=5801 TEST=none Review URL: http://codereview.chromium.org/16216 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7379 0039d316-1c4b-4281-b951-d872f2087c98
* Move RenderThemeWin to WebCore/rendering and rename it to ↵dglazkov@google.com2008-12-222-2/+2
| | | | | | | | | | RenderThemeChromiumWin (for now) R=darin Review URL: http://codereview.chromium.org/16211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7372 0039d316-1c4b-4281-b951-d872f2087c98
* Handle cases where the multipart boundary is improperly prefixed with "--".darin@chromium.org2008-12-223-1/+33
| | | | | | | | | | | The change to webkit_glue::InitializeForTesting is to make it possible to just run the multipart tests using --gtest_filter. R=tony BUG=5786 Review URL: http://codereview.chromium.org/16420 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7364 0039d316-1c4b-4281-b951-d872f2087c98
* Some cleanup in webkit/.darin@chromium.org2008-12-221-58/+66
| | | | | | | | | | | | | | | | 1. Kill a gtest include in UniscribeHelper.h. 2. Kill a webkit_glue:: type used in MediaPlayerPrivateChromium.h 3. Remove the dummy MediaPlayerPrivateChromium.cpp, which has been superceded by webkit/glue/media_player_private_impl.cc 4. Cleanup some webkit style errors. R=dglazkov Review URL: http://codereview.chromium.org/16404 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7357 0039d316-1c4b-4281-b951-d872f2087c98
* cChrome side of WebKit merge 39369:39410.pamg@google.com2008-12-222-0/+17
| | | | | | | | | | | | * Move files from platform/graphics into platform/animation and platform/graphics/transforms and update include path * Add stubs for two new methods in FrameLoaderClient * Re-baseline one new layout test for Windows and add two to tests_fixable. Review URL: http://codereview.chromium.org/14917 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7352 0039d316-1c4b-4281-b951-d872f2087c98
* Fix line endings to be LF, and set svn:eol-style to keep it that way.darin@chromium.org2008-12-201-2/+2
| | | | | | | | TBR=eseidel Review URL: http://codereview.chromium.org/16403 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7349 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of another base/ include by inlining the NSView/HWND/GtkWidget typdefs.eseidel@chromium.org2008-12-201-4/+10
| | | | | | Review URL: http://codereview.chromium.org/13770 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7348 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependencies from port on base/gfx/native_theme and base/win_util. ↵darin@chromium.org2008-12-201-1/+103
| | | | | | | | | | Introduce plaform/chromium/ChromiumUtilsWin and extend ChromiumBridge to access wrappers for uxtheme calls. R=dglazkov Review URL: http://codereview.chromium.org/15101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7346 0039d316-1c4b-4281-b951-d872f2087c98
* Initial generation of native Visual Studio solution filessgk@google.com2008-12-192-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (project files still to come). To wit: * Solution file configuration is in *_sln.scons files (base\base_sln.scons, chrome\chrome_sln.scons). * Individual Project file configuration is in the the .scons file for the relevant target (base\base_unittests.scons, third_party\libxml\libxml.scons, etc.)--that is, where their file lists will live. * MSVSProject() calls are currently placeholders that establish the existence of Project Nodes (and Project dependencies) but don't yet have actual Project configuration information (file lists, .vsprops, etc.). * Configuraiton is very manual. In particular, the entries in the .sln file will be written out in exactly the order specified in the configuration(s). The current ordering is taken from our existing .sln files, so we can generate virtually the same configurations on output. * Generated solution files are nearly byte-for-byte identical with our existing .sln files, modulo: * net\dump_cache has a WebsiteProperties sections (making that configurable per project isn't important right now); * sandbox\sandbox.sln was missing a dependency of base.vcproj on on debug_message.vcproj (present in other .sln files) * webkit\webkit.sln was missing dependencies of WebCore.vcproj on libxml_config.vcproj and libxslt_config.vcproj (present in chrome.sln); * add a handful of other miscellaneous missing dependencies on various .vcproj definitions in chrome.sln (present in other .sln files). * remove stats_viewer.csproj from chrome.sln (sorry, mbelshe), which was complicating the solution configuration with unnecessary (for us) "Mixed Platform" types; * All MSVSFolder(), MSVSProject() and MSVSSolution() calls have hard-wired guid= values taken from our existing configuration, so we can: 1) verify generation of working configs; 2) minimize diffs when checking in generated .sln files. We can remove these in the future in favor of extracting them from existing .sln files if we wish. * Add ChromeMSVSFolder(), ChromeMSVSProject() and ChromeMSVSSolution() wrappers to chromium_builders.py, that gate the underlying call to the env.MSVS*() builders based on whether env.Bit('msvs') is set (i.e., we're in --mode=msvs). * Remove platform-specific gating of to-be-ported .scons files that we now need to load on any platform to generate coheren MSVS files. Move the env.Bit('windows') tests for actually building their executables into the individual .scons files. Review URL: http://codereview.chromium.org/14472 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7297 0039d316-1c4b-4281-b951-d872f2087c98
* Added the new isCommandEnabled() layout test function to the layout test ↵estade@chromium.org2008-12-183-0/+12
| | | | | | | | | | controller. Fixes one new layout test. Review URL: http://codereview.chromium.org/14871 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7277 0039d316-1c4b-4281-b951-d872f2087c98
* Convert from using env['PLATFORM'] directly to using the more flexiblesgk@google.com2008-12-182-9/+9
| | | | | | | | | | | | | | | | | | and better-thought-out Hammer env.Bits() idioms: * env['PLATFORM'] == 'win32' => env.Bit('windows') * env['PLATFORM'] == 'posix' => env.Bit('linux') * env['PLATFORM'] == 'darwin' => env.Bit('mac') New idioms: * env.Bit('posix') => really does mean "any POSIX platform" * env.AnyBits('mac', 'linux') => specifically mac or linux, excluding other POSIX platforms Where we were using compound conditionals (e.g., "env['PLATFORM'] in ('posix', 'darwin')") I tried to take my best shot at translating the intent (i.e., "env.Bits('posix')" for something POSIX, "not env.Bits('mac')" for something not yet ported to Mac, etc.) Review URL: http://codereview.chromium.org/15051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7270 0039d316-1c4b-4281-b951-d872f2087c98
* We now show the form autofill when the user does any of these on a focused ↵jcampan@chromium.org2008-12-184-5/+73
| | | | | | | | | | | | | | | empty text-field: - presses the up/down arrow key - left-clicks it The other browsers have that feature. BUG=5130 TEST=See bug. Review URL: http://codereview.chromium.org/14852 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7269 0039d316-1c4b-4281-b951-d872f2087c98
* Bridge out media player from MediaPlayerPrivate.hclam@chromium.org2008-12-189-2/+584
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove MediaPlayerPrivateChromium.cpp and move it to webkit/glue/media_player_private_impl.cc - Added the following classes: WebMediaPlayer WebMediaPlayerImpl WebMediaPlayerDelegate WebMediaPlayerDelegateImpl TestWebMediaPlayerDelegate VideoStackMediaPlayer (Just a forward declaration) - One include fix for webkit/glue/webframe.h - Overview of what each class is doing: WebMediaPlayer and WebMediaPlayerImpl Wrapper over the MediaPlayerPrivate, it provides methods like Repaint(), NotifyNetworkStateChange(), etc to VideoStackMediaPlayer. It also creates the ResourceHandle for VideoStackMediaPlayer for resource loading, or maybe VideoStackMediaPlayer can simply use webkit_glue::ResourceDispatcher? WebMediaPlayerDelegate, WebMediaPlayerDelegateImpl Delegate calls from webkit to the internal media player. MediaPlayerPrivate Forward calls to WebMidiaPlayerDelegate, creates WebMediaPlayerDelegate and WebMediaPlayer in the constructor. Expose some public methods to WebMediaPlayer so we can actually do repaint and notification of changes. Review URL: http://codereview.chromium.org/13762 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7256 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a leak of a ResourceHandle that happens with synchronous XMLHttpRequests,asargent@chromium.org2008-12-181-1/+1
| | | | | | | | | | | | | | by using adoptRef() to get the reference count right. BUG=5369 http://codereview.chromium.org/15019 R=darin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7252 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of unforking. I need to pull WebKit with the change that unforks ↵brettw@google.com2008-12-182-4/+24
| | | | | | | | | | | | KURL.h This makes us defile USE(GOOGLEURL) and use that instead of USE_GOOGLE_URL_LIBRARY. I also fixed some places to be able to compile without it if possible (I think I will be wanting that capability in the future to test changes they may make upstream). Review URL: http://codereview.chromium.org/14494 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7231 0039d316-1c4b-4281-b951-d872f2087c98
* Move the "platform" wrappers in skia/ext to the skia namespace.brettw@google.com2008-12-178-17/+17
| | | | | | Review URL: http://codereview.chromium.org/14110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7182 0039d316-1c4b-4281-b951-d872f2087c98
* Handle HTTP 200 responses received in response to byte range requests issued ↵ananta@chromium.org2008-12-1711-47/+214
| | | | | | | | by the plugin. This means that the server does not support byte range requests. Firefox handles this by destroying the current plugin instance and creating a new instance to handle the response. The stream which is created to pass the data off to the plugin is not seekable.Fix is to emulate Firefox behavior. Will work on unit testing the NPN_RequestRead related code in a separate CB. This fixes http://code.google.com/p/chromium/issues/detail?id=5403Bug=5403 Review URL: http://codereview.chromium.org/14122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7139 0039d316-1c4b-4281-b951-d872f2087c98
* Add a reference I forgot to add. I didn't mean to copy this string.brettw@google.com2008-12-161-1/+1
| | | | | | Review URL: http://codereview.chromium.org/14171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7110 0039d316-1c4b-4281-b951-d872f2087c98
* Switch back svn:eol-style=native for .sln, .vcproj and .vsprops files.maruel@chromium.org2008-12-161-264/+264
| | | | | | | Patch fails otherwise on non-Windows platforms. Review URL: http://codereview.chromium.org/14478 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7093 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Merge 39143:39309, Part 8 (port side)dglazkov@google.com2008-12-163-2/+5
| | | | | | Review URL: http://codereview.chromium.org/14140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7040 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to the autofill popup:jcampan@chromium.org2008-12-162-16/+46
| | | | | | | | | | | - we now reuse the existing popup if there is one (instead of creating a new on with each key stoke), this prevents the flickering we used to see. - we don't hide the popup on every key stroke, instead we rely on the client editor telling us the field is not being edited anymore. TEST=Enter some text in a form's text field several times, the autofill should show and not flicker. BUG=5258 Review URL: http://codereview.chromium.org/14100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7017 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a NOTIMPLEMENTED() that is obvious and cluttering our debug output.evanm@google.com2008-12-151-1/+0
| | | | | | | Review URL: http://codereview.chromium.org/14109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7009 0039d316-1c4b-4281-b951-d872f2087c98
* fix buildtc@google.com2008-12-151-2/+2
| | | | | | | | | | | initializer list was in the wrong order TBR=sidchat Review URL: http://codereview.chromium.org/14202 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7003 0039d316-1c4b-4281-b951-d872f2087c98
* Add "Enable spell check for this field" menu option in sub context menu for ↵sidchat@google.com2008-12-159-43/+73
| | | | | | | | context menu over text box, and deploy its functionality accordingly across the code. This patch also allows manual switch-on of spell check in single line text box fields. Review URL: http://codereview.chromium.org/13731 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7000 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate port/platform/win directory. Stop building a fork of BString, anddarin@chromium.org2008-12-152-5/+7
| | | | | | | | | | | | | | stop depending on COMPtr.h. I avoided BString by definining a bastard shim in AccessibleBase.cpp. I did that because the one from WebCore's platform/win would require #if !USE(JSC) to avoid UString issues. Eventually, AccessibleBase.cpp is going to be rewritten to not use COM, so this issue will go away. R=dglazkov Review URL: http://codereview.chromium.org/13808 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6986 0039d316-1c4b-4281-b951-d872f2087c98
* Remove few more errors in mac scons build.phajdan.jr@chromium.org2008-12-152-1/+4
| | | | | | | BUG=5525 Review URL: http://codereview.chromium.org/14113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6981 0039d316-1c4b-4281-b951-d872f2087c98
* Implement visited link coloring.brettw@google.com2008-12-132-8/+44
| | | | | | Review URL: http://codereview.chromium.org/12928 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6970 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 6966.ericroman@google.com2008-12-131-2/+1
| | | | | | | this failed UI tests catastrophically Review URL: http://codereview.chromium.org/14103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6968 0039d316-1c4b-4281-b951-d872f2087c98
* Use automatic memory management for URLRequestContext's members.ericroman@google.com2008-12-131-1/+2
| | | | | | | | Also make ProxyService refcounted so the sharing between profiles is explicit. Review URL: http://codereview.chromium.org/13701 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6966 0039d316-1c4b-4281-b951-d872f2087c98
* Move implementation of BackForwardListClient to a new class nameddarin@chromium.org2008-12-137-73/+171
| | | | | | | | | | BackForwardListClientImpl. R=dglazkov Review URL: http://codereview.chromium.org/14407 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6959 0039d316-1c4b-4281-b951-d872f2087c98
* A couple of linux keyboard input fixes.estade@chromium.org2008-12-121-2/+2
| | | | | | | | | * Store text as wchar_t, so non-latin characters fit in it. * Set text again after second round of editing key_code in event_sending_controller.cc Review URL: http://codereview.chromium.org/13769 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6936 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanup.darin@chromium.org2008-12-122-6/+3
| | | | | | | | R=ojan Review URL: http://codereview.chromium.org/13768 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6854 0039d316-1c4b-4281-b951-d872f2087c98
* Use HistoryItem::lastVisitWasFailure to replace fakeHistoryItem semantics.dglazkov@google.com2008-12-111-8/+2
| | | | | | Review URL: http://codereview.chromium.org/14014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6844 0039d316-1c4b-4281-b951-d872f2087c98
* Move skia-specific files into platform/graphics/skia to better correspond ↵darin@google.com2008-12-111-1/+1
| | | | | | | | | | | | with where they will live once we upstream them. R=ojan Review URL: http://codereview.chromium.org/13727 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6841 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ViewHandle to NativeView et al.agl@chromium.org2008-12-114-5/+5
| | | | | | | | | | | ViewHandle is a very unfortunate name when we actually start dealing with views, so we are renaming the cross-platform typedefs to make it clear that they refer to platform specific native UI elements. Review URL: http://codereview.chromium.org/13754 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6826 0039d316-1c4b-4281-b951-d872f2087c98