summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkit_glue.cc
Commit message (Collapse)AuthorAgeFilesLines
* Turn on logging of notImplemented()s inside WebCore for test_shell.evanm@google.com2008-11-191-0/+4
| | | | | | | Review URL: http://codereview.chromium.org/11259 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5668 0039d316-1c4b-4281-b951-d872f2087c98
* Add GCController support to test_shell.fqian@google.com2008-11-141-0/+7
| | | | | | | | | | | | | | | | | This is done in the binding layer, GCController is a JS object, GCController.collect() is a JS function which calls gc(). GCController object can be enabled by calling ScriptController::setShouldExposeGCController(true); GCController.collect() needs V8 expose gc function, which is controlled by a flag '--expose-gc'. Otherwise GCController.collect() has no effect. By default, test_shell exposes both gc function and GCController object. Review URL: http://codereview.chromium.org/10719 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5482 0039d316-1c4b-4281-b951-d872f2087c98
* Changed the DumpFramesAsText() to not dump anything about a frame if it is ↵sgjesse@chromium.org2008-11-101-2/+3
| | | | | | | | | empty (has no root element). This matches the WebKit version function dumpFramesAsText in WebKitTools/DumpRenderTree/win/DumpRenderTree.cpp, see http://trac.webkit.org/browser/trunk/WebKitTools/DumpRenderTree/win/DumpRenderTree.cpp?rev=34719#L306. This fixes layout test LayoutTests/http/tests/security/cross-origin-xsl-BLOCKED.html as it expects a totally empty iframe. Review URL: http://codereview.chromium.org/10003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5099 0039d316-1c4b-4281-b951-d872f2087c98
* Takes steps to make our PlatformScreen implementation more portable.darin@chromium.org2008-10-311-8/+0
| | | | | | | | | | | | | | | | | | Introduces ChromiumBridge as a means for our WebCore port to depend on the embedder indirectly. This will be extended to support the rest of our port. WebWidgetImpl and ChromeClientImpl both needed to have their platformWindow getter implemented. This fixes a regression related to the most recent merge. Removes the orphaned Language.cpp (see the real one in the platform/chromium directory. Changed webkit_glue::GetMonitorInfoForWindow to webkit_glue::GetScreenInfo. This resulted in a varied amount of plumbing changes. It also pushes the platform specific bits up into the browser where they belong. ScreenInfo is a struct that is part of the webkit/glue API. R=dglazkov,eseidel Review URL: http://codereview.chromium.org/8761 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4335 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to using the message loop rather than gtk_main().agl@chromium.org2008-10-301-0/+9
| | | | | | | | | | | 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
* This is a patch for bug 1385045: Adobe Acrobat 9.0 crash.nsylvain@chromium.org2008-10-221-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adobe Acrobat 9.0 loads a dll called bib.dll. Usually it unloads it 30 seconds after the last instance of the plugin goes away, or when the browser process goes away. To know if the browser process goes away, it subclasses the main browser window. It seems to work fine in firefox, but it does not work in chrome. Also the 30 seconds delay does not work because we close the plugin process too fast (10 seconds) after the last instance of the plugin is closed. bib.dll is then unloaded by ExitProcess, which causes a crash in bib.dll. We could wait ~35 seconds after the last instance before closing the process, but it might be problematic with upgrades and could result in plugin process outliving the brower process. This current patch just kills the process before ExitProcess, so it does not cause a crash and display an error message to the user. This is not a fix, this is just a usuability improvement. As far as I know we are still waiting for help from the Adobe team on this issue. They would need to find a way to unload bib.dll cleanly in chrome. BUG: 1385045 Review URL: http://codereview.chromium.org/8015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3753 0039d316-1c4b-4281-b951-d872f2087c98
* Fixup some JSC compile errors for glue.mbelshe@google.com2008-10-201-2/+2
| | | | | | | | Implement BindToWindowObject for JSC. Review URL: http://codereview.chromium.org/7673 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3628 0039d316-1c4b-4281-b951-d872f2087c98
* Move many files that were suffixed Win.cpp to Chromium.cpp, and place them ↵darin@chromium.org2008-10-151-2/+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
* Fix for a memory leak.jcampan@chromium.org2008-10-081-3/+3
| | | | | | | | BUG=None TEST=Run with Purify. Review URL: http://codereview.chromium.org/6055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3011 0039d316-1c4b-4281-b951-d872f2087c98
* Merge the chrome_webkit_merge_branch back on to trunk. This brings ustc@google.com2008-10-011-15/+18
| | | | | | | up to webkit@36102. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2778 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command-line switch to change the user agent.BUG=757345pkasting@chromium.org2008-09-241-49/+66
| | | | | | Review URL: http://codereview.chromium.org/4059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2571 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
* Unignore most warnings on POSIX in build/SConscript.main.evanm@google.com2008-09-161-2/+3
| | | | | | | | | BUG=2053 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2272 0039d316-1c4b-4281-b951-d872f2087c98
* stub out win-only routines and impl user agent for MacOS Xpinkerton@google.com2008-09-091-2/+23
| | | | | | Review URL: http://codereview.chromium.org/262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1904 0039d316-1c4b-4281-b951-d872f2087c98
* Just compile some basic files so we get a libGlue.a.evanm@google.com2008-09-071-1/+20
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1829 0039d316-1c4b-4281-b951-d872f2087c98
* Remove last minute #define and change UA string to Chromemal@google.com2008-09-021-2/+2
| | | | | | | | | on trunk. BUG=1431137 TBR= darin@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1625 0039d316-1c4b-4281-b951-d872f2087c98
* Use a more compact license header in source files.license.bot2008-08-241-28/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98
* Use %ls instead of %s in wprintf format strings for wchar_t fields.mmentovai@google.com2008-08-141-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@846 0039d316-1c4b-4281-b951-d872f2087c98
* Pull the major and minor webkit version numbers from ↵erikkay@google.com2008-08-041-3/+13
| | | | | | WebCore/Configurations/Version.xcconfig and generate a header file that allows us to keep our user agent info up to date. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@334 0039d316-1c4b-4281-b951-d872f2087c98
* Add webkit to the repository.initial.commit2008-07-271-0/+399
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18 0039d316-1c4b-4281-b951-d872f2087c98