summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* This fixes bug http://code.google.com/p/chromium/issues/detail?id=4137, ananta@chromium.org2008-11-072-11/+15
| | | | | | | | | | | | | | | | | | which was an issue with the site failing to detect Windows media player. The site would run a script which would enumerate the list of plugins from the navigator object and compare each plugin name for "Windows Media" and "Plug". This is under the assumption that the windows media player plugin is typically named as Microsoft� Windows Media Player Firefox Plugin and it would find both the strings in the name. I had changed the name of activex shim instance for media player previously to Windows Media to fix a similar issue with bloomberg.com. Should have changed it to the full name at that point. The fix is to fully match the windows media player plugin name in the shim. The other change is to perform a case insensitive comparison of the plugin file names while looking for matching plugins. R=jam Bug=4137 Review URL: http://codereview.chromium.org/9482 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4950 0039d316-1c4b-4281-b951-d872f2087c98
* Some basic keyboard and focus support.evanm@google.com2008-11-075-6/+51
| | | | | | | Review URL: http://codereview.chromium.org/9626 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4944 0039d316-1c4b-4281-b951-d872f2087c98
* More efficient webkit addRepository() mapping.sgk@google.com2008-11-063-12/+19
| | | | | | | | | | | | | | | | | | Get rid of some unnecessary addRepository() calls that mapped specific webkit\port\ subdirectories to third_party\WebKit\WebCore subdirectories, in ways that were already covered by the mapping in webkit\SConscript of all of $WEBKIT_DIR\port to third_party\WebKit\WebCore. This takes about 40 duplicate /I options out of a typical compilation command line (and, more importantly, out of the .h file searches). Add additional comments about future potential efficiency that we can get from eliminating the quirky way we remap specific directories into webkit\port, instead of just maintaining a completely parallel directory structure and mapping the whole tree once. Review URL: http://codereview.chromium.org/9466 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4918 0039d316-1c4b-4281-b951-d872f2087c98
* Enabled WebFrameTest, refactored some test shell functions.estade@chromium.org2008-11-065-20/+22
| | | | | | Review URL: http://codereview.chromium.org/9652 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4916 0039d316-1c4b-4281-b951-d872f2087c98
* Prepend protocol on file URLs in test shell gtk.estade@chromium.org2008-11-062-10/+19
| | | | | | Review URL: http://codereview.chromium.org/9624 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4915 0039d316-1c4b-4281-b951-d872f2087c98
* fix bug in scrolling where we wouldn't store the unioned rectangles, just ↵pinkerton@google.com2008-11-061-1/+1
| | | | | | | | let it drop on the floor. Review URL: http://codereview.chromium.org/9653 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4911 0039d316-1c4b-4281-b951-d872f2087c98
* Attempting to fix the Mac build.jcampan@chromium.org2008-11-062-9/+0
| | | | | | | TBR=nsylvain Review URL: http://codereview.chromium.org/9467 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4910 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting the autofill popu CL as it creates perf regression.jcampan@chromium.org2008-11-0619-599/+130
| | | | | | | | TBR=nsylvain Review URL: http://codereview.chromium.org/9460 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4908 0039d316-1c4b-4281-b951-d872f2087c98
* Correctly add expectation.brettw@google.com2008-11-061-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4905 0039d316-1c4b-4281-b951-d872f2087c98
* Mark my test as failing.brettw@google.com2008-11-061-1/+5
| | | | | | Review URL: http://codereview.chromium.org/9651 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4902 0039d316-1c4b-4281-b951-d872f2087c98
* fix mac build part 4tony@chromium.org2008-11-061-0/+6
| | | | | | | | | | | add password_autocomplete_listener.cc to the build TBR=mark Review URL: http://codereview.chromium.org/9648 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4899 0039d316-1c4b-4281-b951-d872f2087c98
* Rebase foreign object layout test. We now correctly draw the button.brettw@google.com2008-11-062-1/+1
| | | | | | Review URL: http://codereview.chromium.org/9646 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4896 0039d316-1c4b-4281-b951-d872f2087c98
* fix mac build part 3tony@chromium.org2008-11-062-1/+3
| | | | | | | | | | | "config.h" needs to be included first TBR=mark Review URL: http://codereview.chromium.org/9647 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4895 0039d316-1c4b-4281-b951-d872f2087c98
* fix mac build take 2tony@chromium.org2008-11-061-0/+4
| | | | | | | | | | | add autocomplete_input_listener.cc to the glue lib TBR=mark Review URL: http://codereview.chromium.org/9645 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4894 0039d316-1c4b-4281-b951-d872f2087c98
* fix mac buildtony@chromium.org2008-11-061-0/+2
| | | | | | | | | | | add dom_operations.cc to the mac build TBR=mark Review URL: http://codereview.chromium.org/9644 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4893 0039d316-1c4b-4281-b951-d872f2087c98
* Port some test_shell_tests, and platform cleanup for more of them.tc@google.com2008-11-069-51/+69
| | | | | | | | | | | | | | Many of these files that I don't added to the build would even compile and link, but don't yet pass with current test_shell on Linux. They just hang. Patch from Paweł Hajdan jr <phajdan.jr@gmail.com> on http://codereview.chromium.org/9417 Review URL: http://codereview.chromium.org/9641 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4892 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for arbitrarily transformed Windows buttons text fields, and ↵brettw@google.com2008-11-064-25/+264
| | | | | | | | select boxes (but does not affect scroll bars). I created a helper class, ThemeHelperWin, which automatically wraps the logic necessary to do this. There are three modes: draw the form control normally, draw it at a different size (for scaling, just tell Windows it's a different size and don't transform the graphics coordinates), or arbitrary transforms (where it's drawn to an offscreen buffer and transformed by our graphics layer. Review URL: http://codereview.chromium.org/9008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4890 0039d316-1c4b-4281-b951-d872f2087c98
* Fix FEATURE_DEFINES after r4818. Remove HAVE_ACCESSIBILITY from Release (itmark@chromium.org2008-11-062-4/+4
| | | | | | | | | | was already removed from Debug). Remove the trailing space on the FEATURE_DEFINES setting in debug mode; it was causing a DOUBLE space in the --defines string being passed to generate-bindings.pl, of which that script is intolerant. Review URL: http://codereview.chromium.org/9640 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4886 0039d316-1c4b-4281-b951-d872f2087c98
* Add option --winhttp to the layout test runner.sgjesse@chromium.org2008-11-061-0/+6
| | | | | | Review URL: http://codereview.chromium.org/9173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4874 0039d316-1c4b-4281-b951-d872f2087c98
* Changes parameters used by IME code to fix several issues caused by Japanese ↵hbono@chromium.org2008-11-065-48/+52
| | | | | | | | | | | | | | IMEs. Recent Japanese IMEs (ATOK2008 and MSIME 2007) display a suggestion window (a window which contains suggestions) above a composition string. To fix this issue, we do not only send the lower-left corner of a composition string but also send its upper-left corner and its upper-right corner. So, this change changes IPC parameters used by IME from a tuple of integers to gfx::Rect. Also, this change fixes cursor positions for Japanese IMEs. BUG=2770 "IME: Candidate window of Japanese IME follows the end of composition" BUG=2771 "ATOK 2008 IME pop-ups are displayed below the main Chrome window." BUG=2775 "IME: Caret is always displayed at the last of IME composition." Review URL: http://codereview.chromium.org/7385 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4872 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mac build bustage caused by undefined symbol.darin@google.com2008-11-062-0/+9
| | | | | | | | TBR=pinkerton Review URL: http://codereview.chromium.org/9617 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4852 0039d316-1c4b-4281-b951-d872f2087c98
* The form aufotill was triggering a DCHECK when a form had a password field ↵jcampan@chromium.org2008-11-061-2/+2
| | | | | | | | | | | but no user name associated. This was causing some wekbit layout tests to fail. TEST=Run the webkit layout tests. Review URL: http://codereview.chromium.org/9612 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4850 0039d316-1c4b-4281-b951-d872f2087c98
* 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