summaryrefslogtreecommitdiffstats
path: root/webkit/port/bridge
Commit message (Collapse)AuthorAgeFilesLines
* Move webkit/port/bridge contents to their proper places in WebKit, Mac build.dglazkov@google.com2008-12-232-322/+0
| | | | | | Review URL: http://codereview.chromium.org/16244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7436 0039d316-1c4b-4281-b951-d872f2087c98
* Kill our forked copy of MIMETypeRegistry.cpp by moving the customized methodsdarin@chromium.org2008-12-181-3/+3
| | | | | | | | | | | | into MimeTypeRegistryChromium.cpp, and stop building MIMETypeRegistry.cpp. It turns out that there just isn't enough of that file that we have in common to make it worth sharing. R=dglazkov git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7246 0039d316-1c4b-4281-b951-d872f2087c98
* fix a leak in the plugin cacheerikkay@google.com2008-11-261-89/+117
| | | | | | | | BUG=http://code.google.com/p/chromium/issues/detail?id=4654 Review URL: http://codereview.chromium.org/12694 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6065 0039d316-1c4b-4281-b951-d872f2087c98
* Bridge calls to get the root NPObject from a WebPluginContainer.darin@chromium.org2008-11-241-1/+1
| | | | | | | | | | | | | | | | I also did a little cleanup in getPlugins. I found that there was a WebPluginInfo struct declared within the WebCore namespace that was causing us to need '::' in front of WebPluginInfo. I killed the erroneous declaration so that the rest could be cleaned up. I also renamed getPlugins to plugins since I think that is more consistent with how Apple names these kinds of methods. There was some old, unused USE(JSC) code in ScriptController.cpp that I deleted. R=erikkay Review URL: http://codereview.chromium.org/12601 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5928 0039d316-1c4b-4281-b951-d872f2087c98
* Wrap MSVC-specific pragmas. As -Wunknown-pragmas has been disabled for wtf,deanm@chromium.org2008-11-211-0/+7
| | | | | | | | | | some of these sneaked in. BUG=2053 Review URL: http://codereview.chromium.org/11801 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5830 0039d316-1c4b-4281-b951-d872f2087c98
* delete more unused codepinkerton@google.com2008-11-191-624/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5688 0039d316-1c4b-4281-b951-d872f2087c98
* * remove glue dependency from PluginsChromium* renamed some of the MIME API ↵erikkay@google.com2008-11-181-51/+41
| | | | | | | | to be more consistent with WebKit Review URL: http://codereview.chromium.org/11212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5610 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of ExceptionContext (2/2)dglazkov@google.com2008-11-101-108/+0
| | | | | | Review URL: http://codereview.chromium.org/9754 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5141 0039d316-1c4b-4281-b951-d872f2087c98
* More stubbing out. With this and the rest of Linux pending, test_shell links.agl@chromium.org2008-10-241-0/+3
| | | | | | | | | | | | 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
* fix typodarin@chromium.org2008-10-211-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3653 0039d316-1c4b-4281-b951-d872f2087c98
* Add NPN_EvaluateHelper for the KJS build.darin@chromium.org2008-10-211-0/+5
| | | | | | | | TBR=mbelshe Review URL: http://codereview.chromium.org/8007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3652 0039d316-1c4b-4281-b951-d872f2087c98
* Patch of uber lameness to fix the KJS build. TestShell actually runs!darin@chromium.org2008-10-211-0/+133
| | | | | | | | | | | | | | | This contains mbelshe's patch to JavaScriptCore.vcproj to pick up the various missing .cpp files there. It also includes his fix to copy_files.bat to make Profiler.h appear as though it lives within a JavaScriptCore directory. See http://codereview.chromium.org/7804 for reference. In addition, this CL adds a number of KJS-specific files from WebCore to the KJSBindings project. This included files under the bridge, bridge/c, and page directories. I resurrected a portion of the old KJSBridge.cpp to fix the numerous NPN_ link errors. There is probably a better way to deal with this issue, but doing what we used to do seems like a reasonable stop-gap. Finally, I loaded up TemporaryLinkStubs.cpp with the remaining link errors. These all had to do with SQL related features that we had mostly disabled. Unfortunatley, DerivedSources.make doesn't honor those ENABLE flags, and since it now spits out a large single DerivedSources.cpp file, it was easier to just define the undefined symbols rather than trying to hack DerivedSources.make to honor the ENABLE flags. TBR=mbelshe Review URL: http://codereview.chromium.org/7811 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3649 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit r3612 and r3613 this time with mac fixes (thanks mark!).ojan@google.com2008-10-201-0/+3
| | | | | | Review URL: http://codereview.chromium.org/7675 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3633 0039d316-1c4b-4281-b951-d872f2087c98
* Rollback 3612 abd 3613 to fix mac build. TBR.ojan@google.com2008-10-201-3/+0
| | | | | | Review URL: http://codereview.chromium.org/7674 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3618 0039d316-1c4b-4281-b951-d872f2087c98
* what Use third_party/WebKit plugin, pluginarray, mimetype andojan@google.com2008-10-201-0/+3
| | | | | | | | | | | | | | | | | mimetypearray. In order to get this working, I had to change the v8 templates to allow for both void* and RefPtr<> types. This has a short-term hack for using namedItem instead of nameGetter, which I will be able to undo once I fix https://bugs.webkit.org/show_bug.cgi?id=21606 Also, unforks Navigator.h, which will need some love from scons/mac folk for updating build files since Navigator.h/cpp have moved. Review URL: http://codereview.chromium.org/7373 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3612 0039d316-1c4b-4281-b951-d872f2087c98
* Move many files that were suffixed Win.cpp to Chromium.cpp, and place them ↵darin@chromium.org2008-10-154-181/+0
| | | | | | | | | | | in chromium/ subdirectories. We still build these files with PLATFORM(WIN) defined. In this change, I also killed off LogWin.{h,cpp} since we don't use it. So, you will see some changes related to that. R=dglazkov,tony Review URL: http://codereview.chromium.org/7419 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3427 0039d316-1c4b-4281-b951-d872f2087c98
* Fork ScriptController into KJS- and V8-specific versions. The KJS files ↵pkasting@chromium.org2008-10-152-1134/+0
| | | | | | | | | already live in third_party/WebKit/WebCore/bindings/js/; the V8 ones will now live in webkit/bindings/v8/. The V8 version is V8-specific and doesn't have any #if USE(...) junk in it anymore; this matches the KJS one. This will break the Mac and SCons builds. Review URL: http://codereview.chromium.org/7368 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3424 0039d316-1c4b-4281-b951-d872f2087c98
* Include needed header under Linux.erg@google.com2008-10-141-0/+1
| | | | | | | | | TBR=tony Review URL: http://codereview.chromium.org/7153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3369 0039d316-1c4b-4281-b951-d872f2087c98
* Lots of ScriptController fixes, but it still doesn't compile cleanly.pkasting@chromium.org2008-10-141-215/+371
| | | | | | | | | This makes the header and C file noticeably more like the upstream versions. In some cases I have ripped out the implementations of functions that we added that there's no obvious way to make it work. The V8 team is going to have to implement these. This code absolutely isn't going to run. Review URL: http://codereview.chromium.org/7313 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3356 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some types in ScriptController.h to be a bit less wonky. This was ↵pkasting@chromium.org2008-10-142-14/+8
| | | | | | | | mbelshe's proposed method and I think it's sane and clsoer to upstream than what we have now, but I admit that I haven't thought carefully through all the fine points. Review URL: http://codereview.chromium.org/7288 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3333 0039d316-1c4b-4281-b951-d872f2087c98
* Second attempt at introducing cross-platform ExceptionContext in the midst ↵dglazkov@google.com2008-10-131-12/+12
| | | | | | | | | | | of unforking. This time I also made changes to files in pending, to temporarily keep them in sync until they are removed and avoid ambiguitiy due to include search path order. Review URL: http://codereview.chromium.org/7267 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3296 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling back tree breakagedglazkov@google.com2008-10-101-12/+12
| | | | | | | | TBR=pkasting Review URL: http://codereview.chromium.org/7086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3224 0039d316-1c4b-4281-b951-d872f2087c98
* Implement cross-platform ExceptionContext (2/2)dglazkov@google.com2008-10-101-12/+12
| | | | | | | | First part #6400 committed as r3216. Review URL: http://codereview.chromium.org/7081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3219 0039d316-1c4b-4281-b951-d872f2087c98
* Some initial fixes for ScriptController errors. There's stillojan@google.com2008-10-101-41/+27
| | | | | | | | a ton, but I'd like to have all my changes checked in should V8 folk want to help overnight. Review URL: http://codereview.chromium.org/7048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3166 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge hits the SCons build, the sequel:sgk@google.com2008-10-091-4/+4
| | | | | | | | | | | | | | | | | * Un-revert r3063 (basic file list updates). * Un-revert r3079 (os-win32 subdirectory). * Add icu.lib to the npapi_test_plugin.dll link. * Add libpng.lib to the port.lib link. * Updates for recently un-forked files. * Incorporate Linux fixes from phajdan.jr (many thanks): * Add libxml/linux/include to relevant CPPPATH lists. * Use -Wno-error to suppress warnings-as-errors. * Re-order lines in ExceptionContext. * Remove unused WebCore::SharedBuffer declaration in SkiaUtils.h. * Spelling fix: V8CSSSTyleDeclaration.h => V8CSSStyleDeclaration.h Review URL: http://codereview.chromium.org/7024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3118 0039d316-1c4b-4281-b951-d872f2087c98
* Remove an include that no longer exists.ojan@google.com2008-10-091-27/+18
| | | | | | Review URL: http://codereview.chromium.org/7018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3110 0039d316-1c4b-4281-b951-d872f2087c98
* Qualify temporary #include so that it's relative to the working copy root.mark@chromium.org2008-10-061-1/+1
| | | | | | Review URL: http://codereview.chromium.org/6512 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2913 0039d316-1c4b-4281-b951-d872f2087c98
* Drag FrameMac.mm through the mud to get it merged. Do the same withmark@chromium.org2008-10-031-172/+18
| | | | | | | ClipboardMac.mm, which was a piece of cake by comparison. Review URL: http://codereview.chromium.org/6465 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2852 0039d316-1c4b-4281-b951-d872f2087c98
* use PassRefPtr for event creation rather than nakedmbelshe@google.com2008-10-031-2/+3
| | | | | | | | pointers. Review URL: http://codereview.chromium.org/6454 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2842 0039d316-1c4b-4281-b951-d872f2087c98
* Merge the chrome_webkit_merge_branch back on to trunk. This brings ustc@google.com2008-10-019-1002/+704
| | | | | | | up to webkit@36102. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2778 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
* Fix webkit.xcodeproj. Make it use our new xcconfig and common build directorymmentovai@google.com2008-09-061-2/+2
| | | | | | | setup. Turn off headermaps and use explicit #include paths everywhere. Review URL: http://codereview.chromium.org/269 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1815 0039d316-1c4b-4281-b951-d872f2087c98
* Forking webkit sources for clipboard/drag impl on Mac. It's almost exactlypinkerton@google.com2008-08-261-0/+726
| | | | | | | the same as before except removing anything that uses the objc DOM bindings, which we don't have. So it's like one change in each file, more or less. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1391 0039d316-1c4b-4281-b951-d872f2087c98
* Use a more compact license header in source files.license.bot2008-08-243-84/+12
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98
* Get the majority of the files in V8Bindings/ building.erg@google.com2008-08-221-3/+3
| | | | | | | | | | | The rest are excluded from the linux build because they include windowisms; this will be fixed later. Also, random linux compile fixes. Extra qualifiers, unused variables, et cetera. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1254 0039d316-1c4b-4281-b951-d872f2087c98
* cast to the correct expected type (char16).pinkerton@google.com2008-08-221-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1236 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure that javascript exceptions thrown while evaluating the codeager@google.com2008-08-213-4/+18
| | | | | | | | | | | in script blocks and while evaluating code in a javascript URL are isolated. Before this change, an exception thrown while evaluating the code from a script block could propagate into unrelated event code. BUG=1334013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1152 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bunch of include problems that my deps checker tool found. Mostly I ↵brettw@google.com2008-08-081-1/+1
| | | | | | made the names of some third party includes fully qualified. I removed a qualification on a couple of the WebKit port includes that confuses it and isn't necessary (since WebKit includes aren't fully qualified). git-svn-id: svn://svn.chromium.org/chrome/trunk/src@604 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the old NativeMB functions from string util, and use the new ones in ↵brettw@google.com2008-08-071-1/+2
| | | | | | sys_strings.h. I also removed duplicated code from the sandbox that can now use this, and fixed one case in the bug reporter that should not have been using the native multibyte encoding. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@515 0039d316-1c4b-4281-b951-d872f2087c98
* Move some more classes from net/base into the net:: namespace.darin@google.com2008-07-301-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116 0039d316-1c4b-4281-b951-d872f2087c98
* Add webkit to the repository.initial.commit2008-07-2710-0/+1803
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18 0039d316-1c4b-4281-b951-d872f2087c98