summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup: Remove unneeded browser_thread.h usage.thestig@chromium.org2010-12-1354-71/+46
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5676004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69037 0039d316-1c4b-4281-b951-d872f2087c98
* touchui: Fix painting issues caused by the X message pump.sadrul@chromium.org2010-12-132-5/+11
| | | | | | | | | | | | | | | | WidgetGtk has two GtkWidgets, |widget_|, and |window_contents_| inside it. |window_contents_| is the widget that receives the GTK+ expose events and shows up on top of |widget_|. However, RenderWidgetHostViewViews paints on |widget_|s window, because |widget_| is considered as the NativeView. So change native_view() to return |window_contents_| instead of |widget_| so that the correct canvas is used for painting. BUG=None TEST=Webpages show up correctly with the X message pump. Review URL: http://codereview.chromium.org/5776002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69036 0039d316-1c4b-4281-b951-d872f2087c98
* Add 'Delete' key to cookies tree in settings UI.xiyuan@chromium.org2010-12-131-0/+18
| | | | | | | | | BUG=chromium:65320 TEST=Verify fix for chromium:65320 Review URL: http://codereview.chromium.org/5745001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69035 0039d316-1c4b-4281-b951-d872f2087c98
* Add TEXT_PLAIN as a drag and drop target. And accept TEXT_PLAIN as a target ↵pinkerton@chromium.org2010-12-136-29/+99
| | | | | | | | | | | | | at CompleteDrop(). In the function classify the word and make the URL.(Linux) If the drop source is not URL, use the source as plain text and pass it to tab_strip_controller and classify it. To pass if the source is URL or plain text, use is_plain_text flag. (Mac) patch from takano.naoki@gmail.com BUG=42797 TEST= 1. Open any site which has text. (news.google.com) 2. Select 2-3 words of text and drag n drop selected text to tabstrip. 3. Chrome opens a new tab with search results (using selected search engine in preferences). git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69034 0039d316-1c4b-4281-b951-d872f2087c98
* DOMUI Settings: UTH: Fix up the Privacy checkboxes text.kmadhusu@chromium.org2010-12-133-10/+8
| | | | | | | | | BUG=63834 TEST=none Review URL: http://codereview.chromium.org/5797001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69033 0039d316-1c4b-4281-b951-d872f2087c98
* [gtk] tabcontents fade-out for instant.estade@chromium.org2010-12-1313-40/+135
| | | | | | | | | BUG=58937 TEST=manual Review URL: http://codereview.chromium.org/5790002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69032 0039d316-1c4b-4281-b951-d872f2087c98
* Make DatabaseDispatcherHost be a message filter so that ↵jam@chromium.org2010-12-1318-605/+464
| | | | | | | | ResourceMessageFilter doesn't have to know about it. Review URL: http://codereview.chromium.org/5757002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69031 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify the malware warning ui. Remove the 'more info'/'less info' button, ↵lzheng@chromium.org2010-12-133-138/+35
| | | | | | | | | | | | | | | instead directly show the content above the 'go back' button. sample screenshot: https://docs0.google.com/document/edit?id=1Kk2wxsj8JjIjlC1WUPamDlEPWZH-iWUoECMRdyQ9t_4&hl=en&authkey=CJKfrM0D# Patch from Ke Wang <kewang@google.com> BUG=60813 TEST=unit_tests. To see the UI change, start the browser and try load some sites in malware blacklist. Review URL: http://codereview.chromium.org/5623007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69028 0039d316-1c4b-4281-b951-d872f2087c98
* Repoint the ESET error Learn More link.agl@chromium.org2010-12-131-1/+1
| | | | | | | | | | | | | The ESET error occurs when Chrome's HTTPS connections are intercepted by ESET. However, the Learn More link on the error page points to an HTTP URL which redirects to an HTTPS URL. Since the user cannot view HTTPS pages, that's unhelpful. This change points the link to a page on ESET's knowledge base instead. http://codereview.chromium.org/5705003/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69023 0039d316-1c4b-4281-b951-d872f2087c98
* Error out on user scripts that are not UTF8 encoded.skerner@chromium.org2010-12-133-0/+21
| | | | | | | | | BUG=64456 TEST=ExtensionFromUserScript.NotUTF8 Review URL: http://codereview.chromium.org/5767001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69022 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak in the malware_details unittest.panayiotis@google.com2010-12-131-3/+6
| | | | | | | | | BUG=66277 TEST=unit_tests with valgrind Review URL: http://codereview.chromium.org/5707004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69021 0039d316-1c4b-4281-b951-d872f2087c98
* Disable flaky testIncognitoDBPersistentAcrossTabsnirnimesh@chromium.org2010-12-131-0/+2
| | | | | | | | BUG=66714 Review URL: http://codereview.chromium.org/5693004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69020 0039d316-1c4b-4281-b951-d872f2087c98
* Spdy Histogram cleanup:mbelshe@chromium.org2010-12-131-9/+9
| | | | | | | | | | | | * Remove the unnecessary "SpdyTrial" from a bunch of histogram names * Rework the names of the "SpdyCwnd" trial to use "_" instead of ".spdy." BUG=none TEST=none Review URL: http://codereview.chromium.org/5738006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69019 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Instant suggest issues in Linux Views port.suzhe@google.com2010-12-134-46/+103
| | | | | | | | | | | | | | | | | | This CL changes Linux Views port to use the same code of Linux Gtk port for displaying Instant suggest rather than using the code of Windows port. The reason is: GtkTextView used by AutocompleteEditViewGtk can't work with SuggestedTextView very well. This CL also fixes some issues in AutocompleteEditViewGtk related to RTL text. BUG=66167 BUG=66151 TEST=See issue report. Review URL: http://codereview.chromium.org/5698006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69017 0039d316-1c4b-4281-b951-d872f2087c98
* [cros] Fetch cookies after online authentication is successful.nkostylev@chromium.org2010-12-137-28/+98
| | | | | | | | | BUG=chromium-os:9814 TEST=Manual. Checked that web properties load w/o auth request for new user/existing user/existing with cookies cleared/existing with changed password. Review URL: http://codereview.chromium.org/5641001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69016 0039d316-1c4b-4281-b951-d872f2087c98
* touchui: Fix showing sad tabs.sadrul@chromium.org2010-12-132-4/+10
| | | | | | | | | BUG=sad tab (e.g. about:crash) does not work. TEST=about:crash works Review URL: http://codereview.chromium.org/5698007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69015 0039d316-1c4b-4281-b951-d872f2087c98
* Update the links to the store to point at the new URL.aa@chromium.org2010-12-135-3/+5
| | | | | | | | | BUG=65385 TEST=hover over web store links in launcher -- should point to chrome.google.com/webstore, not /extensions. Links should still work. Click linked headings in chrome://extensions/, should go to extension detail page. Review URL: http://codereview.chromium.org/5700006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69011 0039d316-1c4b-4281-b951-d872f2087c98
* 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