summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring geolocation code to work on its own thread.allanwoj@chromium.org2010-10-0113-414/+483
| | | | | | | | | | | Split the arbitrator into a class that handles the threading and a class that handles location provider arbitration. Changed unit tests and MockLocationProvider to work with this new model. BUG=None TEST= --gtest_filter=*Geolo* Review URL: http://codereview.chromium.org/3548008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61182 0039d316-1c4b-4281-b951-d872f2087c98
* net: add Snap Start support to NSS sockets.agl@chromium.org2010-10-016-25/+468
| | | | | | | | | | | (This doesn't actually enable any functional changes yet.) BUG=none TEST=none (yet) http://codereview.chromium.org/3454021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61181 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typo in comment.avi@chromium.org2010-10-011-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3582005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61180 0039d316-1c4b-4281-b951-d872f2087c98
* Allow nested calls to AccessibilityEventRouterGtk::AddRootWidget anddmazzoni@chromium.org2010-10-015-15/+77
| | | | | | | | | | | | AccessibilityEventRouterGtk::RemoveRootWidget via reference counting, which stops ExtensionApiTest, FLAKY_Tabs from crashing on chromeos. BUG=56479 TEST=ExtensionApiTest.FLAKY_Tabs no longer crashes, and added new AccessibilityEventRouterGtkTest. Review URL: http://codereview.chromium.org/3382025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61179 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the progress animation to get displayed at the original size and not ↵satish@chromium.org2010-10-011-3/+9
| | | | | | | | | | | | | | | squished. The progress animation was showing up squished vertically to about 10 pixels on linux, and to fix that we now create bitmaps with the proper colour depth ourselves and draw the animation frames onto it instead of using the built-in method. BUG=53598 TEST=manual, test that the speech recognition progress animation shows up as expected and not squished. Review URL: http://codereview.chromium.org/3576006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61178 0039d316-1c4b-4281-b951-d872f2087c98
* Employ recently committed BubbleWindow for proxy settings link.dilmah@chromium.org2010-10-014-8/+44
| | | | | | | | | BUG=http://crosbug.com/7010 http://crosbug.com/3062 TEST=Manual Review URL: http://codereview.chromium.org/3610001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61177 0039d316-1c4b-4281-b951-d872f2087c98
* Whitespace change to trigger a build.agl@chromium.org2010-10-011-2/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61176 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r61105 and r61106agl@chromium.org2010-10-012-14/+0
| | | | | | | | | | These two commits were suppressions for a small leak in DnsRRResolver which was fixed in 61136. BUG=57456 TEST=memory waterfall git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61175 0039d316-1c4b-4281-b951-d872f2087c98
* Do not expose DOM UI bindings to subframes other than chrome://caseq@google.com2010-10-011-1/+3
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3330016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61174 0039d316-1c4b-4281-b951-d872f2087c98
* Aligns the network menu width with combo box width.altimofeev@chromium.org2010-10-013-7/+23
| | | | | | | | | | | BUG=chromium-os:7100 TEST=Boot device. On "Select network" screen click on the network selection combo box. The networks menu that will appear has the same width as combo box itself. Review URL: http://codereview.chromium.org/3586005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61173 0039d316-1c4b-4281-b951-d872f2087c98
* Update Dr. Memory suppressions, gtest_filters and also skip oob-write sanity ↵timurrrr@chromium.org2010-10-014-4/+31
| | | | | | | | | tests on Windows. TBR=glider Review URL: http://codereview.chromium.org/3616001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61171 0039d316-1c4b-4281-b951-d872f2087c98
* Disable ExtensionApiTest.Popup. It's been timing out for the last 750+ runs.pam@chromium.org2010-10-011-2/+2
| | | | | | | | | | TBR=michaeln BUG=46601 TEST=ExtensionApiTest.FLAKY_Popup no longer runs Review URL: http://codereview.chromium.org/3603003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61170 0039d316-1c4b-4281-b951-d872f2087c98
* Implement policy for enabling/disabling browsing history.phajdan.jr@chromium.org2010-10-0118-9/+275
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3432033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61169 0039d316-1c4b-4281-b951-d872f2087c98
* Update V8 to version 2.4.7.1.kmillikin@chromium.org2010-10-011-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3610002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61168 0039d316-1c4b-4281-b951-d872f2087c98
* Fix url_fixer_upper_unittest two-phase lookup problems.hans@chromium.org2010-10-011-1/+5
| | | | | | | | | | | | | | | | The operator<< for url_parse::Component needs to be declared in the same namespace as its parameter type, in this case url_parse. Otherwise Clang fails to compile this because it is more strict on the Standard. See http://clang.llvm.org/compatibility.html#dep_lookup for more info. BUG=none TEST=unit_tests Review URL: http://codereview.chromium.org/3575002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61167 0039d316-1c4b-4281-b951-d872f2087c98
* chrome_frame: Append base:: in the StringPrintf calls.tfarina@chromium.org2010-10-0124-130/+163
| | | | | | | | | | | (Note: this is a TODO in string_util.h) BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3594002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61166 0039d316-1c4b-4281-b951-d872f2087c98
* Extended the suppression for bug 32085 (memory leak in notification registrarglider@chromium.org2010-10-011-9/+36
| | | | | | | | | | | | | | | in chromium os ui_tests) to match the new report stacks. Added another suppression for bug 49279 (New leak in ChromeCookieMonsterDelegate) Suppressed bug 57539 (Memory leak in ExtensionImpl::SetFunctionNames) BUG=32085,49279,57539 TBR=timurrrr Review URL: http://codereview.chromium.org/3544005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61165 0039d316-1c4b-4281-b951-d872f2087c98
* Fix form_structure_unittest two-phase lookup problems.hans@chromium.org2010-10-011-1/+5
| | | | | | | | | | | | | | | | The operator<< for webkit_glue::FormData needs to be declared in the same namespace as its parameter type, in this case webkit_glue. Otherwise Clang fails to compile this because it is more strict on the Standard. See http://clang.llvm.org/compatibility.html#dep_lookup for more info. BUG=none TEST=unit_tests Review URL: http://codereview.chromium.org/3583002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61164 0039d316-1c4b-4281-b951-d872f2087c98
* Shorten the name of policy groups and sort them by captiongfeher@chromium.org2010-10-013-95/+45
| | | | | | | | | | | Also add Chromium vs Google Chrome clarification at the beginning of the generated policy documentation and remove ADM outputs with pseudo-translations. BUG=None TEST=manual Review URL: http://codereview.chromium.org/3605003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61163 0039d316-1c4b-4281-b951-d872f2087c98
* Fix autocomplete_unittest two-phase lookup problems.hans@chromium.org2010-10-011-5/+5
| | | | | | | | | | | | | | | | The operator<< for AutocompleteResult::const_iterator needs to be declared in the same namespace as its parameter type, in this case the global namespace. Otherwise Clang fails to compile this because it is more strict on the Standard. See http://clang.llvm.org/compatibility.html#dep_lookup for more info. BUG=none TEST=unit_tests Review URL: http://codereview.chromium.org/3591001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61162 0039d316-1c4b-4281-b951-d872f2087c98
* Update test data files in preparation to renaming the @webkitspeech attribute.satish@chromium.org2010-10-011-1/+2
| | | | | | | | | | | | | | | | In webkit patch https://bugs.webkit.org/show_bug.cgi?id=46873 I'm renaming the input element's @webkitspeech attribute to @x-webkit-speech. This chromium CL updates the relevant test files with both the old and new attribute names so that they won't break while the webkit change is being submitted. I'm also adding an extra event handler for 'onwebkitspeechchange'. This event will be added to webkit shortly and I'm including it now to allow webkit rolls to go without issues. The old attribute and event handler will be removed after the webkit changes are rolled into DEPS. BUG=53598 TEST=browser_tests --gtest_filter=SpeechInputBrowserTest.* Review URL: http://codereview.chromium.org/3539006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61161 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit 68848:68861morrita@chromium.org2010-10-011-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=hclam Review URL: http://codereview.chromium.org/3552004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61160 0039d316-1c4b-4281-b951-d872f2087c98
* Expose WebKit's XSS Auditor as labjochen@chromium.org2010-10-012-0/+13
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3598002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61159 0039d316-1c4b-4281-b951-d872f2087c98
* Add myself to a watchlist for chrome/browser/downloadphajdan.jr@chromium.org2010-10-011-0/+4
| | | | | | | | | | | | | | | It's risky to modify this code, and it needs a serious cleanup. Meanwhile, we should avoid landing changes that would make this code even more complicated or difficult to clean up. TBR=darin BUG=none TEST=none Review URL: http://codereview.chromium.org/3601003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61158 0039d316-1c4b-4281-b951-d872f2087c98
* Fix zoom unit test and add missing break in zoom map code.jam@chromium.org2010-10-012-6/+7
| | | | | | Review URL: http://codereview.chromium.org/3524006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61157 0039d316-1c4b-4281-b951-d872f2087c98
* Widen a suppression rule for Bug 39963.hbono@chromium.org2010-10-011-2/+0
| | | | | | | | | | | This change widen the suppression rule for Bug 39965 more to catch up with probably r61120 <http://crrev.com/61120>. TBR=thesig,timurrrr BUG=39963 TEST=make the "Linux Tests (valgrind)(1)" bot green. Review URL: http://codereview.chromium.org/3539009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61156 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compile problem. TBR=brettwjam@chromium.org2010-10-011-2/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61155 0039d316-1c4b-4281-b951-d872f2087c98
* Display homepage preferences correctly.markusheintz@chromium.org2010-10-012-15/+177
| | | | | | | | | BUG=57064 TEST=manual Review URL: http://codereview.chromium.org/3452028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61154 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of consolidating zoom code for pepper plugins (i.e. pdf) and the ↵jam@chromium.org2010-10-0134-232/+529
| | | | | | | | rest of Chrome. Allows plugins to have different zoom ranges, and also to update zoom on its own. Review URL: http://codereview.chromium.org/3419023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61153 0039d316-1c4b-4281-b951-d872f2087c98
* Send a notification when upgrades have been downloaded, and hookzork@chromium.org2010-10-013-4/+30
| | | | | | | | | | | the indicator up to the OS updater on Chrome OS. BUG=chromium-os:6526 TEST=Connect to a dev server with a newer version, and check that the display appears. Review URL: http://codereview.chromium.org/3607001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61152 0039d316-1c4b-4281-b951-d872f2087c98
* Widen a suppression rule for Bug 39963.hbono@chromium.org2010-10-011-3/+0
| | | | | | | | | | | This change updates a suppression rule for Bug 39963 to catch up with probably r61120 <http://crrev.com/61120>. TBR=thesig,timurrrr BUG=39963 TEST=make the "Linux Tests (valgrind)(1)" bot green. Review URL: http://codereview.chromium.org/3527006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61151 0039d316-1c4b-4281-b951-d872f2087c98
* Fix official build breakage.akalin@chromium.org2010-10-011-2/+0
| | | | | | | | | | BUG=None TEST=Tested compile with official mode flags TBR=hbono Review URL: http://codereview.chromium.org/3528007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61150 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a NULL check to TestingAutomationProvider::GetShowingAppModalDialog().hbono@chromium.org2010-10-011-2/+8
| | | | | | | | | | It seems AutomationProxyTest.AppModalDialogTest crashes because Singleton<AppModalDialogQueue>()->active_dialog() call in this function returns NULL since r60785. This change just adds a NULL check to avoid this crash. BUG=25039,57385 TEST=make the "Linux Tests (valgrind)(1)" bot green. Review URL: http://codereview.chromium.org/3522007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61149 0039d316-1c4b-4281-b951-d872f2087c98
* Update Alternate Error Page URL when Google URL has been updated.ukai@chromium.org2010-10-011-0/+8
| | | | | | | | | BUG=6789 TEST=none Review URL: http://codereview.chromium.org/3521005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61148 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes the tests written for http://codereview.chromium.org/3432009/showrch@chromium.org2010-10-0113-35/+1683
| | | | | | | | | | | | | | | | | | to use DeterministicSocketData which should avoid the flaky test problem that 3432009 introduced. -- Add a new class SpdyProxyClientSocket which implements ClientSocket by sending a CONNECT request via a SPDY SYN_STREAM frame to a SPDY proxy, and then reading/writing data to/from SPDY Data frames. BUG=29625 TEST=none Review URL: http://codereview.chromium.org/3578002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61144 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 61142 - Made logging macros evaluate its stream arguments lazily.akalin@chromium.org2010-10-015-286/+188
| | | | | | | | | | | | | | | | Also added logging unittests. BUG=57383 TEST=logging_unittest.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=61127 Review URL: http://codereview.chromium.org/3575008 TBR=akalin@chromium.org Review URL: http://codereview.chromium.org/3527004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61143 0039d316-1c4b-4281-b951-d872f2087c98
* Made logging macros evaluate its stream arguments lazily.akalin@chromium.org2010-10-015-188/+286
| | | | | | | | | | | | | Also added logging unittests. BUG=57383 TEST=logging_unittest.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=61127 Review URL: http://codereview.chromium.org/3575008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61142 0039d316-1c4b-4281-b951-d872f2087c98
* Unbreaking chromebot page load tests by changing the post-nav sleep duration ↵ace@chromium.org2010-10-011-2/+5
| | | | | | | | | | to a constant 2 seconds. This used to be settable with a default of 2 seconds, but the flag got rerouted to the action timeout flag in 60764. Review URL: http://codereview.chromium.org/3516009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61140 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 61124 To see if interactive_ui_test (AutocompleteEditViewTest)rvargas@google.com2010-10-011-8/+3
| | | | | | | | | | | | | | | | | | go green. Disk Cache: Add a quick return path for truncating an empty stream and make sure that Flush() doesn't fail when it has nothing to do. BUG=56872, 57395 TEST=none Review URL: http://codereview.chromium.org/3551005 TBR=rvargas@google.com Review URL: http://codereview.chromium.org/3543007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61138 0039d316-1c4b-4281-b951-d872f2087c98
* NTP: Fix bug where we were not clipping recently closedaa@chromium.org2010-10-011-16/+3
| | | | | | | | | | | | | miniview correctly. Refactored to use shared routine that is used for the other sections. BUG=54901 TEST=Open a bunch of NTP, then a bunch of tabs to different sites. Close all the site tabs. NTP should never show clipped words. TBR=arv@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61137 0039d316-1c4b-4281-b951-d872f2087c98
* net: fix two small issues with DnsRRResolveragl@chromium.org2010-10-011-5/+10
| | | | | | | | | | | | | | | | 1) Cache hits resulted in a memory leak. RRResolverHandles didn't delete themselves so, in the event of a cache hit, when a runnable method calling Post() was used, they would never be deleted. 2) It was possible to delete a lock which was still locked, causing a possible memory leak, depending on the implementation of pthread mutexes. BUG=57456 TEST=net_unittests http://codereview.chromium.org/3531006/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61136 0039d316-1c4b-4281-b951-d872f2087c98
* Fix about:plugins loading the plugin list on the UI thread. This way I can ↵jam@chromium.org2010-10-014-14/+67
| | | | | | | | renable the check against loading the plugins on the UI/IO thread. Review URL: http://codereview.chromium.org/3569008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61135 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit - Roll DEPS to include changes to FFmpeg build systemhclam@chromium.org2010-10-013-5/+16
| | | | | | | | | | | TBR=fbarchrd BUG=57266 TEST=Tree is green. ARM ffmpeg can be loaded. Review URL: http://codereview.chromium.org/3555004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61134 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit DEPS 68783:68848hclam@chromium.org2010-10-011-1/+1
| | | | | | | | | | | TBR=morrita BUG=None TEST=None Review URL: http://codereview.chromium.org/3611004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61133 0039d316-1c4b-4281-b951-d872f2087c98
* linux: Behave predictably on ctrl+backspacesuzhe@chromium.org2010-10-012-1/+28
| | | | | | | | | | | | | | | | | The default behaviour of GtkTextView on ctrl+backspace is a little counter intuitive. If there is selected text and the cursor is on the left edge of the selection, then instead of removing the selected text, it removes the word prior to the selection. So in cases where ctrl+backspace is pressed and text is selected, treat it as a normal backspace. BUG=18224 TEST=Type in 'goo' in the omnibox. That should autocomplete to 'google.com'. Pressing ctrl+backspace should remove the suggested 'gle.com'. Review URL: http://codereview.chromium.org/3446021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61132 0039d316-1c4b-4281-b951-d872f2087c98
* disable plugin tests on ChromeOSerikkay@chromium.org2010-09-301-6/+2
| | | | | | | | | BUG= TEST=ExtensionTest.IsPrivilegeIncrease Review URL: http://codereview.chromium.org/3582004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61131 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r61095 and r61128. I found several issues when testingaa@chromium.org2010-09-308-314/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this and I don't feel comfortable leaving it on trunk while they are ironed out. The terminology in the code is a bit schizophrenic at the moment, so for clarity: open = big icons showing closed = small icons showing hidden = no icons showing (button in bottom of tab) 1. If the apps section is hidden and an app is installed, the apps section comes back weirdly. The content is visible, but the header is not and the menu along the bottom of the tab is still there. 2. Sections' open state not persisted. If you click on a header to make a section open, then refresh, that section is closed again. 3. If you open the most visited section, then refresh, the most visited section will look closed. But if you hover in the empty area in the bottom of the tab, you will get cursor changes and status bubbles. This is probably related to 2, above. These aren't that hard to fix probably, but there are a few other high priority minor fixes I need to get in for m7, and I'm afraid of this change conflicting with them for merges. So I'm pulling this out until one of us has time to get back to it. TBR=thakis@chromium.org BUG=55148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61130 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 61127 - Made logging macros evaluate its stream arguments lazily.akalin@chromium.org2010-09-305-259/+186
| | | | | | | | | | | | | | Also added logging unittests. BUG=57383 TEST=logging_unittest.cc Review URL: http://codereview.chromium.org/3575008 TBR=akalin@chromium.org Review URL: http://codereview.chromium.org/3606003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61129 0039d316-1c4b-4281-b951-d872f2087c98
* NTP: Fix visual issues when sections are closed.aa@chromium.org2010-09-302-5/+12
| | | | | | | | | | | | See image here: http://imgur.com/XdxX6 BUG=55148 TEST=Close one or more sections in NTP. Font on collapsed menus should be the same as section headers. Review URL: http://codereview.chromium.org/3526009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61128 0039d316-1c4b-4281-b951-d872f2087c98
* Made logging macros evaluate its stream arguments lazily.akalin@chromium.org2010-09-305-186/+259
| | | | | | | | | | | Also added logging unittests. BUG=57383 TEST=logging_unittest.cc Review URL: http://codereview.chromium.org/3575008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61127 0039d316-1c4b-4281-b951-d872f2087c98