summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix several painting glitches for toolstrips.aa@chromium.org2009-04-2710-58/+151
| | | | | | | | | | | | | | * Reset HWND size when HWNDHtmlView changes size. The two should always be in sync. * Race: We might already have frames when RenderWidget receives a new background, need to set these to transparent too. * Race: Toolstrip background not always available by the time ExtensionToolstrip is constucted * Make images line up correctly for toolstrip buttons. Review URL: http://codereview.chromium.org/99042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14682 0039d316-1c4b-4281-b951-d872f2087c98
* Disable a layout test since it fails on mac and linux.hclam@chromium.org2009-04-271-0/+1
| | | | | | | | | | TBR=levin BUG=10352 TEST=run_webkit_tests Review URL: http://codereview.chromium.org/99098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14681 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r14620 which was a rollback of r14549 and r14508. Thistc@google.com2009-04-274-14/+46
| | | | | | | | | | | | change re-enables the ui tests. Since jam re-enabled some tests, I had to #ifdef around 4 tests that are not shutting down cleanly on linux. It looks like we have renderers that aren't shutting down properly (pegged at 100% cpu). Review URL: http://codereview.chromium.org/100061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14680 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Make --user-data-dir work when it doesn't exist.agl@chromium.org2009-04-273-2/+7
| | | | | | | | | | | | | | | | | Previously, --user-data-dir called PathService::Override which called AbsolutePath. On POSIX, this calls realpath and fails if the given path doesn't actually exist. We need to do this on Windows because we change the current directory in order to load plugins (at least). However, on POSIX we shouldn't ever change cwd. So, on POSIX, don't try to make the user-data-dir absolute. TEST=On POSIX, start chrome with --user-data-dir=/tmp/xyz (where xyz is a directory which doesn't exist). Once running, check that /tmp/xyz exists and contains the expected files. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14679 0039d316-1c4b-4281-b951-d872f2087c98
* Landing Hamaji's patch.jcampan@chromium.org2009-04-271-0/+8
| | | | | | | See http://codereview.chromium.org/93135 Review URL: http://codereview.chromium.org/99079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14678 0039d316-1c4b-4281-b951-d872f2087c98
* Redisable tests that are failing on buildbot.levin@chromium.org2009-04-271-1/+8
| | | | | | | | | | BUG=10861,11011 TEST=buildbot run of layout tests TBR=dglazkov Review URL: http://codereview.chromium.org/99092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14677 0039d316-1c4b-4281-b951-d872f2087c98
* Roll deps following r14675estade@chromium.org2009-04-271-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14676 0039d316-1c4b-4281-b951-d872f2087c98
* Handle GTK triple clicks by adding a triple click event type to ↵estade@chromium.org2009-04-273-1/+6
| | | | | | | | | | | WebInputEvent::Type. Chromium side. webkit side is here: <http://codereview.chromium.org/99069> BUG=11032 Review URL: http://codereview.chromium.org/99066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14674 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a popup menu offset bug.paul@chromium.org2009-04-271-1/+3
| | | | | | | | BUG=8389 Review URL: http://codereview.chromium.org/99075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14673 0039d316-1c4b-4281-b951-d872f2087c98
* Add menu tag to View + Encoding menus.jeremy@chromium.org2009-04-272-1/+4
| | | | | | Review URL: http://codereview.chromium.org/99083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14672 0039d316-1c4b-4281-b951-d872f2087c98
* Remove tests that are now passing on Windows.levin@chromium.org2009-04-271-17/+1
| | | | | | | | | | | | | These were all fixed with various changes like the change to fix the overloads in events to be correct (r14303) or a fix in the Workers around using string16 as a threading fix (r14476), etc. BUG=10352,10861,11011 TEST=run-webkit-tests (This is simply re-enabling layout tests.) Review URL: http://codereview.chromium.org/100073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14671 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting my change it breaks release compilation on Windows.jcampan@chromium.org2009-04-2710-785/+19
| | | | | | | TBR=maruel Review URL: http://codereview.chromium.org/103001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14669 0039d316-1c4b-4281-b951-d872f2087c98
* Unfork some code who's dependency has landed on Mac.shess@chromium.org2009-04-271-6/+0
| | | | | | | | | I believe that this was originally commented out due to fonts not being quite wired in. Review URL: http://codereview.chromium.org/92142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14667 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Take 2 at turning on -Werror. I think this will work on gcc 4.2,"tc@google.com2009-04-271-1/+2
| | | | | | | | | This reverts commit r14655. Review URL: http://codereview.chromium.org/100072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14666 0039d316-1c4b-4281-b951-d872f2087c98
* Do not send stats from Chromium builds.kuchhal@chromium.org2009-04-278-28/+67
| | | | | | | | | BUG=1435533 Review URL: http://codereview.chromium.org/93109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14665 0039d316-1c4b-4281-b951-d872f2087c98
* This patch adds a new kind of tests: browser tests.jcampan@chromium.org2009-04-2710-19/+785
| | | | | | | | | | | | | | | | | | They are intended to provide an alternative to the UI tests, hopefully helping with flackiness. These tests are in-process browser test. There are 2 projects to build the tests: - the browser_test.dll that contains the tests, the gtest framework and the browser classes. - the browser_test_launcher.exe. The launcher loads the browser_test.dll for each test, run the test and then unloads the DLL. This insures the static initializers are run before each test and that any atexit handler is invoked properly. This is Windows only for now. BUG=9764 TEST=Run browser_test.exe Review URL: http://codereview.chromium.org/88066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14664 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling in new version of gyp (.def file support for msvs).bradnelson@google.com2009-04-272-2/+1
| | | | | | | | Taking out msvs_settings based use of .def since it now clashes with the mechanism now built in. Review URL: http://codereview.chromium.org/100058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14663 0039d316-1c4b-4281-b951-d872f2087c98
* Fail the plugin initialization if we are unable to duplicate the event ↵ananta@chromium.org2009-04-273-4/+10
| | | | | | | | | | | | | | handle which is used for deciding whether we need to pump window messages in outgoing sync calls from the plugin. The theory is that the DuplicateHandle call could fail if the renderer process exited. It is unclear as to what a reliable test for this would be. Will think over and possibly add in a future CB. Fixes http://code.google.com/p/chromium/issues/detail?id=10972 Bug=10972 Review URL: http://codereview.chromium.org/99018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14662 0039d316-1c4b-4281-b951-d872f2087c98
* Committing for tkent@google.com.ojan@chromium.org2009-04-273-10/+63
| | | | | | | | | | | | | | | Don't use &percnt;, &nsup; and &supl; in serialization. The HTML standards don't define them, and IE and Firefox don't support them. BUG=6035 TEST=Load an HTML document with an attribute includes % and ' save the document as "Web Page, Complete", look at the saved file and confirm that - % is saved as is. - ' is saved as '&#39;' git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14661 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling user install testcase to investigate why it fails on the bot and ↵anantha@chromium.org2009-04-271-1/+1
| | | | | | | | not locally. Review URL: http://codereview.chromium.org/99080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14660 0039d316-1c4b-4281-b951-d872f2087c98
* Update selected line in model before accepting input when the user clicks in ↵shess@chromium.org2009-04-272-5/+6
| | | | | | | | | | the popup. BUG=10932 Review URL: http://codereview.chromium.org/93130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14659 0039d316-1c4b-4281-b951-d872f2087c98
* Add quarantine metadata to downloads on the Mac. Patch by Stuart Morganmark@chromium.org2009-04-277-1/+128
| | | | | | | | | | | <stuart.morgan@gmail.com>. BUG=10853 Code review URL: http://codereview.chromium.org/99005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14657 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to get multi-process plug-in scaffolding building on Mac.pinkerton@chromium.org2009-04-273-97/+57
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14656 0039d316-1c4b-4281-b951-d872f2087c98
* Take 2 at turning on -Werror. I think this will work on gcc 4.2,tc@google.com2009-04-271-2/+1
| | | | | | | | | 4.3, and 4.4. I'll watch the bots closely. Review URL: http://codereview.chromium.org/100066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14655 0039d316-1c4b-4281-b951-d872f2087c98
* Its strange that these tests are failing only on bots, but not on local ↵anantha@chromium.org2009-04-272-4/+16
| | | | | | | | machines. I added few checks to get rid of cascading errors. Enabled only one test to see if it passses this time. Review URL: http://codereview.chromium.org/100003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14654 0039d316-1c4b-4281-b951-d872f2087c98
* Update the build installation script to make it work on ubuntu 9.04tc@google.com2009-04-271-3/+3
| | | | | | | | | | | | | | | I had to include the libcairo2-dev package and change the /etc/issue BUG=None TEST=Build chromium in Ubuntu successfully (fresh install) Original patch by Mohamed Mansour and reviewed by Markus: http://codereview.chromium.org/92155 Review URL: http://codereview.chromium.org/99076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14653 0039d316-1c4b-4281-b951-d872f2087c98
* Relanding this. jcampan@chromium.org2009-04-273-41/+71
| | | | | | | | | | | | | | | | | | | The Ole unitialization was failing on one of the Vista build-bot. It is not clear when the Ole initialization is balanced when a CRichEditCtrl is created/destructed. So I now turn it off explicitly. This CL makes sure we unregister our Windows window classes when shut-down. It also balances-out an OLE initialization performed by the CRichEditCTRL. This is necessary for allowing to reload chrome.dll in a process, which is what the browser tests will do. BUG=None TEST=None Review URL: http://codereview.chromium.org/101004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14649 0039d316-1c4b-4281-b951-d872f2087c98
* linux: turn on no-op plugins code.evan@chromium.org2009-04-272-1/+17
| | | | | | | | | | | | | | If you don't have any plugins installed, this currently just shows an empty region on the page rather than the default plugin. If you do have plugins installed (and by "installed" I mean "copied into a 'plugins' subdir where your build output is) we now print a lot of NOTIMPLEMENTEDs and hang. Note that we need to #ifdef out some code related to in_process_plugins because we don't have gfx::NativeViewFromId on Linux. Review URL: http://codereview.chromium.org/102001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14646 0039d316-1c4b-4281-b951-d872f2087c98
* linux: make --single-process mean in-process renderer.evan@chromium.org2009-04-271-0/+8
| | | | | | | | | | | | | | | | | | Since we can't have in-process plugins on Linux, let's make single-process do as much of a single process as possible. The alternative is detecting and erroring out on --single-process, then adding a new flag and changing all of the other code that currently examines --single-process to examine both the new flag and --single-process. That seems like a lot of extra code and source of potential error. Note that we print out a warning indicating this on --single-process in the LINUX case. Review URL: http://codereview.chromium.org/100053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14645 0039d316-1c4b-4281-b951-d872f2087c98
* Repair FileVersionInfo leak. Doh.robertshield@google.com2009-04-271-3/+3
| | | | | | Review URL: http://codereview.chromium.org/99068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14642 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up construction of LocationBarViewMac objects.shess@chromium.org2009-04-277-49/+16
| | | | | | | | | | | This removes the need for SetField() accessors on AutocompleteEditViewMac and AutocompletePopupViewMac, and also removes the Init() wart on LocationBarViewMac. Now everything is wired up in the constructor. Review URL: http://codereview.chromium.org/92136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14641 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a few crashes when trying to drag a closing tab.jhawkins@chromium.org2009-04-272-4/+32
| | | | | | Review URL: http://codereview.chromium.org/99065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14640 0039d316-1c4b-4281-b951-d872f2087c98
* Rev 12100 changed the way that we spool and render printed output, most notablymaruel@chromium.org2009-04-273-1/+21
| | | | | | | | | | | | | | | | | | | | introducing use of the PrintContext class. The existing PrintContext::spoolPage() method applies a webkit scaling factor before rendering output to the graphics context. ChromePrintContext::spoolPage() (in webframe_impl.cc), which is used by chromium instead of PrintContext::spoolPage(), does not apply this scaling factor, but instead eventually returns the scaling factor via WebFrame::PrintPage(). This is a problem for the Chromium Embedded Framework (CEF) because, unlike chromium, the CEF renders directly to the printer device context. It is therefore important for CEF that we retrieve and apply the webkit scaling factor before calling PrintPage(). In order to support this capability the following adds a WebFrame::GetPrintPageShrink() method. Patch contributed by Marshall Greenblatt <magreenblatt@gmail.com> Review: http://codereview.chromium.org/99058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14639 0039d316-1c4b-4281-b951-d872f2087c98
* Adds --no-audio, which replaces the audio IPC layer with a mock audio device.scherkus@chromium.org2009-04-274-8/+24
| | | | | | | | Useful for testing <audio> and <video> over remote desktop or on machines without sound cards. Should also let mac/linux playback videos without our audio layer being implemented on those platforms. Review URL: http://codereview.chromium.org/93132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14637 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typoamanda@chromium.org2009-04-271-1/+1
| | | | | | | TBR=mark Review URL: http://codereview.chromium.org/99070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14632 0039d316-1c4b-4281-b951-d872f2087c98
* Start building the NPAPI layout test plugin on the Mac (it's been buildableamanda@chromium.org2009-04-271-30/+48
| | | | | | | for a while, but evidently got missed in the grand conversion to gyp) Review URL: http://codereview.chromium.org/100051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14631 0039d316-1c4b-4281-b951-d872f2087c98
* Roll webkit deps to pickup r14623:ericroman@google.com2009-04-271-1/+1
| | | | | | | | | | | | | | | | | | | | | ---- Unfork change to VisibleSelection.cpp, and instead apply patch that landed upstream <https://bugs.webkit.org/show_bug.cgi?id=25335>. This will apply cleanly for the next person merging. BUG=10645 Review URL: http://codereview.chromium.org/93137 ---- TBR=dglazkov Review URL: http://codereview.chromium.org/100049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14630 0039d316-1c4b-4281-b951-d872f2087c98
* Pick up the TlsGetValue fix.mbelshe@google.com2009-04-271-1/+1
| | | | | | | BUG=10983 Review URL: http://codereview.chromium.org/93143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14629 0039d316-1c4b-4281-b951-d872f2087c98
* More linux ifdef tweaks. This reverts my earlier change (13503).sky@chromium.org2009-04-2720-79/+30
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/100046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14628 0039d316-1c4b-4281-b951-d872f2087c98
* Add the generatd file pull_in_test_shell.scons to svn:ignore list.maruel@chromium.org2009-04-270-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14627 0039d316-1c4b-4281-b951-d872f2087c98
* Add plugin.scons to the svn:ignore list; it is now generated by scons.maruel@chromium.org2009-04-270-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14626 0039d316-1c4b-4281-b951-d872f2087c98
* Now that we have file dialogs, we might as well hook up "Open File" on the Mac.avi@google.com2009-04-273-7/+11
| | | | | | Review URL: http://codereview.chromium.org/93145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14625 0039d316-1c4b-4281-b951-d872f2087c98
* Add svn:ignore to third_party/codesighs/.maruel@chromium.org2009-04-270-0/+0
| | | | | | | | | | | | | | | | | | codesighs.scons codesighs.sln codesighs.vcproj codesighs.xcodeproj codesighs_main.scons maptsvdifftool.scons maptsvdifftool.vcproj msdump2symdb.vcproj msmap2tsv.vcproj nm2tsv.scons SConstruct git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14624 0039d316-1c4b-4281-b951-d872f2087c98
* Disable some warnings in third party code so I can turn on -Werror.tc@google.com2009-04-272-27/+40
| | | | | | | Review URL: http://codereview.chromium.org/101005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14622 0039d316-1c4b-4281-b951-d872f2087c98
* roll DEPS to get ToT gyp which includes make fixestc@google.com2009-04-271-1/+1
| | | | | | | | | TBR=evan Review URL: http://codereview.chromium.org/100048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14621 0039d316-1c4b-4281-b951-d872f2087c98
* Speculatively roll back r14549 and r14508. The chrome browsertc@google.com2009-04-274-42/+14
| | | | | | | | | | | | process is pegged at 100% cpu after ui_tests has exited. Seeing if this is the cause. Will re-roll forward if it's not. TBR=estade Review URL: http://codereview.chromium.org/100047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14620 0039d316-1c4b-4281-b951-d872f2087c98
* Add keyboard accelerators for IDC_FIND_NEXT and IDC_FIND_PREVIOUS.willchan@chromium.org2009-04-271-3/+9
| | | | | | Review URL: http://codereview.chromium.org/101007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14619 0039d316-1c4b-4281-b951-d872f2087c98
* Don't allow the browser window to be resized so small that layout starts ↵pkasting@chromium.org2009-04-2713-69/+213
| | | | | | | | | | | breaking horribly. When it _is_ small, draw the frame correctly. This is an incomplete fix; only non-Aero main/popup/app windows are handled so far, but this was becoming hairy enough I wanted to checkpoint it. BUG=9885 Review URL: http://codereview.chromium.org/100005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14618 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a memory leak in TaskManagerphajdan.jr@chromium.org2009-04-271-3/+7
| | | | | | | | http://crbug.com/11068 Review URL: http://codereview.chromium.org/99059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14615 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash with <video>hclam@chromium.org2009-04-271-1/+1
| | | | | | | | | | | | Having typo in the file, causing a different dll loaded for <video>. When initializing ffmpeg since avformat-52.dll is not loaded, it tries to do LoadLibrary within sandbox and kaboom! TBR=scherkus Review URL: http://codereview.chromium.org/99024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14614 0039d316-1c4b-4281-b951-d872f2087c98