summaryrefslogtreecommitdiffstats
path: root/webkit/port
Commit message (Collapse)AuthorAgeFilesLines
* This CL adds new UI tests for the SSL UI.jcampan@chromium.org2008-09-241-2/+12
| | | | | | | | | | | | | | | | | | | | Some more info: SSL UI Tests: Added new tests for redirects and frames. Also improved the mixed-content test to exercise the "block mixed-contents" preference and the show info-bar. Automation: For the new UI tests, added methods to tab_proxy and browser_proxy. The ones of most interest are GetLastNavigatinTime and WaitForNavigation that ensures we wait for a navigation to occur or have occured when taking actions that asynchronously trigger navigations. Resource loading: Added a flag to the response we get when loading a resource that indicates whether that resource was filtered (blocked or altered) by the security peer. We use this flag to notify back the browser when we report a load has been committed. This is so the SSL manager knows a frame has been filtered (in which case we have no cert info but should not consider that as unsafe). BUG=2004 Review URL: http://codereview.chromium.org/3165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2553 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed mis-used inline keyword in v8_proxy.h file. Linux build is broken ↵fqian@google.com2008-09-232-21/+15
| | | | | | | | because of this. Thanks for pointing it out. Review URL: http://codereview.chromium.org/4218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2495 0039d316-1c4b-4281-b951-d872f2087c98
* Use static type information from IDL to streamline the wrapping and ↵fqian@google.com2008-09-2310-380/+521
| | | | | | | | | | | | | | | | | | | unwrapping process between DOM nodes and JS objects. The basic idea is that, IDL files provide static type information. Certain types, such as subtypes of Node, only need 'NODE' has type for wrapping and unwrapping. So, intead of going through a gigatic switch statement, IDL compiler generates fast path for know types, the CL only does it for Node and subtypes. I have seen it improves DOM-peerable example by 5% when running standalone, and 35% when running with whole Dromaeo tests. I missed the another point of this CB. It removed expensive MaybeDOMWrapper checks in production code. It contributes a lot to the overhead. Review URL: http://codereview.chromium.org/3195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2490 0039d316-1c4b-4281-b951-d872f2087c98
* Add empty stub to get classname so ImageMac can use it.pinkerton@google.com2008-09-191-0/+20
| | | | | | Review URL: http://codereview.chromium.org/3169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2409 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
* Fixes bug where we could write MAX_PATH + 1 to the clipboard. I camesky@google.com2008-09-161-9/+10
| | | | | | | | | | | | across this when tracking down previous fix. Allowing MAX_PATH + 1 causes a DCHECK to be hit when we read back from the clipboard. BUG=none TEST=none Review URL: http://codereview.chromium.org/3023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2286 0039d316-1c4b-4281-b951-d872f2087c98
* Stub out a11y routines for mac for linkingpinkerton@google.com2008-09-161-0/+66
| | | | | | Review URL: http://codereview.chromium.org/2903 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2274 0039d316-1c4b-4281-b951-d872f2087c98
* Unignore most warnings on POSIX in build/SConscript.main.evanm@google.com2008-09-163-16/+27
| | | | | | | | | 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
* Address missing methods in forked FontCache.h header without forking entire ↵pinkerton@google.com2008-09-161-0/+84
| | | | | | | | implementation for mac. Turn off buliding resource loader we're not using. Review URL: http://codereview.chromium.org/2897 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2268 0039d316-1c4b-4281-b951-d872f2087c98
* Make navigator.language depend on the current UI language of Chrome rather thanjungshik@google.com2008-09-161-25/+4
| | | | | | | | | | | | the UI language of the Windows. BUG=1862 TEST=Switch the Chrome UI language to pt-PT, fr, ja, etc and try 1862test.html (attached to issue 1862). navigator.language should be pt-PT, fr, ja. Review URL: http://codereview.chromium.org/3073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2250 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the issue http://code.google.com/p/v8/issues/detail?id=43fqian@google.com2008-09-151-16/+16
| | | | | | | | Image & Option functions should have precendence than document elements. Review URL: http://codereview.chromium.org/1968 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2232 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes possible crash in copying url to clipboard. I believe the crashsky@google.com2008-09-121-1/+1
| | | | | | | | | | | | | | is happening because the title's string implementation is null. If the title's string implementation is null then charactersWithNullTermination will return null and we'll crash as in the stack trace. BUG=1374632 TEST=none Review URL: http://codereview.chromium.org/2812 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2131 0039d316-1c4b-4281-b951-d872f2087c98
* I took the patch from bill.neubauer@gmail.com ↵fqian@google.com2008-09-121-2/+2
| | | | | | | | | | (http://codereview.chromium.org/1919 Patch Set 1) and changed the test to be a real layout test and added expected output. Review URL: http://codereview.chromium.org/2459 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2111 0039d316-1c4b-4281-b951-d872f2087c98
* Added code to support the setUseAntialiasing() method, which is invokedjhaas@chromium.org2008-09-113-3/+9
| | | | | | | | when an object is specified with shape-rendering="crispEdges" Review URL: http://codereview.chromium.org/1830 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2061 0039d316-1c4b-4281-b951-d872f2087c98
* Fix escaping of hrefs on A tags in the inspector. ojan@google.com2008-09-102-8/+9
| | | | | | | | | I will pursue making this change upstream as well, but as best I can tell, this function is dead code upstream and should just be deleted. Review URL: http://codereview.chromium.org/1880 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2023 0039d316-1c4b-4281-b951-d872f2087c98
* Fix issue 580 that JavaScript cannot talk to Java applets.fqian@google.com2008-09-101-3/+3
| | | | | | | | | | | The cause was that the DOM binding code didn't treat HTMLAppletElement as a plugin element. I couldn't add a layout test because it requires Java plugin installed to run. Review URL: http://codereview.chromium.org/1900 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2006 0039d316-1c4b-4281-b951-d872f2087c98
* remove ifdefs around code since all our port platforms will use them.pinkerton@google.com2008-09-104-13/+0
| | | | | | Review URL: http://codereview.chromium.org/1707 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2000 0039d316-1c4b-4281-b951-d872f2087c98
* more cross-platform graphics changespinkerton@google.com2008-09-102-5/+4
| | | | | | Review URL: http://codereview.chromium.org/1704 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1993 0039d316-1c4b-4281-b951-d872f2087c98
* Fix uses of PlatformCanvasWin and get compiling under gcc.pinkerton@google.com2008-09-102-9/+8
| | | | | | Review URL: http://codereview.chromium.org/1702 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1992 0039d316-1c4b-4281-b951-d872f2087c98
* include SkGraphicsContextMac.mm and PlatformContextSkiapinkerton@google.com2008-09-101-0/+399
| | | | | | Review URL: http://codereview.chromium.org/1897 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1991 0039d316-1c4b-4281-b951-d872f2087c98
* BUG = 1357667fqian@google.com2008-09-103-38/+25
| | | | | | | | | | | | | Redo the fix of issue 1357667. Previous fix does not address all cases (HTMLLinkElement.sheet). It works by create a hidden reference from JS wrapper of StyleSheet object to its owner node. This is down when creating the JS wrapper object. Add a test for HTMLLinkElement that crashes both Chrome and Safari 3.1.2. Review URL: http://codereview.chromium.org/1678 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1990 0039d316-1c4b-4281-b951-d872f2087c98
* Patch for bug 1994:fqian@google.com2008-09-104-9/+59
| | | | | | | | | Make sure that customized properties set on window.location and window.navigator survive GC. Matches Safari and Firefox's behaviors. Review URL: http://codereview.chromium.org/1884 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1973 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup some constants in the binding code.fqian@google.com2008-09-103-42/+40
| | | | | | Review URL: http://codereview.chromium.org/1879 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1966 0039d316-1c4b-4281-b951-d872f2087c98
* submit forked file from issue http://codereview.chromium.org/1821fqian@google.com2008-09-081-0/+38
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1878 0039d316-1c4b-4281-b951-d872f2087c98
* fix build issue on Linux with GCC 4.1.2evanm@google.com2008-09-082-1/+3
| | | | | | | | | | | related to non-virtual destructors in classes having virtual methods BUG=1859 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1860 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
* Rollback revisions 1785-1786 due to purify regression.aa@google.com2008-09-053-168/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1795 0039d316-1c4b-4281-b951-d872f2087c98
* Missing files from r1785.aa@google.com2008-09-052-0/+147
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1786 0039d316-1c4b-4281-b951-d872f2087c98
* Try again to begin compiling the files that implemen the HTML5aa@google.com2008-09-051-0/+21
| | | | | | | | | | | database API. This time, I added a project dependency from WebCore to sqlite on every solution that includes WebCore. Review URL: http://codereview.chromium.org/466 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1785 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling back 1737 because it broke the build.aa@google.com2008-09-043-170/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1741 0039d316-1c4b-4281-b951-d872f2087c98
* gAdds the files that implement the HTML5 Database API to theaa@google.com2008-09-043-0/+170
| | | | | | | | | | | | | project. Also adds stubs for the integration with the renderer. Right now, the integration is done by just replacing two key cpp files: DatabaseTracker and OriginQuotaManager. Once this all gets up and running, I'll circle back and think about the changes necessary to WebCore to do a more elegant integration. Review URL: http://codereview.chromium.org/601 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1737 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to pending to get WebCore to compile on linux. Thistc@google.com2008-09-041-1/+1
| | | | | | | | | | | | | | | | | | doesn't enable it yet since there are more changes to WebKit that we need from the merge. Once the merge lands, pending will probably be clobbered, so this is temporary to allow us to keep moving forward. Go ahead and switch from PLATFORM_CHROME to PLATFORM_CHROMIUM and try to change all the places in the mac code. This change includes bits from http://codereview.chromium.org/228 which is by Seo Sanghyeon. Everything still compiles on Windows. Review URL: http://codereview.chromium.org/1201 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1725 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to webkit/port to build via gcc on linux/mac.tc@google.com2008-09-042-2/+2
| | | | | | | | | | This is part of the change on issue 228, I'm just breaking it up into pieces to make it easier merge with. http://codereview.chromium.org/228 Review URL: http://codereview.chromium.org/437 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1721 0039d316-1c4b-4281-b951-d872f2087c98
* Add cast to fix warning with gcc 4.1.mmoss@google.com2008-09-041-1/+1
| | | | | | | | | | src/webkit/port/platform/graphics/svg/SVGPaintServerGradientSkia.cpp: In constructor 'WebCore::SkiaGradientBuilder::SkiaGradientBuilder(const WTF::Vector<std::pair<float, WebCore::Color>, 0u>&, float)': src/webkit/port/platform/graphics/svg/SVGPaintServerGradientSkia.cpp:82: warning: passing 'float' for argument 1 to 'SkColor SkColorSetARGB(U8CPU, U8CPU, U8CPU, U8CPU)' Review URL: http://codereview.chromium.org/429 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1707 0039d316-1c4b-4281-b951-d872f2087c98
* Initial pass at simple event tracing. I added a few traces to tcp_socket ↵erikkay@google.com2008-09-021-1/+7
| | | | | | | | | | | | and test_shell to get an idea of what a simple trace might look like. Here's a sample output line: 11:24:19.660604 0x1e278:0x1e24c BEGIN url.load [0x5 http://mail.google.com/mail/] <E:\src\cr\src\webkit\tools\test_shell\test_webview_delegate.cc:189> format is:hh:mm:ss.us pid:tid TYPE NAME [id, extra] <file:line> git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1641 0039d316-1c4b-4281-b951-d872f2087c98
* Switch SharedTimerWin over to using PostDelayedTask. I made some tweaks to thedarin@google.com2008-08-302-40/+16
| | | | | | | | | | | | | PostDelayedTask implementation to ensure that perf is still good. This involved recording the intended fire time of PostDelayedTask on the Task object so that it can be used to properly determine the delay passed to the StartTimer call. With this change, I am able to service timers (call DoDelayedWork) more often from within the MessagePump implementations. R=mbelshe BUG=1346553 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1578 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily moved Font::isCJKCodePoint back to SimpleFontData::isCJKCodePointdglazkov@google.com2008-08-291-1/+1
| | | | | | | TBR git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1558 0039d316-1c4b-4281-b951-d872f2087c98
* Makes sure that debug-only layout test failures are not to the ZERO WIDTH ↵dglazkov@google.com2008-08-291-20/+31
| | | | | | | | | | | SPACE mapping to SPACE glyph complaints (http://b/1317563), fixes a layout test (fast/text/zero-width-characters.html), and provides an updated patch for WebKit.org bug 20237 (https://bugs.webkit.org/show_bug.cgi?id=20237). This change brings handling of the ZWS and CJK character widths down to the level of SimpleFontData by creating special (sub-classed) SimpleFontData objects that are used in GlyphData. These instances are created when the glyph cache is being filled (GlyphPage::fill). More better things are possible, but at the moment I thought it might be good to just get the basics right. Also, a couple of the layout tests are brought back to pre-font-metric-hacks removal versions. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1557 0039d316-1c4b-4281-b951-d872f2087c98
* platform ifdefs for webview. Add platform_viewdefs to wrap things like HWNDs ↵pinkerton@google.com2008-08-291-1/+4
| | | | | | to keep APIs more crossplatform. Fix uses of PlatformCanvasWin to just use PlatformCanvas. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1528 0039d316-1c4b-4281-b951-d872f2087c98
* Get a good piece of port building under Linux.erg@google.com2008-08-294-4/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1515 0039d316-1c4b-4281-b951-d872f2087c98
* Bring EventHandlerMac.mm over from WebKit to port so that we can turn off ↵avi@google.com2008-08-281-0/+641
| | | | | | some of the direct layer-breaking behavior that Apple provides. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1485 0039d316-1c4b-4281-b951-d872f2087c98
* Check the return value of GetFontUnicodeRange. If it fails, call ↵jungshik@google.com2008-08-281-1/+14
| | | | | | | | | | | | | | | EnsureFontLoaded (to load font in the browser process) and try again. Google Georgian is the easiest to reproduce and test, but a similar symptom was reported for Chinese and Japanese pages. BUG=1346275 TEST=In Simplified Chinese XP VM, go to http://www.google.ge and see Georgian characters are rendered correctly. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1477 0039d316-1c4b-4281-b951-d872f2087c98
* For RenderThemeMac.h into pending and create new RenderThemeMac in port to ↵pinkerton@google.com2008-08-271-0/+1540
| | | | | | impl our version. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1459 0039d316-1c4b-4281-b951-d872f2087c98
* add stub for ScrollViewMac to build in platform/macpinkerton@google.com2008-08-271-0/+213
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1450 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of code-driven binding template configuration to a data-driven ↵deanm@google.com2008-08-273-43/+139
| | | | | | approach. This reduces the code size, and the overall binary size. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1435 0039d316-1c4b-4281-b951-d872f2087c98
* Forking webkit sources for clipboard/drag impl on Mac. It's almost exactlypinkerton@google.com2008-08-264-0/+1618
| | | | | | | 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
* Fixup some nits from brettpinkerton@google.com2008-08-251-2/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1322 0039d316-1c4b-4281-b951-d872f2087c98
* Use a more compact license header in source files.license.bot2008-08-2442-1369/+361
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98
* The deps_checker is complaining that v8_binding includesnsylvain@google.com2008-08-231-1/+1
| | | | | | | | | | a file in common. I changed the path so we can include it the same way we do everywhere else. Eventually we should include with a full path (starting at third_party/icu...) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1281 0039d316-1c4b-4281-b951-d872f2087c98