summaryrefslogtreecommitdiffstats
path: root/webkit/port/platform
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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-234-0/+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-231-3/+0
| | | | | | 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
* 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
* 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
* 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
* 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
* 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
* Bring in CursorChromium to Linux build.evanm@google.com2008-10-212-40/+45
| | | | | | | | | | | | For some reason gcc wasn't happy with these implicit conversions: webkit/port/platform/chromium/CursorChromium.cpp:88: error: conversion from 'WebCursor::Type' to non-scalar type 'WebCore::Cursor' requested But making them explicit works. Review URL: http://codereview.chromium.org/8028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3704 0039d316-1c4b-4281-b951-d872f2087c98
* Get ScrollViewChromium building under Linux.erg@google.com2008-10-211-3/+15
| | | | | | | Review URL: http://codereview.chromium.org/7841 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3702 0039d316-1c4b-4281-b951-d872f2087c98
* Add stubs for screen size accessors for linux test_shell link errors.erg@google.com2008-10-211-0/+70
| | | | | | | Review URL: http://codereview.chromium.org/7825 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3674 0039d316-1c4b-4281-b951-d872f2087c98
* Build SkGraphicsContext under Linuxerg@google.com2008-10-211-31/+10
| | | | | | | Review URL: http://codereview.chromium.org/8019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3671 0039d316-1c4b-4281-b951-d872f2087c98
* remove PLATFORM_GTK-ismstc@google.com2008-10-211-1/+0
| | | | | | | | | After the change to PlatformScrollbar.h, this just works (tm). Review URL: http://codereview.chromium.org/7821 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3665 0039d316-1c4b-4281-b951-d872f2087c98
* Make PlatformScrollBar.h cross-platform. This is just movingtc@google.com2008-10-212-44/+50
| | | | | | | the scrollbar tick rects to IntRect. Review URL: http://codereview.chromium.org/7802 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3662 0039d316-1c4b-4281-b951-d872f2087c98
* Patch of uber lameness to fix the KJS build. TestShell actually runs!darin@chromium.org2008-10-211-0/+64
| | | | | | | | | | | | | | | 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
* Start attacking the list of undefined symbols from Linux WebCore. This definesagl@chromium.org2008-10-212-0/+41
| | | | | | | | | a bunch of symbols for POSIX systems dealing with filesystem calls and sound. Review URL: http://codereview.chromium.org/7526 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3642 0039d316-1c4b-4281-b951-d872f2087c98
* Fix KJS build. Strangely, the PlatformWidget type is not expected to be ↵pkasting@chromium.org2008-10-201-4/+0
| | | | | | | | defined in the WebCore namespace (it isn't in any of the other ports). Review URL: http://codereview.chromium.org/7680 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3636 0039d316-1c4b-4281-b951-d872f2087c98
* fix build take 2tc@google.com2008-10-181-1/+1
| | | | | | | Review URL: http://codereview.chromium.org/7659 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3600 0039d316-1c4b-4281-b951-d872f2087c98
* WIN -> OS_WINtc@google.com2008-10-181-1/+1
| | | | | | | Review URL: http://codereview.chromium.org/7511 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3599 0039d316-1c4b-4281-b951-d872f2087c98
* linux compile fixestc@google.com2008-10-182-1/+3
| | | | | | | | | patch by icefox (Torchmobile) at http://codereview.chromium.org/7488 Review URL: http://codereview.chromium.org/7658 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3598 0039d316-1c4b-4281-b951-d872f2087c98
* Add stubs for these functions. They seem to get pulled in as a result of ↵darin@google.com2008-10-181-0/+40
| | | | | | | | | | | | PLATFORM(CHROMIUM) being referenced in ScrollView.h and Widget.h. I predict that you will still see green! TBR=pinkerton Review URL: http://codereview.chromium.org/7655 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3596 0039d316-1c4b-4281-b951-d872f2087c98
* fix linux buildtc@google.com2008-10-181-0/+11
| | | | | | | | | TBR=darin Review URL: http://codereview.chromium.org/7652 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3592 0039d316-1c4b-4281-b951-d872f2087c98
* one more missing filedarin@chromium.org2008-10-181-0/+41
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3589 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing headers. Oops :(darin@chromium.org2008-10-187-0/+295
| | | | | | | | TBR=tony Review URL: http://codereview.chromium.org/7649 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3588 0039d316-1c4b-4281-b951-d872f2087c98
* Disable PLATFORM(WIN) !!darin@chromium.org2008-10-1824-792/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | port/platform/chromium/PlatformKeyboardEventChromium.cpp - this is KeyEventWin.cpp renamed and mostly deleted. we just needed to define two static methods. - the big switch case goes to event_conversion.cc. port/platform/chromium/DragDataChromium.cpp - yay, no more dropData wrapper! port/platform/chromium/TemporaryLinkStubs.cpp - just stubbing scheduleDispatchFunctionsOnMainThread() for now since i think we should really use an implementation based on MessageLoop, and we don't use background threads in webkit yet. port/platform/chromium/DragImageChromium.cpp - PLATFORM(WIN) to PLATFORM(WIN_OS) port/platform/chromium/PopupMenuChromium.cpp - lots of nice cleanup. no more dummy HWNDs! port/platform/chromium/PlatformScrollBarChromium.cpp port/platform/chromium/ScrollViewChromium.cpp - GraphicsContext::getWindowsContext is gone. just use the skia canvas directly. port/platform/network/chromium/NetworkStateNotifierChromium.cpp - delete the PLATFORM(WIN) stubs port/platform/win/KeyEventWin.cpp port/platform/win/PlatformMouseEventWin.cpp port/platform/graphics/IntPointWin.cpp port/platform/graphics/IntSizeWin.cpp port/platform/graphics/IntRectWin.cpp - deleted :) port/platform/win/ScreenWin.cpp - compensate for no longer having implicit conversion between RECT and IntRect port/platform/UniscribeStateTextRun.cpp - scriptCache and scriptFontProperties now live on FontPlatformData as discussed with brett and hyatt. port/platform/graphics/FontCacheWin.cpp - getFontLinkInterface() function doesn't exist outside of PLATFORM(WIN) port/platform/graphics/FontPlatformData.h port/platform/graphics/FontPlatformDataWin.cpp - support storing script{Cache,FontProperties} on FontPlatformData. need to implement assignment operator and copy constructor. the script{Cache,FontProperties} objects are not copied per discussion with hyatt. - i moved m_isMLangFont into RefCountedHFONT so that we would know how to "destroy" the HFONT. port/platform/graphics/SimpleFontDataWin.cpp port/platform/graphics/GlyphPageTreeNodeWin.cpp - modified to support changes to FontPlatformData port/platform/graphics/ImageSkia.cpp - getHBITMAP, etc. were never used and are not needed port/platform/graphics/IconWin.cpp - modifications corresponding to my changes to Icon.h. m_icon is of type PlatformIcon. port/platform/graphics/GraphicsContextSkia.cpp - {get,release}WindowsContext are no longer defined port/platform/Cursor.h pending/NetworkStateNotifier.h pending/PlatformKeyboardEvent.h - we no longer need to fork these files. port/page/chromium/EventHandlerChromium.cpp - add #include "Clipboard.h" to support non-WIN_OS port/page/chromium/AccessibilityObjectWrapper.h - changed to no longer be a COM interface port/page/AccessibilityObjectWrapperWin.h - moved to port/page/chromium/AccessibilityObjectWrapper.h pending/AccessibleBase.cpp pending/AccessibleBase.h - modified to support changes to a11y wrapper class - by the way, these files should not be in pending! will fix that later. glue/glue_util.cc glue/glue_util.h - add conversion functions for rect structures. glue/webframe_impl.cc glue/webplugin_impl.cc - use new webkit_glue rect conversion functions. glue/glue_accessibility.cc - add header that is needed to build this file on windows glue/webview_impl.cc - no longer supports auto-conversion between IntPoint and POINT glue/event_conversion.cc - initialize by modifying member variables of the base class directly. - moved a static function from KeyEventWin.cpp R=tony,brettw BUG=3488 Review URL: http://codereview.chromium.org/7495 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3587 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out writing to the pasteboard. Ends up calling NSAttributedString ↵pinkerton@google.com2008-10-171-0/+10
| | | | | | | | initWithHTML which tries to load the system WebKit...and then EPIC FAIL. Helps the layout tests not time out so much until we think about this more. Review URL: http://codereview.chromium.org/7623 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3524 0039d316-1c4b-4281-b951-d872f2087c98
* Start compiling a bunch of *Chromium.cpp files in our port ontc@google.com2008-10-174-11/+22
| | | | | | | | | linux. More will come once we stop using PLATFORM_GTK_. Review URL: http://codereview.chromium.org/7606 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3513 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up skia + v8 bindings for getImageData(), putImageData().ericroman@google.com2008-10-163-7/+104
| | | | | | Review URL: http://codereview.chromium.org/7294 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3447 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mac bustage caused by my big Win.cpp to Chromium.cpp change. To keep thedarin@google.com2008-10-161-0/+7
| | | | | | | | | | | | mac build happy, I had to make sure that platform/mac is included before platform/chromium. The NetworkStateNotifierChromium.cpp hacking is just to deal with the fact that PLATFORM(MAC) is defined. TBR=pinkerton Review URL: http://codereview.chromium.org/7382 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3442 0039d316-1c4b-4281-b951-d872f2087c98