summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add link to disable individual plug-ins in Plug-ins tab of Content Settings ↵viettrungluu@chromium.org2010-03-244-77/+828
| | | | | | | | | | | | | | (Mac part). .xib change: Add hyperlink button with text "^IDS_PLUGIN_SELECTIVE_DISABLE" and hooked up to -openPluginsPage: of file's owner. BUG=736 TEST=Go to Content Settings -> Plug-ins and click on "Disable individual plug-ins..."; should get browser window with chrome://plugins/. Review URL: http://codereview.chromium.org/1285002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42481 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 42474 - Make repost form warning tabmodal on Gtk.dhollowa@chromium.org2010-03-244-104/+50
| | | | | | | | | | | | | | This is the Gtk version of http://codereview.chromium.org/969003. BUG=26271 TEST=Go to http://www.cs.unc.edu/~jbs/resources/perl/perlcgi/programs/form1POST.html, hit Submit, then refresh. The warning sheet should be tabmodal, not windowmodal. Opening a login form (which is also tabmodal) while the warning is shown should not crash, neither should bringing up the warning while a login form is shown. Review URL: http://codereview.chromium.org/660434 TBR=bauerb@chromium.org Review URL: http://codereview.chromium.org/1247004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42479 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 42473 - Add a delegate to CookieMonster and broadcast notifications ↵dhollowa@chromium.org2010-03-2414-376/+118
| | | | | | | | | | | | | | | | about changes to cookies. This change will allow implementing the experimental cookie extension API, specifically the cookies.onChanged event BUG=38398 TEST=net_unittests Review URL: http://codereview.chromium.org/1023004 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/1256003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42478 0039d316-1c4b-4281-b951-d872f2087c98
* Suppressed the leaks in ExtensionsServiceTest.* (bug 39177)glider@chromium.org2010-03-241-0/+6
| | | | | | | | | BUG=39177 TBR=jochen Review URL: http://codereview.chromium.org/1286001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42477 0039d316-1c4b-4281-b951-d872f2087c98
* strings for translate infobar's error statekuan@chromium.org2010-03-241-0/+9
| | | | | | | | | BUG=38548 TEST=none yet. Review URL: http://codereview.chromium.org/1283001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42475 0039d316-1c4b-4281-b951-d872f2087c98
* Make repost form warning tab-modal on Gtk.bauerb@chromium.org2010-03-244-50/+104
| | | | | | | | | | | This is the Gtk version of http://codereview.chromium.org/969003. BUG=26271 TEST=Go to http://www.cs.unc.edu/~jbs/resources/perl/perl-cgi/programs/form1-POST.html, hit Submit, then refresh. The warning sheet should be tab-modal, not window-modal. Opening a login form (which is also tab-modal) while the warning is shown should not crash, neither should bringing up the warning while a login form is shown. Review URL: http://codereview.chromium.org/660434 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42474 0039d316-1c4b-4281-b951-d872f2087c98
* Add a delegate to CookieMonster and broadcast notifications about changes to ↵jochen@chromium.org2010-03-2414-118/+376
| | | | | | | | | | | | | cookies. This change will allow implementing the experimental cookie extension API, specifically the cookies.onChanged event BUG=38398 TEST=net_unittests Review URL: http://codereview.chromium.org/1023004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42473 0039d316-1c4b-4281-b951-d872f2087c98
* Enable SSLClientSocketTest.* on Mac under ThreadSanitizer.glider@chromium.org2010-03-243-1/+12
| | | | | | | | | | Ignore the accesses within SensitiveAllocator::free. Suppress another report in -[NSOperationQueue dealloc] TBR=timurrrr Review URL: http://codereview.chromium.org/1281001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42472 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate all UI thread decoding of extension images. finnur@chromium.org2010-03-2429-361/+398
| | | | | | | | | | | | | | | | | | | | | | Except one, that is. We have one location we need to take a look at (I've added a comment). This changelist converts UI usage of DecodeImage on the UI thread to a revamped and simplified ImageLoadingTracker class. I plan on adding to GetFilePath a DCHECK for the File thread but decided to do so in another changelist, since it has a high likelyhood of flushing something out and be backed out because of that. This started out as issue 38521 (make infobar use cached icons) but grew in scope to just eliminate all UI thread access to DecodeImage and GetFilePath. BUG=http://crbug.com/38521 TEST=None (extensions should work as before) Review URL: http://codereview.chromium.org/1075006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42471 0039d316-1c4b-4281-b951-d872f2087c98
* Update V8 to version 2.1.8.2.kmillikin@chromium.org2010-03-241-1/+1
| | | | | | | | | | | This fixes reliability test crashes in V8 version 2.1.8.1. BUG=39160 TEST=reliability tests Review URL: http://codereview.chromium.org/1238005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42470 0039d316-1c4b-4281-b951-d872f2087c98
* Enable DiskCacheTest.*, DiskCacheEntryTest.*, FlipNetworkTransactionTest.*,glider@chromium.org2010-03-242-4/+8
| | | | | | | | | | SocketStreamTest.BasicAuthProxy under ThreadSanitizer on Mac, added an appropriate suppression for NSOperationQueue. TBR=timurrrr Review URL: http://codereview.chromium.org/1239003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42469 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 42465 - Keyboard accessibility for the page and app menus.dmazzoni@chromium.org2010-03-2442-1022/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reverting because newly added Test*MenuKeyboardAccess tests fail on some of the Windows buildbots, and possibly a XP Perf regression. Works on Windows, and on Linux with toolkit_views. The goal is to make Chrome behave more like a standard Windows application, for users who rely on the keyboard and expect standard keyboard accelerators to work. Pressing F10, or pressing and releasing Alt, will set focus to the Page menu, as if it was the first item in a menu bar. Pressing enter, space, up arrow, or down arrow will open the focused menu. Once a menu is opened, pressing left and right arrows will switch between the two menus. Pressing escape will return focus to the title of the previously open menu. A new UI test attempts to select something from the menus using only the keyboard. It works on Linux (with toolkit_views) and on Windows. BUG=none TEST=New keyboard accessibility ui test. Review URL: http://codereview.chromium.org/660323 TBR=dmazzoni@chromium.org Review URL: http://codereview.chromium.org/1257003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42468 0039d316-1c4b-4281-b951-d872f2087c98
* Clear cookies, local storage and databases when an extension gets uninstalled.jochen@chromium.org2010-03-2415-44/+367
| | | | | | | | | | BUG=27938 TEST=Unittest in extension_service_unitttest.cc Review URL: http://codereview.chromium.org/1095003 Patch from Mattias Nissler. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42467 0039d316-1c4b-4281-b951-d872f2087c98
* Explicitly don't handle scroll events to Carbon pluginsstuartmorgan@chromium.org2010-03-241-8/+6
| | | | | | | | | | | The Carbon NPAPI event model doesn't have a concept of scroll wheel events; tweak the handling logic and logging so that scrolls over Carbon plugins don't generate tons of warning spew. BUG=none TEST=none Review URL: http://codereview.chromium.org/1207002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42466 0039d316-1c4b-4281-b951-d872f2087c98
* Keyboard accessibility for the page and app menus.dmazzoni@chromium.org2010-03-2442-55/+1022
| | | | | | | | | | | | | | | | | | | | | | | | | | Works on Windows, and on Linux with toolkit_views. The goal is to make Chrome behave more like a standard Windows application, for users who rely on the keyboard and expect standard keyboard accelerators to work. Pressing F10, or pressing and releasing Alt, will set focus to the Page menu, as if it was the first item in a menu bar. Pressing enter, space, up arrow, or down arrow will open the focused menu. Once a menu is opened, pressing left and right arrows will switch between the two menus. Pressing escape will return focus to the title of the previously open menu. A new UI test attempts to select something from the menus using only the keyboard. It works on Linux (with toolkit_views) and on Windows. BUG=none TEST=New keyboard accessibility ui test. Review URL: http://codereview.chromium.org/660323 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42465 0039d316-1c4b-4281-b951-d872f2087c98
* Add Chromium implementation for LayoutTestController.showWebInspectoryurys@chromium.org2010-03-242-0/+10
| | | | | | Review URL: http://codereview.chromium.org/1278001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42463 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WorkerPoolTest.PostTask back under ThreadSanitizer on Mac OS.glider@chromium.org2010-03-241-6/+0
| | | | | | | | TBR=timurrrr Review URL: http://codereview.chromium.org/1276001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42462 0039d316-1c4b-4281-b951-d872f2087c98
* Disable BrowserActionApiTest.BrowserActionPopup, it's crashy.phajdan.jr@chromium.org2010-03-241-1/+2
| | | | | | | | | TEST=greener tree BUG=39158 Review URL: http://codereview.chromium.org/1266002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42461 0039d316-1c4b-4281-b951-d872f2087c98
* Expose current_screen() for tests.avayvod@google.com2010-03-242-9/+4
| | | | | | | | | | | Removed duplicated windows closing from OnLoginSignInSelected(). BUG=none TEST=none Review URL: http://codereview.chromium.org/1267002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42460 0039d316-1c4b-4281-b951-d872f2087c98
* Annotated the scoped leak inside base::RSAPrivateKey::CreateFromPrivateKeyInfo,glider@chromium.org2010-03-243-17/+4
| | | | | | | | | | | | removed the annotations from the tests calling it (RSAPrivateKeyUnitTest.* and SignatureCreatorTest.BasicTest) BUG=34742 TBR=wtc Review URL: http://codereview.chromium.org/1271002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42459 0039d316-1c4b-4281-b951-d872f2087c98
* Open bookmarks from clicks in background windows in the correct window, not ↵pinkerton@chromium.org2010-03-241-2/+1
| | | | | | | | | | the active window. BUG=37832 TEST=cmd-clicking in background windows should open in bg window, foreground window bookmark loading should be unaffected. Review URL: http://codereview.chromium.org/1202001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42458 0039d316-1c4b-4281-b951-d872f2087c98
* More file-prefix-to-cut and cut-stack-below filterstimurrrr@chromium.org2010-03-241-0/+10
| | | | | | Review URL: http://codereview.chromium.org/1263002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42457 0039d316-1c4b-4281-b951-d872f2087c98
* Add heapcheck suppressions for fontconfig one-time leaks.glider@chromium.org2010-03-241-0/+51
| | | | | | | | | | | | This patch was originally prepared by Matt Mueller TBR=mattm BUG=39050 TEST=tools/heapcheck/chrome_tests.sh -t unit Review URL: http://codereview.chromium.org/1274001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42456 0039d316-1c4b-4281-b951-d872f2087c98
* Update FRIEND_TEST to fix the build.phajdan.jr@chromium.org2010-03-241-1/+1
| | | | | | | | | | TBR=maruel TEST=none BUG=38522 Review URL: http://codereview.chromium.org/1267003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42455 0039d316-1c4b-4281-b951-d872f2087c98
* Properly fix ends of lines.antonm@chromium.org2010-03-241-1/+27
| | | | | | | | BUG=39156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42454 0039d316-1c4b-4281-b951-d872f2087c98
* Mark BrowserTest.RestorePinnedTabs as crashy on Mac OS X.phajdan.jr@chromium.org2010-03-241-2/+2
| | | | | | | | | TEST=make tree greener BUG=38522 Review URL: http://codereview.chromium.org/1216003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42453 0039d316-1c4b-4281-b951-d872f2087c98
* Remove suppression which is not needed anymore.antonm@chromium.org2010-03-241-10/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42452 0039d316-1c4b-4281-b951-d872f2087c98
* Don't instrument set_jmptimurrrr@chromium.org2010-03-241-0/+1
| | | | | | | TBR=glider Review URL: http://codereview.chromium.org/1271001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42449 0039d316-1c4b-4281-b951-d872f2087c98
* A quick fix for "keyboard-event.html".hbono@chromium.org2010-03-241-0/+2
| | | | | | | | | | | I forgot adding code that ignores WM_CHAR events into npapi_layout_test_plugin. Sorry for my stupid mistake. TBR=jam BUG=none TEST=keyboard-event.html Review URL: http://codereview.chromium.org/1238004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42448 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the "ls -l" style date parser to correctly guess the year if it is not ↵phajdan.jr@chromium.org2010-03-2423-71/+123
| | | | | | | | | | | | | provided. Also provide an infrastructure to mock the current time in the tests. BUG=36293 TEST=net_unittests Review URL: http://codereview.chromium.org/1120012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42447 0039d316-1c4b-4281-b951-d872f2087c98
* Update V8 to version 2.1.8.kmillikin@chromium.org2010-03-241-1/+1
| | | | | | Review URL: http://codereview.chromium.org/1267001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42446 0039d316-1c4b-4281-b951-d872f2087c98
* A Chrome-side fix for Issue 13233.hbono@chromium.org2010-03-242-0/+32
| | | | | | | | | | To investigate this issue deeply, it seems Flash uses ToUnicode() to verify WM_CHAR events sent from a browser. That is, Flash discards WM_CHAR events if they are different from the characters returned from ToUnicode() calls. So, to fix this issue, we need not only to send WM_CHAR events, but also to synchronize the keyboard layout of a plug-in process with a browser process. To retrieve the keyboard layout of a browser process, this change call GetKeyboardLayout() with the thread id of the parent window. (Even though I'm wondering if this is a good way, I used it since it is not so easy to dispatch the keyboard layout from a browser process to a plug-in process.) BUG=13233 TEST=LayoutTests/plugins/keyboard-events.html (in my WebKit-side change <https://bugs.webkit.org/show_bug.cgi?id=34936>). Review URL: http://codereview.chromium.org/267072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42445 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 361.0 to 362.0chrome-release@google.com2010-03-241-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42443 0039d316-1c4b-4281-b951-d872f2087c98
* Enforce extension permissions in C++ (instead of Javascript).jochen@chromium.org2010-03-2419-57/+72
| | | | | | | | | BUG=38920 TEST=ExtensionApiTest.Incognito Review URL: http://codereview.chromium.org/1148009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42441 0039d316-1c4b-4281-b951-d872f2087c98
* Fix to bug 39063.mbelshe@chromium.org2010-03-242-7/+98
| | | | | | | | | | | | The problem was the backup connect job was failed; and we didn't properly track the backup_job in the group jobs list. BUG=39063 TEST=TCPClientSocketPoolTest.BackupConnectFail Review URL: http://codereview.chromium.org/1262001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42440 0039d316-1c4b-4281-b951-d872f2087c98
* Some small changes to webkit_support.tkent@google.com2010-03-243-4/+24
| | | | | | | | | | | | | | | | * Add SetAcceptAllCookies(bool) It will be used by LayoutTestController. * Support the media library initialization with Mac bundles * Change the initialization order of MessageLoopForUI and TestWebKitClient This is important for appcache. TEST=none, this is a part of test code BUG=none Review URL: http://codereview.chromium.org/1212004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42439 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the remaining bucket commands, switches thegman@chromium.org2010-03-2425-426/+1212
| | | | | | | | | | | | GLES2Implementation to use the bucket versions of the commands and fixes a bunch of gcc warnings TEST=various unit tests BUG=none Review URL: http://codereview.chromium.org/1173001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42438 0039d316-1c4b-4281-b951-d872f2087c98
* Replace about:plugins page with new page.viettrungluu@chromium.org2010-03-246-278/+11
| | | | | | | | | | | | Do this by "remapping" about:plugins to chrome://plugins/. Also delete old about:plugins page and associated strings. BUG=736 TEST=Go to about:plugins; should get new plugins page (same as chrome://plugins/). Review URL: http://codereview.chromium.org/1219005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42434 0039d316-1c4b-4281-b951-d872f2087c98
* A quick fix for Issue 38587.hbono@chromium.org2010-03-241-1/+1
| | | | | | | | | | This issue is caused by my bonehead mistake that forgot setting the parent windows of AeroPeek windows. This change just sets the BrowserFrame object (which owns AeroPeek windows) to their parent window so we can minimize AeroPeek windows when we minimize the BrowserFrame. BUG=38597 TEST=Open two or more tabs, minimize Chrome, and verify there are not any garbage windows on Desktop. Review URL: http://codereview.chromium.org/1120011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42433 0039d316-1c4b-4281-b951-d872f2087c98
* [Linux] Always enable emacs key bindings.suzhe@chromium.org2010-03-244-16/+2
| | | | | | | | | BUG=37852 C-u views source in password entries TEST=See bug report. Review URL: http://codereview.chromium.org/1113008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42432 0039d316-1c4b-4281-b951-d872f2087c98
* print stack trace to stderr as well as to dialog.oshima@chromium.org2010-03-241-12/+10
| | | | | | | | | | | Stacktrace info was shown only in dialog, and chromeos was not getting this as it does not have xmessage. Changed to include stacktrace to the log message before being printed to stderr. BUG=none TEST=none Review URL: http://codereview.chromium.org/1094012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42431 0039d316-1c4b-4281-b951-d872f2087c98
* basic browser tests for compact navigation bar.oshima@chromium.org2010-03-249-11/+170
| | | | | | | | | | | | | * Tests if Browser::ToggleCompactNavigationBar() turns on/off compact navigation bar and tool bar. * Tests if the accelerator works. BUG=http://crosbug.com/2028 TEST=new tests CompactNativationBarTest.TestBasic/TestAccelerator should pass. Review URL: http://codereview.chromium.org/1200001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42430 0039d316-1c4b-4281-b951-d872f2087c98
* Also set the canvas size. I missed this in the last patch.tony@chromium.org2010-03-245-23/+25
| | | | | | | | BUG=26354 Review URL: http://codereview.chromium.org/1243001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42429 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for alpha and beta versions of karmic/lucid in install-build-deps.shsatorux@chromium.org2010-03-241-1/+1
| | | | | | | | | | | | For some reason, alpha and beta releases of Ubuntu seem to use code names instead of numbers in /etc/issue. BUG=none TEST=none Review URL: http://codereview.chromium.org/1154004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42428 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r42426 - tests are failing because the WebKit LayoutTests directoriesdpranke@google.com2010-03-243-11/+14
| | | | | | | | | | | | | aren't checked out on the bots. We need to figure out how to deal with this since we don't want to keep expectations downstream if we can avoid it. BUG=none R=none TEST=bots stay green Review URL: http://codereview.chromium.org/1253002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42427 0039d316-1c4b-4281-b951-d872f2087c98
* Use upstream layout_test baselines since the downstream ones are going away.dpranke@google.com2010-03-243-14/+11
| | | | | | | | | | BUG=none TEST=bots stay green R=eroman@chromium.org Review URL: http://codereview.chromium.org/1214001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42426 0039d316-1c4b-4281-b951-d872f2087c98
* Up the safe browsing timeout from 1s to 5s.cevans@chromium.org2010-03-241-1/+1
| | | | | | | | | | | | | | | After a conversation with Eric, we're not worried about attacker pages loading down the local machine or network (because such pages would themselves be candidates for being flagged). The concern is users with slow network connections, or random network / server jitter. BUG=36774 TEST=NONE Review URL: http://codereview.chromium.org/1242001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42425 0039d316-1c4b-4281-b951-d872f2087c98
* Add MSAA Accessible information to Find bar.mhm@chromium.org2010-03-242-0/+14
| | | | | | | | | BUG=9606 TEST=Inspect32 has accessible names for those components. Review URL: http://codereview.chromium.org/1110013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42424 0039d316-1c4b-4281-b951-d872f2087c98
* Add a simple resource loader to Chrome Frame that is capable of finding, ↵robertshield@chromium.org2010-03-248-35/+246
| | | | | | | | | | | | | | | loading and extracting resources from the Chrome locale DLLs. Add the Chrome Frame resource strings to the Chrome .grds so they get built directly into the Chrome locale dlls. There is one remaining todo here, which is to load the dialog template into a grd + rc somewhere (probably in generated_resources.grd) and then get CF to load dialog templates from a different module. Will do that in another patch. BUG=24305 TEST=Chrome Frame when loaded on machines whose locales are not US English will display strings appropriate to those locales. Review URL: http://codereview.chromium.org/1240001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42423 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 42415 - Removed custom FFmpegLock. Removed ffmpeg headers from ↵scherkus@chromium.org2010-03-2434-69/+7312
| | | | | | | | | | | | | | | | third_party/ffmpeg/include. Patch by sergeyu@chromium.org BUG=23271 TEST=none Review URL: http://codereview.chromium.org/1213002 TBR=scherkus@chromium.org Review URL: http://codereview.chromium.org/1240002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42422 0039d316-1c4b-4281-b951-d872f2087c98