summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement (kinda) ProcessSingleton for the Mac.avi@google.com2009-04-214-21/+39
| | | | | | Review URL: http://codereview.chromium.org/88031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14136 0039d316-1c4b-4281-b951-d872f2087c98
* This CL adds a utility method that lets you start a process and block until ↵jcampan@chromium.org2009-04-213-7/+122
| | | | | | | | | | | | | the process terminates, and retrieve what the process printed to the standard output. That util function is needed for the new in-process test framework. It is Windows only for now. BUG=None TEST=Covered by new unit test. Review URL: http://codereview.chromium.org/87008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14135 0039d316-1c4b-4281-b951-d872f2087c98
* Handle file drops and URL open requests. Along with declaring that we handle ↵avi@google.com2009-04-213-9/+209
| | | | | | | | the http scheme, this allows Chromium to be set as a default browser for the Mac. Review URL: http://codereview.chromium.org/87043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14134 0039d316-1c4b-4281-b951-d872f2087c98
* Unbreak accelerators, and add ctrl+_ for zoom out.estade@chromium.org2009-04-211-1/+5
| | | | | | Review URL: http://codereview.chromium.org/87041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14133 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Properly escape download item label markup.estade@chromium.org2009-04-211-9/+10
| | | | | | | | BUG=10766 Review URL: http://codereview.chromium.org/88055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14132 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a memory leak in the download shelf.estade@chromium.org2009-04-211-2/+5
| | | | | | | | | | Windows doesn't explicitly delete the DownloadItemView objects because the View destructor deletes child views automatically. BUG=10739 Review URL: http://codereview.chromium.org/88044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14131 0039d316-1c4b-4281-b951-d872f2087c98
* Try again to fix "maximized window size wrong after unlock". This is a ↵pkasting@chromium.org2009-04-211-20/+11
| | | | | | | | | | | blind fix but it seems like it should work. Instead of adjusting the window rect by the change in work rect for maximized windows, just size to (work area inflated by SM_CXSIZEFRAME), which is what a maximized window normally does. This makes the new window size independent of the previous window size, which could prevent problems if during a chain of resizes Windows doesn't like one of the desired window sizes and modifies it. BUG=8873 Review URL: http://codereview.chromium.org/88001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14129 0039d316-1c4b-4281-b951-d872f2087c98
* Start pulling tcmalloc into the build. Not using it yetmbelshe@google.com2009-04-214-0/+543
| | | | | | | | with this checkin. Review URL: http://codereview.chromium.org/79085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14128 0039d316-1c4b-4281-b951-d872f2087c98
* Fix #include (.h, not .cc).sgk@google.com2009-04-211-1/+1
| | | | | | Review URL: http://codereview.chromium.org/88050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14127 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up alt-d on linux.estade@chromium.org2009-04-211-2/+2
| | | | | | | | | | Also clean up some accelerators. BUG=10803 Review URL: http://codereview.chromium.org/90008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14123 0039d316-1c4b-4281-b951-d872f2087c98
* Stop using deprecated file_util::Trim* functions.thestig@chromium.org2009-04-211-4/+5
| | | | | | Review URL: http://codereview.chromium.org/79053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14121 0039d316-1c4b-4281-b951-d872f2087c98
* This CL fix issue 2674 - search engine name containing parenthesis is not ↵xji@chromium.org2009-04-215-10/+16
| | | | | | | | | | | | | | displayed correctly in Omnibox NavSuggest drop-down list. The fix is to adjust the search engine name according to locale direction so that the search engine name containing parenthesis are marked with RLE-PDF to be displayed correctly in RTL UI. BUG=2674 Review URL: http://codereview.chromium.org/79005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14119 0039d316-1c4b-4281-b951-d872f2087c98
* I missed this file in my last checkinestade@chromium.org2009-04-211-4/+11
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14118 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate a circular dependency by making BGRAToRGBA() generic (no pulling ↵sgk@google.com2009-04-217-30/+58
| | | | | | | | in guchar from gtk.h) and moving it from base/gfx to base. Review URL: http://codereview.chromium.org/87016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14117 0039d316-1c4b-4281-b951-d872f2087c98
* Add open/close animations to infobar, download shelf.estade@chromium.org2009-04-217-48/+216
| | | | | | | | Animations are implemented by packing the native widget structure into a GtkFixed which resizes and moves its contents around based on AnimationDelegate callbacks. Review URL: http://codereview.chromium.org/88005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14116 0039d316-1c4b-4281-b951-d872f2087c98
* Handle a race between the remove tab animation resizing the closing tab and ↵jhawkins@chromium.org2009-04-211-1/+11
| | | | | | | | | the gtk mouse events. Fixes a crash where the hover index would become stale before a leave-notify event. BUG=10776 Review URL: http://codereview.chromium.org/88037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14115 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes FFmpegDemuxerTest.ReadAndSeek test flakiness by using a WaitableEvent.scherkus@chromium.org2009-04-212-23/+35
| | | | | | | | | | Turns out it was the test code that was flaky and not a threading bug in our actual code. Under heavy load it was possible for a thread holding onto a reference to get time sliced long enough that the unit test continued executing until it asserted that the object was deleted when in fact it was not. BUG=10653 Review URL: http://codereview.chromium.org/88010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14113 0039d316-1c4b-4281-b951-d872f2087c98
* Video and audio now pauses by playing NULL (0) PCM audio when the playback ↵ralphl@chromium.org2009-04-212-10/+15
| | | | | | | | | | | | rate is != 1.0. This is a non-optimal, but easy to implement interem solution. Correct fix is to actually stop audio playback, but that requires refactoring of components. Addede TODO's() where refactor needs to occur. Review URL: http://codereview.chromium.org/88014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14112 0039d316-1c4b-4281-b951-d872f2087c98
* DCHECK now allows SetPlaybackRate(0.0f) if the pipeline is stopped.ralphl@chromium.org2009-04-211-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14111 0039d316-1c4b-4281-b951-d872f2087c98
* .gyp file for Breakpad on OS X.jeremy@chromium.org2009-04-211-0/+99
| | | | | | Review URL: http://codereview.chromium.org/87014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14110 0039d316-1c4b-4281-b951-d872f2087c98
* Add a comment for the flakey test.dglazkov@google.com2009-04-211-0/+1
| | | | | | | | | TBR=ojan BUG=10475 Review URL: http://codereview.chromium.org/87033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14109 0039d316-1c4b-4281-b951-d872f2087c98
* Log the "Proxy-Support: Session-Based-Authentication"wtc@chromium.org2009-04-212-29/+68
| | | | | | | | | | | | response header. Log an INFO message whenever we receive an auth challenge. R=eroman BUG=8771 Review URL: http://codereview.chromium.org/67117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14108 0039d316-1c4b-4281-b951-d872f2087c98
* Mark flakey test as, well -- flakey.dglazkov@google.com2009-04-211-2/+1
| | | | | | | | | TBR=ojan BUG=10475 Review URL: http://codereview.chromium.org/88034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14107 0039d316-1c4b-4281-b951-d872f2087c98
* During uninstall on Vista try to elevate if registry entries from HKLM need ↵kuchhal@chromium.org2009-04-213-1/+57
| | | | | | | | | | | to be deleted. BUG=7178 Review URL: http://codereview.chromium.org/82003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14106 0039d316-1c4b-4281-b951-d872f2087c98
* Save ~150k on a Linux release build by not inlining DOMWrapperToNode.deanm@chromium.org2009-04-212-9/+17
| | | | | | | | | | | | | | Creates DOMWrapperToNodeHelper to preform the actual work (in the .cpp) and DOMWrapperToNode just does the cast. This function has a lot of callers from the generated bindings, and I am skeptical an extra call instruction will hurt. 25740168 /tmp/chrome.after 25902672 /tmp/chrome.before Review URL: http://codereview.chromium.org/88029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14105 0039d316-1c4b-4281-b951-d872f2087c98
* Update Linux test expectations after merge.dglazkov@google.com2009-04-211-0/+1
| | | | | | | | | TBR=erikkay BUG=10760 Review URL: http://codereview.chromium.org/88030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14104 0039d316-1c4b-4281-b951-d872f2087c98
* - Exteranalize strings but not the results of toString() on non-strings.davemoore@chromium.org2009-04-212-13/+22
| | | | | | | | This increases our score on the DOM Perf benchmarks by about 10% Review URL: http://codereview.chromium.org/79055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14103 0039d316-1c4b-4281-b951-d872f2087c98
* Update test expectations to greenify Mac builddglazkov@google.com2009-04-211-2/+3
| | | | | | | | TBR=pink Review URL: http://codereview.chromium.org/87030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14102 0039d316-1c4b-4281-b951-d872f2087c98
* - Add a new time marker for loadtimes, the time of the first layoutdavemoore@chromium.org2009-04-216-83/+50
| | | | | | | | | | - Add new histograms for request -> first layout and start load -> first layout - Remove per navigation type histograms. They weren't being used and the logic was getting too complex. Review URL: http://codereview.chromium.org/88015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14100 0039d316-1c4b-4281-b951-d872f2087c98
* Unit test for sad tab view.pinkerton@chromium.org2009-04-212-0/+40
| | | | | | Review URL: http://codereview.chromium.org/87028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14099 0039d316-1c4b-4281-b951-d872f2087c98
* Unit tests for button cells we use in the UI.pinkerton@chromium.org2009-04-213-0/+85
| | | | | | Review URL: http://codereview.chromium.org/87023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14098 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a leak introduced in http://codereview.chromium.org/62061dkegel@google.com2009-04-211-2/+2
| | | | | | | | | | | | | | Fixes valgrind warning 09:57:13 valgrind_analyze.py [ERROR] Leak_DefinitelyLost 1 bytes in 1 blocks are definitely lost in loss record 2 of 260 operator new(unsigned int) (vg_replace_malloc.c:195) FileVersionInfo::CreateFileVersionInfoForCurrentModule() (base/file_version_info_linux.cc:21) AutomationProvider::ConnectToChannel(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (chrome/browser/automation/automation_provider.cc:811) Review URL: http://codereview.chromium.org/79087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14097 0039d316-1c4b-4281-b951-d872f2087c98
* Review URL: http://codereview.chromium.org/77006apavlov@chromium.org2009-04-217-41/+51
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14096 0039d316-1c4b-4281-b951-d872f2087c98
* Add a bunch of basic unit tests for view classes.pinkerton@chromium.org2009-04-216-0/+205
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14095 0039d316-1c4b-4281-b951-d872f2087c98
* Rework the RWHV so that when it gets a paint message from the renderer it ↵avi@google.com2009-04-212-45/+57
| | | | | | | | immediately paints. Also, implement the fix for updates done for the other platforms in http://codereview.chromium.org/66013 . Review URL: http://codereview.chromium.org/89001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14093 0039d316-1c4b-4281-b951-d872f2087c98
* YUV to RGB with arbitrary scaling.fbarchard@chromium.org2009-04-215-30/+453
| | | | | | | | | | | Semi-optimized C code achieving 33 ms for 1080 double sized or 9 ms with openmp enabled. Special case half size which is much faster. Future versions will support mirror and perhaps rotate. (mirror is free) Future versions will be MMX assembly for speed. Review URL: http://codereview.chromium.org/67278 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14092 0039d316-1c4b-4281-b951-d872f2087c98
* More solid detection of browser process in chrome_process_util_linux.cc:phajdan.jr@chromium.org2009-04-218-27/+55
| | | | | | | | | | | | | | | | - use GetAppOutput instead of popen - make unexpected conditions fatal (otherwise the tests using this code would mistakenly assume that there is no running browser process) Also add a constant for SingletonSocket. Make necessary adjustments to GetAppOutput - ignore stderr (because fuser prints the file name to stderr and having stderr in |output| would require more parsing). Review URL: http://codereview.chromium.org/77031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14091 0039d316-1c4b-4281-b951-d872f2087c98
* Add 3 crashes to known list.huanr@chromium.org2009-04-211-0/+9
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14089 0039d316-1c4b-4281-b951-d872f2087c98
* Remove crash 9566 from known list.huanr@chromium.org2009-04-211-3/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14088 0039d316-1c4b-4281-b951-d872f2087c98
* Hit "valgrind finishing" timeout of 60 seconds on a UI test run, so increase ↵dkegel@google.com2009-04-211-2/+2
| | | | | | | | | | | timeout to 600 seconds We'll reduce it back down to a smaller value once we see how long it really takes.) (This seems reasonable since the UI tests take 4600 seconds.) Review URL: http://codereview.chromium.org/87019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14087 0039d316-1c4b-4281-b951-d872f2087c98
* Rename web_contents_view to tab_contents_view to fix the mac build.brettw@chromium.org2009-04-211-1/+1
| | | | | | Review URL: http://codereview.chromium.org/88019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14086 0039d316-1c4b-4281-b951-d872f2087c98
* Adds suppressions for epoll on Intrepid,dkegel@google.com2009-04-211-1/+130
| | | | | | | | | | | | | | | | | | a unit test that crashes on purpose, and the following bugs: http://crbug.com/10560 http://crbug.com/10737 http://crbug.com/10738 http://crbug.com/10739 http://crbug.com/10747 http://crbug.com/10748 http://crbug.com/10750 http://crbug.com/10755 This gets us most of the way to a green ui test valgrind builder. Review URL: http://codereview.chromium.org/67290 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14085 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a leak of the NavigationController during many tests. A duplicatebrettw@chromium.org2009-04-214-22/+14
| | | | | | | | | | NavigationController was begin created from when we had to create this separately. BUG=10781 Review URL: http://codereview.chromium.org/88018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14084 0039d316-1c4b-4281-b951-d872f2087c98
* Rename web_contents_view* files to tab_contents_view* to reflect my previousbrettw@chromium.org2009-04-2124-63/+56
| | | | | | | rename of the classes. Review URL: http://codereview.chromium.org/87009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14083 0039d316-1c4b-4281-b951-d872f2087c98
* Add a unit test for recycling a keep-alive connection socketwtc@chromium.org2009-04-211-0/+59
| | | | | | | | | | in the normal case, with a non-zero-length response body. R=eroman BUG=9880 Review URL: http://codereview.chromium.org/67129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14082 0039d316-1c4b-4281-b951-d872f2087c98
* Implement file_util::CountFilesCreatedAfter() for posix environments.evan@chromium.org2009-04-213-6/+42
| | | | | | | | | BUG=9833 Review URL: http://codereview.chromium.org/87003 Patch from Shinichiro Hamaji <hamaji@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14081 0039d316-1c4b-4281-b951-d872f2087c98
* I managed to break test_shell. Reverting. I'll fix tomorrow.agl@chromium.org2009-04-2114-312/+96
| | | | | | | Reverts r14075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14080 0039d316-1c4b-4281-b951-d872f2087c98
* Build fixagl@chromium.org2009-04-211-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14079 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix: add a stub for background_x11_thread for unit testsagl@chromium.org2009-04-211-0/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14078 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix: remove deleted header files.agl@chromium.org2009-04-211-2/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14077 0039d316-1c4b-4281-b951-d872f2087c98