summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Switch a bunch of remaining filters to derive from BrowserMessageFilters so ↵jam@chromium.org2010-12-1332-794/+502
| | | | | | | | that ResourceMessageFilter doesn't have to know about them and vice versa. A bunch of small cleanup in the process. I've added new message files for classes that want their messages dispatched on threads other than the IO. Review URL: http://codereview.chromium.org/5698008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69008 0039d316-1c4b-4281-b951-d872f2087c98
* Rename all methods accessing Singleton<T> as GetInstance().satish@chromium.org2010-12-1341-96/+116
| | | | | | | | | | | | | | | This is in preparation to a subsequent CL where Singleton<T> will restrict access to only the type being made singleton. This primarily covers files in chrome os and other directories, missed in the previous CL. In a couple of files i changed Singleton<T> usage to LazyInstance<T>, because changing the method name to GetInstance() in there would require a whole lot of updates throughout the chrome os codebase. BUG=65298 TEST=all existing tests should pass. Review URL: http://codereview.chromium.org/5734002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69007 0039d316-1c4b-4281-b951-d872f2087c98
* Reset NTP document height when sections are minimized/hidden. Update ↵jstritar@chromium.org2010-12-132-9/+25
| | | | | | | | | | | position_util to properly handle 'fixed' positioned elements. BUG=62747 TEST=See bug. Review URL: http://codereview.chromium.org/5445002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69005 0039d316-1c4b-4281-b951-d872f2087c98
* Add utility function to determine if a locale is valid syntax; this willdmazzoni@chromium.org2010-12-134-48/+5
| | | | | | | | | | | | be used by the TTS extension API. Moved some locale utility functions from extension_l10n_util to l10n_util. BUG=none TEST=Adds new unit test Review URL: http://codereview.chromium.org/5643002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69004 0039d316-1c4b-4281-b951-d872f2087c98
* Make use of new functionality of SignedSettings to tell if a settings is ↵dilmah@chromium.org2010-12-131-48/+42
| | | | | | | | | | | | | missing. Removed previous stubs and enforce security. BUG=chromium-os:9818 TEST=Manual Review URL: http://codereview.chromium.org/5692007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69001 0039d316-1c4b-4281-b951-d872f2087c98
* Compile fix for touchui.sadrul@chromium.org2010-12-131-4/+4
| | | | | | | | | | | | views::ViewStorage::GetSharedInstance didn't get renamed to GetInstance in a previous CL. BUG=chrome doesn't compile with touchui=1 TEST=see bug Review URL: http://codereview.chromium.org/5807001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68999 0039d316-1c4b-4281-b951-d872f2087c98
* Add a CEEE mode to the ChromeFrame distribution class.robertshield@chromium.org2010-12-1326-163/+300
| | | | | | | | | | | | | | Pass a MasterPreferences into BrowserDistribution et al. to allow for preferences-based behaviour. Add a GetComDllList() method that returns the set of registerable components for that distribution. Change GetKeyFile() on BrowserDistribution to GetKeyFiles(). Refactor GetMasterPreferencesForCurrentProcess into a static method on MasterPreferences. BUG=61609 TEST=None Review URL: http://codereview.chromium.org/5558006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68996 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] Show 'Checking for updates' state all that time during update check.nkostylev@chromium.org2010-12-133-40/+0
| | | | | | | | | BUG=chromium-os:10163 TEST=Manual. Review URL: http://codereview.chromium.org/5760003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68995 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 610.0 to 611.0chrome-release@google.com2010-12-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68988 0039d316-1c4b-4281-b951-d872f2087c98
* Widen the extension UI dialog by 20px to fit Japanese translated message.kochi@chromium.org2010-12-131-1/+1
| | | | | | | | | | | See the screenshot in the issue tracker. BUG=chromium-os:9740 TEST=Follow the procedure in the bug description and check if the translation fit in the dialog. Review URL: http://codereview.chromium.org/5675006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68984 0039d316-1c4b-4281-b951-d872f2087c98
* Rename all methods accessing Singleton<T> as GetInstance().satish@chromium.org2010-12-1365-142/+152
| | | | | | | | | | | | | This is in preparation to a subsequent CL where Singleton<T> will restrict access to only the type being made singleton. I also moved pepper::ResourceTracker to a lazy instance since there were too many places in code where this class was being accessed from and this was a smaller change than renaming methods in that case. BUG=65298 TEST=all existing tests should pass. Review URL: http://codereview.chromium.org/5685007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68982 0039d316-1c4b-4281-b951-d872f2087c98
* Add user metrics for the login screen.satorux@chromium.org2010-12-133-0/+19
| | | | | | | | | | | | | | | | | | | Add user metrics for the following login actions: 1. login success 2. login failure 3. off the record login success (guest mode). Update chromeactions.txt by: % cd chrome/tools % PYTHONPATH=../../tools/python python extract_actions.py --hash TEST=login screen worked as before. BUG=chromium-os:8382 Review URL: http://codereview.chromium.org/5287003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68981 0039d316-1c4b-4281-b951-d872f2087c98
* Move the candidate window to right position, if size or visibility of ↵satorux@chromium.org2010-12-131-10/+34
| | | | | | | | | | | | candidate window is changed BUG=chromium-os:9950 TEST=manual Review URL: http://codereview.chromium.org/5582004 Patch from Peng Huang <penghuang@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68980 0039d316-1c4b-4281-b951-d872f2087c98
* Some fields were getting dropped during the conversion ofaa@chromium.org2010-12-124-3/+46
| | | | | | | | | | | 'crx-less' web apps to extensions. BUG=66127 TEST= Review URL: http://codereview.chromium.org/5709004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68976 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak in gpu_blacklist.cc.zmo@google.com2010-12-121-0/+2
| | | | | | | | | BUG=66608 TEST=none TBR=kbr,vangelis git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68968 0039d316-1c4b-4281-b951-d872f2087c98
* Fix extension install UI for extensions with RTL Names.jeremy@chromium.org2010-12-124-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a version of AdjustStringForLocaleDirection() that handles the quirks of GTK/OSX label autodirectionality. Comment from the CL: // On OS X & GTK the directionality of a label is determined by the first // strongly directional character. // However, we want to make sure that in an LTR-language UI all strings are // left aligned and vice versa. // A problem can arise if we display a string which starts with user input. // User input may be the opposite directionality and so the whole string will // be displayed in the opposite directionality, e.g. if we want to display in // an LTR UI [such as US English]: // // EMAN_NOISNETXE is now installed. // // Since EXTENSION_NAME begins with a strong RTL char, the label's // directionality will be set to RTL and the string will be displayed visually // as: // // .is now installed EMAN_NOISNETXE // // In order to solve this issue, we prepend an LRM to the string which is a // strongly directional LTR char. // We also append an LRM at the end which ensures that we're in an LTR // context. // Unlike Windows, Linux and OS X can correctly display RTL glyphs out of the // box so there is no issue with displaying zero-width bidi control characters // on any system. Thus no need for the !IsRTL() check here. BUG=63303 TEST=1. Try scenario described in bug. 2. Make sure there areno regressions displaying RTL strings in LTR UI and vice versa on OS X. Review URL: http://codereview.chromium.org/5291009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68967 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 609.0 to 610.0chrome-release@google.com2010-12-121-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68961 0039d316-1c4b-4281-b951-d872f2087c98
* net: Add namespace net to URLRequestFileJob.tfarina@chromium.org2010-12-126-14/+14
| | | | | | | | | BUG=64263 TEST=trybots Review URL: http://codereview.chromium.org/5755004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68959 0039d316-1c4b-4281-b951-d872f2087c98
* net: Add namespace net to URLRequestAboutJob.tfarina@chromium.org2010-12-112-2/+2
| | | | | | | | | BUG=64263 TEST=trybots Review URL: http://codereview.chromium.org/5797003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68950 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 68919 - Remove the 'restart required' alert when enabling the metrics ↵thestig@chromium.org2010-12-115-6/+48
| | | | | | | | | | | | | reporting option, the alert is obsolete. BUG=none TEST=Green tree and no 'restart required' alerts when enabling metrics in Chrome builds. Review URL: http://codereview.chromium.org/4778002 TBR=csilv@chromium.org Review URL: http://codereview.chromium.org/5752004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68949 0039d316-1c4b-4281-b951-d872f2087c98
* Blacklist bad GPU drivers: currenly we disable all gpu related features if a ↵zmo@google.com2010-12-1118-1/+999
| | | | | | | | | | | (os, device, driver) configuration is on the blacklist. BUG=58182 TEST=unittest Review URL: http://codereview.chromium.org/5612002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68948 0039d316-1c4b-4281-b951-d872f2087c98
* Mark InstantTest.NonSearchToSearchDoesntSupportInstant as flaky.phajdan.jr@chromium.org2010-12-111-1/+3
| | | | | | | | | | | TBR=sky BUG=66539 TEST=browser_tests Review URL: http://codereview.chromium.org/5743006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68945 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Add named testing interface."phajdan.jr@chromium.org2010-12-1117-424/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | http://src.chromium.org/viewvc/chrome?view=rev&revision=67300 The change has been approved conditionally, i.e. if the outstanding review comments are handled in a follow-up as the top priority. Two weeks have passed, and I have not seen the follow-up. It is risky to keep this change in the tree, as it is already non-trivial to revert. Conflicts: chrome/browser/automation/automation_provider.cc chrome/test/ui/named_interface_uitest.cc ipc/ipc_channel_posix.cc TBR=nirnimesh BUG=chromium-os:8512 TEST=none Review URL: http://codereview.chromium.org/5707006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68944 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 608.0 to 609.0chrome-release@google.com2010-12-111-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68940 0039d316-1c4b-4281-b951-d872f2087c98
* Add some experiments for different policies on cwnd restore.mbelshe@chromium.org2010-12-112-0/+46
| | | | | | | | | BUG=none TEST=self Review URL: http://codereview.chromium.org/5687002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68938 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 68932 - Make members of Singleton<T> private and only visible to the ↵satish@chromium.org2010-12-1116-80/+51
| | | | | | | | | | | | | | | | | | singleton type. This enforces that the Singleton<T> pattern can only be used within classes which want singleton-ness. As part of this CL I have also fixed up files which got missed in my previous CLs to use a GetInstance() method and use Singleton<T> from the source file. There are a small number of places where I have also switched to LazyInstance as that was more appropriate for types used in a single source file. BUG=65298 TEST=all existing tests should continue to pass. Review URL: http://codereview.chromium.org/5682008 TBR=satish@chromium.org Review URL: http://codereview.chromium.org/5721005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68936 0039d316-1c4b-4281-b951-d872f2087c98
* net: Remove typedef net::URLRequestJob URLRequestJob;tfarina@chromium.org2010-12-1137-90/+99
| | | | | | | | | BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/5607004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68935 0039d316-1c4b-4281-b951-d872f2087c98
* Make members of Singleton<T> private and only visible to the singleton type. ↵satish@chromium.org2010-12-1116-51/+80
| | | | | | | | | | | | | | | This enforces that the Singleton<T> pattern can only be used within classes which want singleton-ness. As part of this CL I have also fixed up files which got missed in my previous CLs to use a GetInstance() method and use Singleton<T> from the source file. There are a small number of places where I have also switched to LazyInstance as that was more appropriate for types used in a single source file. BUG=65298 TEST=all existing tests should continue to pass. Review URL: http://codereview.chromium.org/5682008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68932 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid inserting a redundant separator in status icon menu.tfarina@chromium.org2010-12-111-1/+2
| | | | | | | | | | | | When there is no application installed on chrome we are showing two separators instead of one in the menu. BUG=65648 TEST=see bug Review URL: http://codereview.chromium.org/5513008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68928 0039d316-1c4b-4281-b951-d872f2087c98
* DOMUI: Temporarily strip trailing colons from section titles until the stringsjhawkins@chromium.org2010-12-116-17/+83
| | | | | | | | | | | can be changed. BUG=62875 TEST=none Review URL: http://codereview.chromium.org/5799001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68923 0039d316-1c4b-4281-b951-d872f2087c98
* Enable popup blocker tests.nirnimesh@chromium.org2010-12-111-1/+1
| | | | | | | | | | Seems to have cured itself. BUG=59208 Review URL: http://codereview.chromium.org/5713003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68921 0039d316-1c4b-4281-b951-d872f2087c98
* Fix flaky BrowserKeyEventsTest.ReservedAccelerators on Windows (hopefully)suzhe@chromium.org2010-12-111-28/+22
| | | | | | | | | | | According to the log, the flakiness may be caused by http://crbug.com/65375. But I can't reproduce it manually on my local Windows 7 workstation. This CL just uses the same test flow as Mac port to try to avoid flakiness. The FLAKY label is not removed in case the test will still be flaky. BUG=65847 TEST=The test should not flaky on Windows. Review URL: http://codereview.chromium.org/5746002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68920 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the 'restart required' alert when enabling the metrics reporting ↵csilv@chromium.org2010-12-115-48/+6
| | | | | | | | | | option, the alert is obsolete. BUG=none TEST=Green tree and no 'restart required' alerts when enabling metrics in Chrome builds. Review URL: http://codereview.chromium.org/4778002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68919 0039d316-1c4b-4281-b951-d872f2087c98
* DOMUI: Remove the sync settings overlay.jhawkins@chromium.org2010-12-1114-223/+213
| | | | | | | | | | | | | * Move the sync settings into the Personal Stuff page. * Fix disabling input elements from JS. * Fix handling of boolean prefs in select controls. BUG=59279 TEST=none Review URL: http://codereview.chromium.org/5779001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68918 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 68893 - Consider PlatformThread::Join() to be blocking IO.csilv@chromium.org2010-12-113-17/+0
| | | | | | | | | | | | | | | | | Marks PlatformThread::Join() as blocking IO using ThreadRestrictions. Whitelists existing spots where we join on the UI/IO threads. Also noteworthy is I allow blocking IO on shutdown. BUG=65530,66077,66082 TEST=none Review URL: http://codereview.chromium.org/5693003 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/5743005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68915 0039d316-1c4b-4281-b951-d872f2087c98
* DOMUI: Move the 'Get themes' link below the 'Reset' button.jhawkins@chromium.org2010-12-111-3/+5
| | | | | | | | | BUG=63830 TEST=none Review URL: http://codereview.chromium.org/5721003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68912 0039d316-1c4b-4281-b951-d872f2087c98
* Adding pyauto tests to passwords.pynirnimesh@chromium.org2010-12-102-22/+87
| | | | | | | | | | | | | | | | | | | Added tests 1. testRemovePasswords 2. testFetchAnotherUser 3. testNeverSavePasswords Added a method for constructing password dictionary Modified testSavePassword in passwords.py MOdified GoogleAccountsLogin and VerifyGoogleAccountCredsFilled in test_utils.py to take window index and tab index BUG=none TEST=none Review URL: http://codereview.chromium.org/5379007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68909 0039d316-1c4b-4281-b951-d872f2087c98
* Include auxiliary profiles when crowdsourcing autofill data.isherman@chromium.org2010-12-101-3/+4
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5784001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68906 0039d316-1c4b-4281-b951-d872f2087c98
* Pull in a named constant from WebKitisherman@chromium.org2010-12-102-196/+200
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5770002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68905 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the bug in Linux in the case of moving the window.isherman@chromium.org2010-12-101-0/+4
| | | | | | | | | BUG=25232 TEST=1, Input text to show popup with autofill. 2. Once autofill pops up drag the browser with mouse. 4, Confirm the popup window is closes. Review URL: http://codereview.chromium.org/5544011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68904 0039d316-1c4b-4281-b951-d872f2087c98
* Changed the partial url search term to avoid the crash on windowsnirnimesh@chromium.org2010-12-102-4/+1
| | | | | | | | BUG=66448 Review URL: http://codereview.chromium.org/5697004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68898 0039d316-1c4b-4281-b951-d872f2087c98
* Verify enabeling and disable javascript prefs worksnirnimesh@chromium.org2010-12-102-0/+26
| | | | | | | | | | ( Note: Data file related to the same test is submitted in a different CL) Verify prefs to enabled/disables omnibox suggestions Review URL: http://codereview.chromium.org/5556010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68896 0039d316-1c4b-4281-b951-d872f2087c98
* Release notes for M9.kathyw@chromium.org2010-12-106-41/+115
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/5748001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68895 0039d316-1c4b-4281-b951-d872f2087c98
* Consider PlatformThread::Join() to be blocking IO.willchan@chromium.org2010-12-103-0/+17
| | | | | | | | | | | | | | Marks PlatformThread::Join() as blocking IO using ThreadRestrictions. Whitelists existing spots where we join on the UI/IO threads. Also noteworthy is I allow blocking IO on shutdown. BUG=65530,66077,66082 TEST=none Review URL: http://codereview.chromium.org/5693003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68893 0039d316-1c4b-4281-b951-d872f2087c98
* Load external extensions even when --disable-extensions is used. We do this ↵jstritar@chromium.org2010-12-103-13/+71
| | | | | | | | | | | since different environments may require users to have certain external policy extensions installed. This patch also fixes a crash when --disable-extensions is used with external extensions installed. BUG=66070 TEST=ExtensionsServiceTest.ExternalUninstall Review URL: http://codereview.chromium.org/5695004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68892 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Fixed sync crash regression in ServerNotifierThreadakalin@chromium.org2010-12-103-1/+152
| | | | | | | | | | | | | Added unit tests for ServerNotifierThread. Put DISABLE_RUNNABLE_METHOD_REFCOUNT() call for MediatorThreadImpl in the right place. BUG=57898 TEST=New unittests Review URL: http://codereview.chromium.org/5722002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68891 0039d316-1c4b-4281-b951-d872f2087c98
* Nuke the about:flag for Mac Instant now that there is a real pref.maf@chromium.org2010-12-101-7/+0
| | | | | | | | Fixes bug where Instant is on even when checkbox in prefs is cleared. BUG=66089 Review URL: http://codereview.chromium.org/5745004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68890 0039d316-1c4b-4281-b951-d872f2087c98
* Verify Translate Info bar should not stay on the page after opting "Never ↵nirnimesh@chromium.org2010-12-101-0/+7
| | | | | | | | | | translate the page" TEST=47250 Review URL: http://codereview.chromium.org/5557005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68889 0039d316-1c4b-4281-b951-d872f2087c98
* Commit the data file I missed in r68886nirnimesh@chromium.org2010-12-101-0/+15
| | | | | | TBR= git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68887 0039d316-1c4b-4281-b951-d872f2087c98
* Two Testcases on verifying the content of pages.nirnimesh@chromium.org2010-12-101-0/+23
| | | | | | | | | | | | | | | | TEST=None Bug=None 1. Verify content on https page - https://www.google.com. Verify in regular, incognito window 2. Verify that chrome works with some top websites. Browse a list of urls, each time verify some key strings. This test will verify that chrome is not getting blocked by user-agent test by those websites. Review URL: http://codereview.chromium.org/5726001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68886 0039d316-1c4b-4281-b951-d872f2087c98