summaryrefslogtreecommitdiffstats
path: root/webkit/port
Commit message (Collapse)AuthorAgeFilesLines
* use the null image instead of NULL, fixes a bunch of crashes.pinkerton@google.com2008-10-281-1/+1
| | | | | | Review URL: http://codereview.chromium.org/8672 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4085 0039d316-1c4b-4281-b951-d872f2087c98
* Change the fatal error handler to no longer return to V8. It will now crashsgjesse@chromium.org2008-10-281-8/+8
| | | | | | | | | | | the renderer. Returning as it did before would end up in V8 OS::Abort calling __debugbreak() which would also crask the renderer. I am about to change V8 OS::Abort to call abort() instead of __debugbreak() and Chrome should not depend on how V8 handles aborts anyway. Review URL: http://codereview.chromium.org/8838 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4070 0039d316-1c4b-4281-b951-d872f2087c98
* Port a few test_shell_tests. Now it runs 45 of them.evanm@google.com2008-10-271-11/+17
| | | | | | | | | | | | | | | | 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
* Add Mac codepath for FileChooser::basenameForWidth in FileChooserChromium.cppjeremy@chromium.org2008-10-273-0/+90
| | | | | | Review URL: http://codereview.chromium.org/8630 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4026 0039d316-1c4b-4281-b951-d872f2087c98
* Move Time, TimeDelta and TimeTicks into namespace base.dsh@google.com2008-10-271-0/+2
| | | | | | Review URL: http://codereview.chromium.org/7995 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4022 0039d316-1c4b-4281-b951-d872f2087c98
* Set all key event fields on mac, make sure we correctly handle keyDownpinkerton@google.com2008-10-271-1/+27
| | | | | | Review URL: http://codereview.chromium.org/8158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3997 0039d316-1c4b-4281-b951-d872f2087c98
* Fix at least the Linux build. Boo MSVC for not complaining about this.pkasting@chromium.org2008-10-241-1/+1
| | | | | | | TBR=brettw Review URL: http://codereview.chromium.org/8173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3969 0039d316-1c4b-4281-b951-d872f2087c98
* More stubbing out. With this and the rest of Linux pending, test_shell links.agl@chromium.org2008-10-246-1/+144
| | | | | | | | | | | | 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
* Avoid double-stroking paths.ericroman@google.com2008-10-241-0/+7
| | | | | | | | The tests being rebaselined are those rebased post-merge (hence they included the problem). Review URL: http://codereview.chromium.org/7991 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3962 0039d316-1c4b-4281-b951-d872f2087c98
* First-party side of change to remove more link stubs.pkasting@chromium.org2008-10-243-11/+8
| | | | | | Review URL: http://codereview.chromium.org/7988 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3958 0039d316-1c4b-4281-b951-d872f2087c98
* wrap windows-only assert in ifdefspinkerton@google.com2008-10-241-0/+2
| | | | | | Review URL: http://codereview.chromium.org/8152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3927 0039d316-1c4b-4281-b951-d872f2087c98
* In the upstream bug, we realized that the only caller of this function has a CGmark@chromium.org2008-10-241-4/+2
| | | | | | | | call too, which explains why this is PLATFORM(CG). I've added PLATFORM(DARWIN) just to clarify that the implementation is Mac-only. Review URL: http://codereview.chromium.org/7975 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3925 0039d316-1c4b-4281-b951-d872f2087c98
* We might use gtk functions, maybe Qt, maybe raw X11. Maybe we can re-use ↵agl@chromium.org2008-10-241-0/+60
| | | | | | | | | | some code from other ports in WebKit, but for right now before those choices have to be made this is a stub to help get us linking. Review URL: http://codereview.chromium.org/8105 Patch from Torchmobile Inc. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3907 0039d316-1c4b-4281-b951-d872f2087c98
* Get CSSFontFaceSource and CachedFont building under Linuxagl@chromium.org2008-10-244-0/+18
| | | | | | | Review URL: http://codereview.chromium.org/7895 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3905 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out image and icon methods we need to link. We'll want realmark@chromium.org2008-10-242-0/+108
| | | | | | | | | | | | | | implementations of these soon, but we need to get TestShell linking again. With this change, TestShell links... ...and runs... ...and renders a page... ...and displays it on the screen. No more sea-foam green! Review URL: http://codereview.chromium.org/7964 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3899 0039d316-1c4b-4281-b951-d872f2087c98
* remove PLATFORM(MAC) because it makes no sense as it's not defined anymorepinkerton@google.com2008-10-241-12/+0
| | | | | | Review URL: http://codereview.chromium.org/8138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3895 0039d316-1c4b-4281-b951-d872f2087c98
* Resolve undefined symbols with "mime" in their names resulting frommark@chromium.org2008-10-242-1/+17
| | | | | | | PLATFORM(MAC) killing Review URL: http://codereview.chromium.org/8137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3894 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use some Mac-specific editor methods that now come in from Editor.cppmark@chromium.org2008-10-241-2/+8
| | | | | | | now that PLATFORM(MAC) is off. Review URL: http://codereview.chromium.org/8136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3891 0039d316-1c4b-4281-b951-d872f2087c98
* use WIN_OS, not WINpinkerton@google.com2008-10-241-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3888 0039d316-1c4b-4281-b951-d872f2087c98
* Make this compile without PLATFORM(MAC), but with some things stubbed outpinkerton@google.com2008-10-241-16/+75
| | | | | | Review URL: http://codereview.chromium.org/7954 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3885 0039d316-1c4b-4281-b951-d872f2087c98
* stub out drawing and hit testing to compile/link on non-windows platformspinkerton@google.com2008-10-241-1/+45
| | | | | | Review URL: http://codereview.chromium.org/8127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3884 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out a constructor and method we don't need now, but which WebKit callsmark@chromium.org2008-10-241-0/+14
| | | | | | | on PLATFORM(CF). Review URL: http://codereview.chromium.org/7955 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3881 0039d316-1c4b-4281-b951-d872f2087c98
* Fix #if to go with #include change. Use webkit styletc@google.com2008-10-241-4/+4
| | | | | | | | | TBR=agl Review URL: http://codereview.chromium.org/7958 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3880 0039d316-1c4b-4281-b951-d872f2087c98
* Now that we have the windows VK_* values defined, we can includetc@google.com2008-10-243-10/+5
| | | | | | | | | | | handleKeyEvent on all platforms. Also change #ifs to use the webkit style in port rather than the chrome style. Review URL: http://codereview.chromium.org/7942 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3878 0039d316-1c4b-4281-b951-d872f2087c98
* Let cursors be based on CGImage instead of SkBitmap on the Macmark@chromium.org2008-10-231-10/+15
| | | | | | Review URL: http://codereview.chromium.org/8111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3869 0039d316-1c4b-4281-b951-d872f2087c98
* Copies webkit gtk's rendering code for now, commenting out a few parts which ↵erg@google.com2008-10-235-54/+3824
| | | | | | | | | rely on Cairo. Review URL: http://codereview.chromium.org/8090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3855 0039d316-1c4b-4281-b951-d872f2087c98
* Add #if ENABLE(JAVASCRIPT_DEBUGGER), part 2.pkasting@chromium.org2008-10-232-20/+15
| | | | | | Review URL: http://codereview.chromium.org/8116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3850 0039d316-1c4b-4281-b951-d872f2087c98
* First stab at webinputevent_linux.cc. Coverts GDK events totc@google.com2008-10-233-0/+936
| | | | | | | | | our webkit glue classes. Review URL: http://codereview.chromium.org/7633 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3840 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure that checked state on {radiobox, checkbox} does not get flipped in ↵ericroman@google.com2008-10-231-6/+12
| | | | | | | | | | xp style on a readonly control. http://code.google.com/p/chromium/issues/detail?id=1542 Review URL: http://codereview.chromium.org/7897 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3828 0039d316-1c4b-4281-b951-d872f2087c98
* fork PlatformScreenMac into our port to avoid PLATFORM(MAC) issuespinkerton@google.com2008-10-231-0/+99
| | | | | | Review URL: http://codereview.chromium.org/8087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3815 0039d316-1c4b-4281-b951-d872f2087c98
* Update V8 in Chromium and fix compilation errors kasperl@google.com2008-10-233-18/+19
| | | | | | | | | | | resulting from API changes. NOTE: I'll probably submit this with a slightly later V8; I'm still waiting for the try-finally issue to be resolved. Review URL: http://codereview.chromium.org/7913 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3811 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed SVG path fill rule (even-odd or winding) which broke with the mergejhaas@chromium.org2008-10-231-0/+3
| | | | | | Review URL: http://codereview.chromium.org/7904 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3806 0039d316-1c4b-4281-b951-d872f2087c98
* Get DragDataChromium and AXObjectCache building on Linux. These are the lastagl@chromium.org2008-10-231-1/+1
| | | | | | | | | two exceptions - we have patches pending for the rest. Review URL: http://codereview.chromium.org/8086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3804 0039d316-1c4b-4281-b951-d872f2087c98
* Use CG instead of Skiamark@chromium.org2008-10-231-0/+9
| | | | | | Review URL: http://codereview.chromium.org/8091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3801 0039d316-1c4b-4281-b951-d872f2087c98
* Remove DerivedSources.cpp from KJSBindings.vcproj, and replace it with all ↵pkasting@chromium.org2008-10-221-55/+0
| | | | | | | | | the individual Derived Sources. This lets me remove the Database, Storage and SQL-related files, which in turn trims down the number of additions to TemporaryLinkStubs.cpp. I also added a couple missing .h files, not that it makes a real difference. (I believe these are also missing upstream.) Review URL: http://codereview.chromium.org/7896 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3796 0039d316-1c4b-4281-b951-d872f2087c98
* Second part of split window support in the binding part.fqian@google.com2008-10-228-262/+352
| | | | | | | | | | | | | | | | | | | | | | The major change is that when a frame is loading a new page, the frame loader calls V8Proxy::clearWindowShell when it receives the first piece of data. At that point, the global object is detached from its current context. FrameLoader continues on preparing new environment, including creating new DOMWindow and security origin for the frame. When new DOMWindow is ready, the frame loader calls ScriptController::notifyNewDOMWindowReady(), which uses the existing global object to initialize the new context for the frame. Between detaching global from old context and creating new context using global, there should no JavaScript executed. The implication is that if the new page does not use JavaScript, its JS context is still created. But the overhead should be very small because V8 is warmed up already. Review URL: http://codereview.chromium.org/7838 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3785 0039d316-1c4b-4281-b951-d872f2087c98
* Use ETS_FOCUSED instead of TS_CHECKED to signify that a buttontc@google.com2008-10-221-1/+1
| | | | | | | | is focused. They both happen to have the same value, but this is much clearer. Review URL: http://codereview.chromium.org/7888 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3781 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Linux build bustagemark@chromium.org2008-10-221-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3771 0039d316-1c4b-4281-b951-d872f2087c98
* More fixes for port. Don't build GKURLMac since we hopefully won't needmark@chromium.org2008-10-224-68/+71
| | | | | | | | | NSURL<->GKURL conversions any longer. Make a couple changes to DragData just to get it to build, since we don't care about drag and drop right now. Provide key codes for the Mac based on Apple's 1992 docs on the subject. Review URL: http://codereview.chromium.org/8070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3769 0039d316-1c4b-4281-b951-d872f2087c98
* Create a stub implementation for RenderTheme for Linux.erg@google.com2008-10-221-0/+54
| | | | | | | Review URL: http://codereview.chromium.org/7880 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3766 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to how we draw buttons.tc@google.com2008-10-221-2/+2
| | | | | | | | | | | | | 1) Change RenderThemeWin.cpp so that pressed buttons have priority over focused buttons. I.e., if a button is focused and pressed, we should draw it pressed. 2) In classic mode, add the black border for focused buttons and properly add the dotted focus rect. http://crbug.com/135 Review URL: http://codereview.chromium.org/8071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3763 0039d316-1c4b-4281-b951-d872f2087c98
* Compile ImageSkia under Linux.erg@google.com2008-10-221-35/+17
| | | | | | | Review URL: http://codereview.chromium.org/8048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3752 0039d316-1c4b-4281-b951-d872f2087c98
* Get PopupMenuChromium building under Linuxagl@chromium.org2008-10-221-4/+7
| | | | | | | Review URL: http://codereview.chromium.org/7875 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3750 0039d316-1c4b-4281-b951-d872f2087c98
* Some of the easier fixes in port for the PLATFORM(MAC) killing projectmark@chromium.org2008-10-224-144/+6
| | | | | | Review URL: http://codereview.chromium.org/7874 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3747 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Linux build with a null port hack.evanm@google.com2008-10-221-1/+4
| | | | | | | Review URL: http://codereview.chromium.org/7873 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3744 0039d316-1c4b-4281-b951-d872f2087c98
* oops, didn't mean PLATFORM.pinkerton@google.com2008-10-221-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3742 0039d316-1c4b-4281-b951-d872f2087c98
* chromium tree changes for removing platform(mac). pinkerton@google.com2008-10-224-26/+179
| | | | | | Review URL: http://codereview.chromium.org/8032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3739 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/7848dglazkov@google.com2008-10-222-64/+11
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3732 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out Font functions for Linuxagl@chromium.org2008-10-227-128/+393
| | | | | | | Review URL: http://codereview.chromium.org/7842 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3716 0039d316-1c4b-4281-b951-d872f2087c98
* Compile WidgetChromium on Linux.erg@google.com2008-10-221-2/+2
| | | | | | | Review URL: http://codereview.chromium.org/8042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3709 0039d316-1c4b-4281-b951-d872f2087c98