summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate CursorChromium's dependency on webkit/glue.darin@chromium.org2008-11-0617-431/+508
| | | | | | | | | | | Also modified WidgetChromium to use ChromiumBridge instead of talking to ChromeClientChromium. I want to eliminate that fake interface in favor of just having our code talk directly to ChromeClientImpl, but that means a dependency on webkit/glue, so I needed to use ChromiumBridge. Long-term, I'd like to propose changes upstream to HostWindow and ChromeClient to avoid this usage of ChromiumBridge. The most impactful part of this CL is the change to move the enumeration of cursor types from WebCursor to PlatformCursor. This means that WebCursor consumers no longer have access to the type enumeration. I replaced that with helper functions on WebCursor. I think the result not only achieves the goal of breaking CursorChromium's dependency on webkit/glue but is also much cleaner. R=iyengar,eseidel Review URL: http://codereview.chromium.org/9072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4846 0039d316-1c4b-4281-b951-d872f2087c98
* Switch from using GdkPixbuf to cairo for painting on Drawables.agl@chromium.org2008-11-061-2/+6
| | | | | | | | | | Make everything use ARGB order in registers (B.G.R.A order in memory on little-endian systems) Review URL: http://codereview.chromium.org/8227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4845 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes bug http://code.google.com/p/chromium/issues/detail?id=4076, ↵ananta@chromium.org2008-11-062-1/+20
| | | | | | | | | | | | | | which was a hang while loading certain PDF files. This was a regression caused by support for NPN_RequestRead (PDF Fast Webview). We had incorrectly assumed that the Content Type showing up for partial HTTP Responses would always end with the boundary. A content type can show up like multipart/byteranges; boundary=--bound--; charSet=utf8. As a result we would look for the wrong boundary in the actual data resulting in a hang. The parsing code now accounts for this. Added a unit test to test this case. Bug=4076 R=jam Review URL: http://codereview.chromium.org/9198 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4842 0039d316-1c4b-4281-b951-d872f2087c98
* Fix all callers of the removed GraphicsContext functions to use only the ↵brettw@google.com2008-11-055-50/+47
| | | | | | | | functions in the upstream version of WebKit. Review URL: http://codereview.chromium.org/9210 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4840 0039d316-1c4b-4281-b951-d872f2087c98
* revert 9391estade@chromium.org2008-11-055-22/+20
| | | | | | Review URL: http://codereview.chromium.org/9607 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4837 0039d316-1c4b-4281-b951-d872f2087c98
* Enabled WebFrameTest, refactored some test shell functions.estade@chromium.org2008-11-055-20/+22
| | | | | | Review URL: http://codereview.chromium.org/9391 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4834 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary, deleted pending/ subdirectories from CPPPATH.sgk@google.com2008-11-052-3/+0
| | | | | | Review URL: http://codereview.chromium.org/9434 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4820 0039d316-1c4b-4281-b951-d872f2087c98
* don't define HAVE_ACCESSIBILITY, pull in chromium stubs for object cachepinkerton@google.com2008-11-051-1/+5
| | | | | | Review URL: http://codereview.chromium.org/9196 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4818 0039d316-1c4b-4281-b951-d872f2087c98
* Mac build fixes following r4804. Add files to the Mac project. Add requiredmark@chromium.org2008-11-053-0/+11
| | | | | | | #includes. Review URL: http://codereview.chromium.org/9195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4812 0039d316-1c4b-4281-b951-d872f2087c98
* Added functions to WebDatabase and WebDataService for recording frequent ↵petersont@google.com2008-11-051-0/+7
| | | | | | | | entries in text input elements in forms. Also added the class AutofillManager which gets instantiated once per WebContents and provides an API from which the database can be easily accessed to provide a list of possible desired values to be entered in a text field given what the user has already typed there. Review URL: http://codereview.chromium.org/8845 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4809 0039d316-1c4b-4281-b951-d872f2087c98
* This CL adds the autofill UI in forms.jcampan@chromium.org2008-11-0519-88/+556
| | | | | | | | | | | | When the user types text in a text field in a form, the renderer queries the browser for suggestion based on the entered text and displays the suggestions in a popup. Listeners are set on the form text field in a similar fashion than for password save. The popup showing the suggestion uses the same mechanism as the select popup. Note that a difference between the select and the autofill popup is that the autofill should not take focus, so the page still has focus and the user can still type in while it shows. The creation of the render widget was modified for that purpose so we can specify the popup should not be focused when shown. Review URL: http://codereview.chromium.org/8885 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4804 0039d316-1c4b-4281-b951-d872f2087c98
* Switch from ColorMac.mm to ColorSkia.cpp in order to stop using ColorMac.mm,amanda@chromium.org2008-11-051-4/+12
| | | | | | | | unfork ColorCG.cpp, and pick up the Chromium standard focus ring color. May be superceded at some point if the color becomes a per-theme attribute. Review URL: http://codereview.chromium.org/9185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4800 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up test_shell toolbar buttons.evanm@google.com2008-11-051-15/+41
| | | | | | | Review URL: http://codereview.chromium.org/9423 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4793 0039d316-1c4b-4281-b951-d872f2087c98
* make sure the host gets notified of invalidates so we only paint what changespinkerton@google.com2008-11-052-6/+7
| | | | | | Review URL: http://codereview.chromium.org/9419 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4790 0039d316-1c4b-4281-b951-d872f2087c98
* Fix slow scrolling by ignoring spurious paint requests (i.e., paint requestsdarin@chromium.org2008-11-052-0/+6
| | | | | | | | | | | | where content_changed is false). These calls to repaint are safe to ignore given our painting architecture. BUG=4108 R=brettw Review URL: http://codereview.chromium.org/9174 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4787 0039d316-1c4b-4281-b951-d872f2087c98
* Implement and refactor some test shell functions and enable a test.estade@chromium.org2008-11-059-39/+76
| | | | | | Review URL: http://codereview.chromium.org/9087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4733 0039d316-1c4b-4281-b951-d872f2087c98
* Render GTK widgets on Linuxagl@chromium.org2008-11-055-27/+609
| | | | | | | Review URL: http://codereview.chromium.org/9378 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4722 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrote the clipboard API to be more concurrent. Added a helper class to ↵estade@chromium.org2008-11-055-67/+70
| | | | | | | | make it more foolproof. Updated all clients and unittests. Mac port by jeremy@chromium.org Review URL: http://codereview.chromium.org/9154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4719 0039d316-1c4b-4281-b951-d872f2087c98
* Paint regions properly on linux test_shell.tc@google.com2008-11-051-14/+39
| | | | | | | | | | | | | The key was to update paint_rect_ during the DidInvalidateRect. I also added some code for bookkeeping needed for optimized scrolling, but haven't actually hooked it up yet. Most of the other changes were to get more inline with the Windows code. Review URL: http://codereview.chromium.org/9151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4711 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up linux test shell mouse eventstc@google.com2008-11-041-15/+46
| | | | | | | | | | | - button press, release - mouse move - wheel scroll Review URL: http://codereview.chromium.org/9355 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4687 0039d316-1c4b-4281-b951-d872f2087c98
* make it easier to type urls into testshell by adding http if there's no schemepinkerton@google.com2008-11-041-2/+6
| | | | | | Review URL: http://codereview.chromium.org/9138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4672 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup editor_client_impl.cc after http://codereview.chromium.org/8677/showtc@google.com2008-11-041-15/+0
| | | | | | | | | | | | I realised that some of the comments and namespacing does not apply anymore. patch from Paweł Hajdan jr <phajdan.jr@gmail.com> in http://codereview.chromium.org/9109 Review URL: http://codereview.chromium.org/9343 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4639 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crasher when printing.maruel@chromium.org2008-11-041-1/+33
| | | | | | Review URL: http://codereview.chromium.org/8218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4628 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use ENABLE_DATABASE in DOMWindow.idl yet, it's not ready (r4486 fallout)mark@chromium.org2008-11-041-1/+2
| | | | | | Review URL: http://codereview.chromium.org/9339 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4618 0039d316-1c4b-4281-b951-d872f2087c98
* Updating the Chrome plugin installer database files with the updatedananta@chromium.org2008-11-042-0/+653
| | | | | | | | | | | | | | java plugin installer from Sun. The chrome_plugins_file.xml has been renamed to plugins2.xml. The older version of the file (plugins.xml) is also being checked in. This is needed to support the Chrome version in the field. R=mal Review URL: http://codereview.chromium.org/9085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4613 0039d316-1c4b-4281-b951-d872f2087c98
* Add chromium_bridge_impl.cc to the Xcode build.darin@google.com2008-11-041-2/+4
| | | | | | | | R=mark Review URL: http://codereview.chromium.org/9081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4601 0039d316-1c4b-4281-b951-d872f2087c98
* Add 2 new failures to the tests_fixable list tonsylvain@chromium.org2008-11-041-1/+4
| | | | | | | | turn the webkit slaves green. Review URL: http://codereview.chromium.org/9112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4599 0039d316-1c4b-4281-b951-d872f2087c98
* Fix two issues with window.location:ager@google.com2008-11-045-13/+81
| | | | | | | | | | | | | | | - Disallow shadowing of window.location using __defineGetter__ and __defineSetter__. - Make sure that funtions such as toString on location objects cannot be overwritten by user functions. This needs V8 revision 656. This will be put back once we have pushed that version. Review URL: http://codereview.chromium.org/8737 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4598 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselined the following layout testssgjesse@chromium.org2008-11-044-6/+3
| | | | | | | | | | | LayoutTests\http\tests\security\aboutBlank\xss-DENIED-set-opener.html LayoutTests\http\tests\security\aboutBlank\xss-DENIED-navigate-opener-document-write.html LayoutTests\http\tests\security\aboutBlank\xss-DENIED-navigate-opener-javascript-url.html The original expectations included a security access error where the source was about:blank, but as soon as an about:blank is written to it is supposed to get the URL of the script performing the write. This behaviour matches the error messages seen in Firefox and Internet Explorer. Review URL: http://codereview.chromium.org/9106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4596 0039d316-1c4b-4281-b951-d872f2087c98
* Remove chrome/fast/encoding/hanarei-blog32-fc2-com.html test and result. ↵jungshik@google.com2008-11-042-45/+0
| | | | | | | | It's accepted (along with the corresponding code change) in the upstream (webkit r36289) and we now have it in our tree. Review URL: http://codereview.chromium.org/9289 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4578 0039d316-1c4b-4281-b951-d872f2087c98
* Add ENABLE_CTI=1 to both using_javascriptcore.vsprops and ↵fqian@google.com2008-11-041-1/+1
| | | | | | | | | | using_KJSBinding.vsprops. Mismatching causes object layout mismatching, and crashes JSC build right way. Review URL: http://codereview.chromium.org/9294 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4540 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Linux/Mac builds after my change to test_shell.mpcomplete@google.com2008-11-042-8/+0
| | | | | | | TBR=jam Review URL: http://codereview.chromium.org/9073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4535 0039d316-1c4b-4281-b951-d872f2087c98
* Finish unforking the async history item changes.mpcomplete@google.com2008-11-047-22/+0
| | | | | | | BUG=3912 Review URL: http://codereview.chromium.org/9273 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4530 0039d316-1c4b-4281-b951-d872f2087c98
* Change the event-listener-context.html test status.dglazkov@google.com2008-11-031-2/+2
| | | | | | Review URL: http://codereview.chromium.org/9063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4516 0039d316-1c4b-4281-b951-d872f2087c98
* add sqlite to the build pathtc@google.com2008-11-031-0/+6
| | | | | | | | | | | fix linux build tbr=aa Review URL: http://codereview.chromium.org/9278 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4500 0039d316-1c4b-4281-b951-d872f2087c98
* fix build by adding sql and storage files to webcore SConscripttc@google.com2008-11-033-4/+22
| | | | | | | | | | | and adding sqlite to the test_shell dependencies TBR=aa Review URL: http://codereview.chromium.org/9275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4497 0039d316-1c4b-4281-b951-d872f2087c98
* Revert changes in issue 9247.fqian@google.com2008-11-032-1/+3
| | | | | | Review URL: http://codereview.chromium.org/9051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4495 0039d316-1c4b-4281-b951-d872f2087c98
* Build database files on the Mac (r4486). Sets HEADER_SEARCH_PATHS and addsmark@chromium.org2008-11-032-43/+270
| | | | | | | | | needed files in third_party/WebKit/WebCore/platform/sql and third_party/WebKit/WebCore/storage to webkit.xcodeproj. Makes TestShell.xcodeproj depend on libsqlite. Review URL: http://codereview.chromium.org/9055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4494 0039d316-1c4b-4281-b951-d872f2087c98
* enable database in scons buildtc@google.com2008-11-031-1/+1
| | | | | | | Review URL: http://codereview.chromium.org/9272 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4492 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on ENABLE_DATABASE on the Mac (r4486)mark@chromium.org2008-11-031-2/+2
| | | | | | Review URL: http://codereview.chromium.org/9271 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4491 0039d316-1c4b-4281-b951-d872f2087c98
* Mac build support for HTML5 media/audio/video/source tags (r4332)mark@chromium.org2008-11-031-3/+53
| | | | | | Review URL: http://codereview.chromium.org/8792 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4490 0039d316-1c4b-4281-b951-d872f2087c98
* Get Database compiling on Chromium. Note that because we aren't generating theaa@google.com2008-11-038-1135/+1384
| | | | | | | | bindings, this doesn't actually expose the DB code to web pages. Review URL: http://codereview.chromium.org/7982 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4486 0039d316-1c4b-4281-b951-d872f2087c98
* Port a few more test_shell_tests to Linux.tc@google.com2008-11-039-865/+1455
| | | | | | | | | | | Now running 60 tests on Linux. Patch from Paweł Hajdan jr and from: http://codereview.chromium.org/8677/show Review URL: http://codereview.chromium.org/9268 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4483 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Selenium testsdglazkov@google.com2008-11-035-30/+58
| | | | | | | | Provide indication that inline even handlers are indeed inline. Review URL: http://codereview.chromium.org/9037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4479 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ScriptController::notifyDOMWindowReady() to windowObjectAvailable().fqian@google.com2008-11-032-3/+1
| | | | | | | | Remove unnecessary calls to dispatchWindowObjectReady. FrameLoader calls the function. Review URL: http://codereview.chromium.org/9247 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4460 0039d316-1c4b-4281-b951-d872f2087c98
* Fix state pushing in the graphics context. My changes pushed a default state ↵brettw@google.com2008-11-011-1/+1
| | | | | | | | object on the stack, rather than duplicating the previous state. Review URL: http://codereview.chromium.org/9006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4372 0039d316-1c4b-4281-b951-d872f2087c98
* Fix font regression. I was using ascent() instead of font->ascent(), whichbrettw@google.com2008-11-011-10/+7
| | | | | | | | | | I think doesn't take into account fallback fonts and small caps, so those characters would be incorrectly vertically aligned. This also fixes an old bug I noticed where if the run is more than 1024 pixels, it will start being drawn over itself since we never used the updated x coordinate. Review URL: http://codereview.chromium.org/9206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4371 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up some GTK signals:evanm@google.com2008-11-011-0/+34
| | | | | | | | | | - Enter in URL box loads URL. - Closing the window shuts everything down. Review URL: http://codereview.chromium.org/8780 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4353 0039d316-1c4b-4281-b951-d872f2087c98
* move test_shell_gtk.cc next to test_shell.cctc@google.com2008-10-312-2/+2
| | | | | | | Review URL: http://codereview.chromium.org/8989 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4348 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out text, theme, and icon stuff out of PlatformContextSkia back to ↵brettw@google.com2008-10-316-526/+399
| | | | | | | | the original platform-specific files. Review URL: http://codereview.chromium.org/8982 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4347 0039d316-1c4b-4281-b951-d872f2087c98