summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* The street view in Google maps, which is implemented with a windowed flash ↵ananta@chromium.org2009-03-202-25/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | plugin would draw over the iframe DOM element, effectively hiding it. This is handled by our IFrame shim geometry calculation, where we subtract the rect of any IFrame above the plugin in the ZOrder from the plugin rect. Webkit calls Widget::setFrameRect at various times, during layout/size changes/paints, etc. The reason this bug showed up, was due to an optimization in our setFrameRect implementation, where we would bail out if the rect passed in was the same size as the current plugin rect. Basically the IFrame appears above the plugin in the ZOrder much later, which causes us to return without sending over the cutout rects to the browser when it moves the plugin windows. Fix is to move the rects equality check to WebPluginImpl::setFrameRect, where we don't send over the UpdateGeometry IPC to the plugin process if the rects are the same. WebPluginImpl used to implement the webkit Widget interface a long time ago. This is no longer the case. So some of the functions don't need to be virtual anymore. I also made this change. This fixes bug http://b/issue?id=1722236 and http://code.google.com/p/chromium/issues/detail?id=8858 Bug=1722236,8858 Review URL: http://codereview.chromium.org/42413 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12179 0039d316-1c4b-4281-b951-d872f2087c98
* SSLPolicy fix: Step 9 of 9 (hopefully!).abarth@chromium.org2009-03-2013-202/+270
| | | | | | | | | | | | Change our algorithm for computing the state of our SSL security indicators. Previously, we were computing this state for a single navigation entry. Although this matches other browsers, it fails to take the same-origin policy into account. For example, if one tab is contaminated with insecure content, that insecure content can spread to all the tabs in the same security origin. R=jcampan,wtc BUG=8706 TEST=SSLUITest.TestMixedContentsRandomizeHash,SSLUITest.TestMixedContentsTwoTabs Review URL: http://codereview.chromium.org/42314 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12178 0039d316-1c4b-4281-b951-d872f2087c98
* BUG=6869hclam@chromium.org2009-03-203-3/+2
| | | | | | | | | The crash is fixed since WebKit@r41824, and it's not crashing since merge. The test needs to be rebaselined due to change in JPEG decoder. Review URL: http://codereview.chromium.org/43114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12177 0039d316-1c4b-4281-b951-d872f2087c98
* Now have a TextButton rendering (sort of; doesn't respond to mouse events soerg@google.com2009-03-1912-47/+61
| | | | | | | | | | | I don't know if it'll draw the border correctly). Now with fixes to compile under Windows. Review URL: http://codereview.chromium.org/42427 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12172 0039d316-1c4b-4281-b951-d872f2087c98
* Add the directory listing code for the new portable FTPwtc@chromium.org2009-03-195-0/+1551
| | | | | | | | | | | | | implementation, based on the Mozilla code mozilla/netwerk/streamconv/converters/ParseFTPList.cpp. Contributed by Ibrar Ahmed <ibrar.ahmad@gmail.com>. R=darin,wtc BUG=4965 Review URL: http://codereview.chromium.org/42261 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12171 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in README files for hunspell dictionariesifette@google.com2009-03-1929-59/+4638
| | | | | | | | Brett: This is FYI for you Sid: There's a README_vi_VN but nothing for vi_VI. Can you help me figure out what's going on there? vi_VI is not listed in the openoffice page nor is it in fullpack. Review URL: http://codereview.chromium.org/21431 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12170 0039d316-1c4b-4281-b951-d872f2087c98
* Pre-upstreaming style changes to match webkit style.levin@chromium.org2009-03-193-761/+743
| | | | | | Review URL: http://codereview.chromium.org/48169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12169 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for progressive JPEGs with MIME type image/pjpeg. Fixes Issue 2104.jon@chromium.org2009-03-191-0/+1
| | | | | | Review URL: http://codereview.chromium.org/42424 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12168 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix crash when getting the screen info for a NULL window.agl@chromium.org2009-03-191-8/+8
| | | | | | | | | | | | | | Since we still have the hack where we pass raw pointers into the renderer, we should catch the NULL case and return something sane. Additionally, while I'm at it, always tell WebKit that it has a 32-bit screen. Since it paints via IPC messages, it doesn't need to know what the actual screen is using; we handle all that in the BackingStore. Review URL: http://codereview.chromium.org/50030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12167 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bunch of tiny near-bugs and bugs that static analysis identifiedjar@chromium.org2009-03-197-11/+12
| | | | | | | r=mbelshe,brettw Review URL: http://codereview.chromium.org/50014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12166 0039d316-1c4b-4281-b951-d872f2087c98
* Enable IDL attribute [V8ReadOnly] to have the same mbelshe@google.com2009-03-191-3/+4
| | | | | | | | | | | | | semantics as having specified an attribute as readonly. This allows us to unfork IDL differences where V8 wants readonly and JSC does not by using the V8ReadOnly tag. Review URL: http://codereview.chromium.org/50037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12165 0039d316-1c4b-4281-b951-d872f2087c98
* Reorder some stuff to be in alphabetical order in preparation for adding ↵pkasting@chromium.org2009-03-192-246/+246
| | | | | | | | more. No functional change. Review URL: http://codereview.chromium.org/42418 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12164 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Now have a TextButton rendering." Broke Windows.erg@google.com2009-03-1911-56/+37
| | | | | | | | | TBR=beng Review URL: http://codereview.chromium.org/50035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12163 0039d316-1c4b-4281-b951-d872f2087c98
* Now have a TextButton rendering (sort of; doesn't respond to mouse events so ↵erg@google.com2009-03-1911-37/+56
| | | | | | | | | I don't know if it'll draw the border correctly). Review URL: http://codereview.chromium.org/42414 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12162 0039d316-1c4b-4281-b951-d872f2087c98
* Linux GYP: build fixagl@chromium.org2009-03-191-110/+182
| | | | | | | Review URL: http://codereview.chromium.org/42412 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12161 0039d316-1c4b-4281-b951-d872f2087c98
* Create cross-platform NativeButton2 class that wraps a NativeButtonWin.Once ↵ben@chromium.org2009-03-1916-214/+516
| | | | | | | | I get this to work I'll rename it NativeButton and remove the old one. Review URL: http://codereview.chromium.org/48117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12160 0039d316-1c4b-4281-b951-d872f2087c98
* Rebase stroking layout test. The change I made in webkit to fix this has nowsverrir@chromium.org2009-03-193-2/+2
| | | | | | | | | | | been landed in our codebase. See: https://bugs.webkit.org/show_bug.cgi?id=23630 The stroking-decorations test has been rebaselined already. The output is not perfect but much better then the currect baseline. I'm also removing the DEFER status. Review URL: http://codereview.chromium.org/50028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12159 0039d316-1c4b-4281-b951-d872f2087c98
* Convert FindInPage wstrings to string16.tc@google.com2009-03-1914-28/+27
| | | | | | | Review URL: http://codereview.chromium.org/42408 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12158 0039d316-1c4b-4281-b951-d872f2087c98
* Test was examining a variable without first acquiring a required Lock.ralphl@chromium.org2009-03-194-11/+35
| | | | | | | Also changed Lock::AssertAcquired to be const function (it already was const, in practice, just not declared that way). Review URL: http://codereview.chromium.org/42402 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12157 0039d316-1c4b-4281-b951-d872f2087c98
* Mark new layout test failures to greenify the waterfall.dglazkov@google.com2009-03-191-3/+4
| | | | | | | | | | None of these look merge-related. TBR=tony Review URL: http://codereview.chromium.org/42410 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12156 0039d316-1c4b-4281-b951-d872f2087c98
* Implement focusing location bar with cmd-L on mac. Removes some more ↵pinkerton@chromium.org2009-03-193-10/+30
| | | | | | platform ifdefs that are no longer necessary in Browser. Patch from thakis@google.com. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12155 0039d316-1c4b-4281-b951-d872f2087c98
* Lands http://codereview.chromium.org/43009 .sky@google.com2009-03-191-2/+4
| | | | | | | | BUG=7259 TEST=see bug git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12153 0039d316-1c4b-4281-b951-d872f2087c98
* Add merge regression.dglazkov@google.com2009-03-191-0/+2
| | | | | | | | TBR=tony Review URL: http://codereview.chromium.org/45015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12152 0039d316-1c4b-4281-b951-d872f2087c98
* Fix gcc 4.3 warning in directory_watcher_inotify.ccphajdan.jr@chromium.org2009-03-191-2/+8
| | | | | | | | - check return value of write to self-pipe Review URL: http://codereview.chromium.org/42403 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12150 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium side of http://codereview.chromium.org/42394thomasvl@chromium.org2009-03-194-5/+8
| | | | | | | | | | | | | | | | - Remove the use of the mac specific type 'application' and use 'executable' with 'mac_bundle' set to 1. - update common.gypi to default mac_bundle to zero. - update common.gypi to look at mac_bundle for some of the base behaviors that were on 'application'. - Roll DEPS to get the new version of gyp w/ the matching support. Review URL: http://codereview.chromium.org/50015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12136 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Mac baseline -- we should match upstream here.dglazkov@google.com2009-03-191-217/+0
| | | | | | | | TBR=tony Review URL: http://codereview.chromium.org/42406 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12135 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for running the v8 tests under Purify.erikkay@google.com2009-03-191-29/+53
| | | | | | Review URL: http://codereview.chromium.org/50019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12128 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline layout test to account for plugin using console to log messages.dglazkov@google.com2009-03-191-1/+6
| | | | | | | | TBR=tony Review URL: http://codereview.chromium.org/50025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12126 0039d316-1c4b-4281-b951-d872f2087c98
* Stage 1 of tab dragging infrastructure, disabled. Put in a base class below ↵pinkerton@chromium.org2009-03-198-22/+371
| | | | | | | | the browser window for windows with tabs to promote re-use in contexts other than just the browser. Add code to the tab view to track drags, but it's disabled as it still needs much work. Review URL: http://codereview.chromium.org/42397 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12125 0039d316-1c4b-4281-b951-d872f2087c98
* Do correct hit testing for context menu items in WebViewImpl.estade@chromium.org2009-03-192-20/+21
| | | | | | | | BUG=8100 Review URL: http://codereview.chromium.org/42377 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12124 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Merge 41807:41827, Chromium side.dglazkov@google.com2009-03-1916-56/+350
| | | | | | | | | | R=tony I made a few changes to our test plugin to match changes to the upstream's plugin. It now uses console instead of printf. You are just the guy (apparently) to review this :) Review URL: http://codereview.chromium.org/50020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12119 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Linux build (and clean TestShell build).darin@chromium.org2009-03-192-4/+1
| | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/50022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12115 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate using_webkit.{scons,vsprops} in favor of having WebCommon.h set thedarin@chromium.org2009-03-1915-76/+23
| | | | | | | | | | | | default configuration. This simplifies the build system. My concern was that some consumers of the API might mix-up the defines. R=dglazkov Review URL: http://codereview.chromium.org/42392 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12110 0039d316-1c4b-4281-b951-d872f2087c98
* Remove extra language under "Spell-checker options" context menusidchat@google.com2009-03-191-1/+8
| | | | | | | Issue=8127 Review URL: http://codereview.chromium.org/48082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12108 0039d316-1c4b-4281-b951-d872f2087c98
* DEFERs the svg tests:sky@google.com2009-03-191-8/+5
| | | | | | | | | | | | | | | | | LayoutTests/svg/W3C-SVG-1.1/pservers-grad-06-b.svg LayoutTests/svg/batik/paints/patternRegionA.svg LayoutTests/svg/W3C-SVG-1.1/pservers-pattern-01-b.svg These are failing because of a bug in Skia. The Skia team is evaluating what the right fix should be. Until then, DEFERd. TBR=hclam BUG=none TEST=none Review URL: http://codereview.chromium.org/50021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12107 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing build by initializing all variables; TBR.avi@google.com2009-03-191-0/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12106 0039d316-1c4b-4281-b951-d872f2087c98
* Make the status bubble avoid the mouse.avi@google.com2009-03-192-8/+96
| | | | | | Review URL: http://codereview.chromium.org/42398 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12103 0039d316-1c4b-4281-b951-d872f2087c98
* Remove code duplicated from webcore and use the common PrintContext facility.maruel@chromium.org2009-03-199-249/+155
| | | | | | Review URL: http://codereview.chromium.org/20470 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12100 0039d316-1c4b-4281-b951-d872f2087c98
* Render into a ChromeCanvasPaint object in a RootView under Linux.erg@google.com2009-03-1924-110/+641
| | | | | | | Review URL: http://codereview.chromium.org/45014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12097 0039d316-1c4b-4281-b951-d872f2087c98
* Increase the pause() for the re-stopped portion of the interval test to try ↵willchan@chromium.org2009-03-191-11/+17
| | | | | | | | | | to prevent timer races. Add debugging information to the check() to see what values the timer is actually returning. Review URL: http://codereview.chromium.org/42359 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12095 0039d316-1c4b-4281-b951-d872f2087c98
* DEFERs two more SVG testssky@google.com2009-03-191-4/+5
| | | | | | | | | | | | | | | | | (LayoutTests/svg/batik/masking/maskRegions.svg and LayoutTests/svg/custom/image-small-width-height.svg). Glen is still upstreaming these, once he is done he can unDEFER them. Also removes LayoutTests/svg/text/text-text-08-b.svg as it has not failed in the last 40 runs. TEST=none BUG=none TBR=finnur Review URL: http://codereview.chromium.org/42393 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12094 0039d316-1c4b-4281-b951-d872f2087c98
* Call two more shutdown functions, and set an environment variable, dkegel@google.com2009-03-193-0/+18
| | | | | | | | | | | | to make nss play well with valgrind, as recommended by Wan-Teh in http://groups.google.com/group/mozilla.dev.tech.crypto/msg/49fe8582df376d06 Set the same environment variables in chrome_test.sh/valgrind_test.py and valgrind.sh, and explain which is which. Review URL: http://codereview.chromium.org/42326 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12093 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb up mouse motion for the status bubbles.avi@google.com2009-03-196-14/+43
| | | | | | Review URL: http://codereview.chromium.org/48151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12091 0039d316-1c4b-4281-b951-d872f2087c98
* Add some UBC eviction code after talking to Amit (and it doesn't even requirethomasvl@chromium.org2009-03-191-3/+21
| | | | | | | a kext) :) Review URL: http://codereview.chromium.org/42391 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12090 0039d316-1c4b-4281-b951-d872f2087c98
* A quick fix for Issue 2720.hbono@chromium.org2009-03-192-0/+24
| | | | | | | To investigate this issue, we noticed some IMEs got confused when we change the text in a rich-edit control and finish an ongoing IME composition while they are composing a text. To prevent this, we accept keywords when they are activated. Review URL: http://codereview.chromium.org/42275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12089 0039d316-1c4b-4281-b951-d872f2087c98
* Fix traceline's system call patching on recent versions of ntdll.dll.deanm@chromium.org2009-03-192-6/+13
| | | | | | | | | | Because KiFastSystemCall is so short (4 bytes), we need to use the preceeding alignment for a 5 byte jump. The compiler is generating more complicated alignments these days. Hardcode another case. Additionally switch to using the XP system call tables by default. Review URL: http://codereview.chromium.org/50006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12088 0039d316-1c4b-4281-b951-d872f2087c98
* Fix WebCacheManager unit tests to use a WebCacheManager instance per test case.darin@chromium.org2009-03-191-70/+59
| | | | | | | | | | This avoids problems caused by other unit tests that modify the shared instance. TBR=abarth Review URL: http://codereview.chromium.org/42386 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12087 0039d316-1c4b-4281-b951-d872f2087c98
* Add a unit test for X509Certificate::Policy.abarth@chromium.org2009-03-191-0/+36
| | | | | | | | TBR=wtc Review URL: http://codereview.chromium.org/50002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12086 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome-side of moving webkit/glue/cache_manager.{h,cc} to the WebKit API layer.darin@chromium.org2009-03-1957-520/+317
| | | | | | | | | | | | | | This also includes a change to not have third_party/WebKit/WebKit/chromium/public in the global include path. Most of the code changes pertain to this. I also took this opportunity to do some renaming: browser/cache_manager_host -> browser/renderer_host/web_cache_manager R=brettw Review URL: http://codereview.chromium.org/42194 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12085 0039d316-1c4b-4281-b951-d872f2087c98
* Remove useless BlockedRequest class.abarth@chromium.org2009-03-192-13/+6
| | | | | | | | | R=wtc BUG=8860 Review URL: http://codereview.chromium.org/42384 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12083 0039d316-1c4b-4281-b951-d872f2087c98