summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename ChromeThread to BrowserThread Part19:tfarina@chromium.org2010-10-1265-65/+65
| | | | | | | | | | | - Include browser_thread.h instead of chrome_thread.h in more 65 files. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3717003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62226 0039d316-1c4b-4281-b951-d872f2087c98
* Certificate Manager strings addition & cleanup.mattm@chromium.org2010-10-121-26/+77
| | | | | | | | | | | | | | Add strings for CA cert import, server cert import, server trust editing. Standandize some terms "Certification Authority" vs "Certificate Authority", "Code Signing" vs "Object Signing". BUG=19991 TEST=none Review URL: http://codereview.chromium.org/3689003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62225 0039d316-1c4b-4281-b951-d872f2087c98
* Roll ppapijam@chromium.org2010-10-121-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62224 0039d316-1c4b-4281-b951-d872f2087c98
* Added the service process pid to the shared memory data. This will be used ↵sanjeevr@chromium.org2010-10-125-46/+96
| | | | | | | | | | | for tests. Also cleaned up some of the method names in service_process_utils.cc to make them clearer. BUG=None. TEST=Browser tests. Review URL: http://codereview.chromium.org/3727002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62223 0039d316-1c4b-4281-b951-d872f2087c98
* [Macs] Adds a RenderWidgetHostView method to tell the view to take focus ↵rohitrao@chromium.org2010-10-125-1/+41
| | | | | | | | | | | | only on a mouse down event. This will allow us to click on instant results without dismissing the omnibox popup. BUG=56385 TEST=No visible impact, yet. TEST=Should still be able to tab from the omnibox into webpages. TEST=Clicking on a webpage should transfer focus to the page. Review URL: http://codereview.chromium.org/3535015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62222 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Initial Instant implementation.rohitrao@chromium.org2010-10-129-35/+115
| | | | | | | | | | | | | | | | This is a very rough cut. Many things are still unfinished and will be fixed in future CLs: - Clicking on instant results clears the results. - Suggestions do not work yet. - The omnibox popup overlaps with instant results. - HTTP auth dialogs cause crashes. BUG=56385 TEST=No visible impact when --enable-match-preview is not set on the command line. TEST=Instant results should appear when typing in the omnibox. TEST=Instant results should disappear when clicking outside the browser window or clicking on devtools or the sidebar. Review URL: http://codereview.chromium.org/3624001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62221 0039d316-1c4b-4281-b951-d872f2087c98
* Roll ppapijam@chromium.org2010-10-121-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62220 0039d316-1c4b-4281-b951-d872f2087c98
* Fix buildjam@chromium.org2010-10-121-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62219 0039d316-1c4b-4281-b951-d872f2087c98
* Remove GetSelectedText from Instance interface.jam@chromium.org2010-10-123-16/+34
| | | | | | | BUG=57492 Review URL: http://codereview.chromium.org/3673005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62218 0039d316-1c4b-4281-b951-d872f2087c98
* Add private pepper API to keep the throbber spinning while PDFs are loading.jam@chromium.org2010-10-125-1/+41
| | | | | | | BUG=58795 Review URL: http://codereview.chromium.org/3685003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62217 0039d316-1c4b-4281-b951-d872f2087c98
* New string for sync dialog.mirandac@chromium.org2010-10-121-0/+8
| | | | | | | | BUG=58326 TEST=none Review URL: http://codereview.chromium.org/3729002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62216 0039d316-1c4b-4281-b951-d872f2087c98
* BackgroundModeManager is now responsible for KeepAlive for --no-startup-windowatwilson@chromium.org2010-10-113-12/+46
| | | | | | | | | | | | | Updated BackgroundModeManager to keep the browser process alive until extensions finish loading. This fixes a race condition with the previous implementation of --no-startup-window which would let chrome exit if the message loop was re-entered before background apps were loaded. BUG=58083 TEST=run with --no-startup-window, make sure chrome starts Review URL: http://codereview.chromium.org/3664001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62215 0039d316-1c4b-4281-b951-d872f2087c98
* Instant pref strings.sky@chromium.org2010-10-111-2/+8
| | | | | | | | | | BUG=58772 TEST=none TBR=ben@chromium.org Review URL: http://codereview.chromium.org/3670003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62214 0039d316-1c4b-4281-b951-d872f2087c98
* Remove executable bit from files.levin@chromium.org2010-10-114-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62212 0039d316-1c4b-4281-b951-d872f2087c98
* Add cr.commandLine object, use it to disable network changes when bwsirginda@chromium.org2010-10-116-1/+121
| | | | | | Review URL: http://codereview.chromium.org/3412014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62211 0039d316-1c4b-4281-b951-d872f2087c98
* Fix permissions.levin@chromium.org2010-10-112-0/+0
| | | | | | | | | BUG=None TEST=check deps Review URL: http://codereview.chromium.org/3647005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62210 0039d316-1c4b-4281-b951-d872f2087c98
* net: detect and error out with ESET HTTPS interception + False Startagl@chromium.org2010-10-115-17/+122
| | | | | | | | | | | | | | ESET products (anti-virus) and NetNanny can intercept HTTPS connections. However, they're False Start intolerant. Rather than have connections hang forever, we detect them by the leaf certificate's issuer common name and give a helpful error message. BUG=58152 TEST=Install ESET anti-virus. Configure to intercept HTTPS connections. Goto https://mail.google.com. Confirm that a helpful error page appears. Review URL: http://codereview.chromium.org/3723001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62209 0039d316-1c4b-4281-b951-d872f2087c98
* Improve the robustness of setting the default search provider from script.levin@chromium.org2010-10-113-33/+196
| | | | | | | | | | | | 1. Make the template url model load before attempting to set it up. 2. Try extra keywords for this case as well so that the user isn't left clicking something and wondering why no UI appears (which would happen without this change). BUG=38475 TEST=unit_tests.exe --gtest_filter=TemplateURLFetcherTest* Review URL: http://codereview.chromium.org/3660004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62208 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor TemplateURLFetcher to make it more testable and add more tests for it.levin@chromium.org2010-10-118-110/+364
| | | | | | | | | | | I also moved some basic logic from tab_contents to TemplateURLFetcher to make it easier to unit test it. BUG=38475 TEST=unit_tests.exe --gtest_filter=TemplateURLFetcherTest* Review URL: http://codereview.chromium.org/3710001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62207 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Part18:tfarina@chromium.org2010-10-1147-47/+47
| | | | | | | | | | | | - Include browser_thread.h instead of chrome_thread.h in files under dom_ui and download. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3700002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62206 0039d316-1c4b-4281-b951-d872f2087c98
* Make writing to stdout and stderr work in Chrome processes when inheriteddarin@chromium.org2010-10-113-1/+30
| | | | | | | | | | | | | | handles are available. Don't create a console, just attach to any existing console. R=cpu BUG=none TEST=none Review URL: http://codereview.chromium.org/3574008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62205 0039d316-1c4b-4281-b951-d872f2087c98
* Wire up InstallSearchProvider to allow setting the default search provider.levin@chromium.org2010-10-1118-78/+304
| | | | | | | | | | | Depends on http://codereview.chromium.org/3673002/show. BUG=38475 TEST=Next patch changes the callback mechanism TemplateURLFetcher to make it much more testable and adds tests. (I kept it out of this one to make this more focused.) Review URL: http://codereview.chromium.org/3652003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62204 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: call SetProcTitle() in GpuMain() to make the process name correct.mdm@chromium.org2010-10-112-1/+10
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3645003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62203 0039d316-1c4b-4281-b951-d872f2087c98
* Fix: Delete on windows does not remove deleted CC profile until the options ↵georgey@chromium.org2010-10-112-118/+64
| | | | | | | | | | | are re-opened and address profile created identical to existing address profile should not be saved BUG=56308,49708 TEST=in the bugs Review URL: http://codereview.chromium.org/3611015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62202 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 62193 - Final phase of the URL History Quick autocomplete provider ↵mrossetti@chromium.org2010-10-1122-680/+179
| | | | | | | | | | | | | | integration. This phase hooks up the InMemoryURLIndex to the HistoryQuickProvider which is itself made active during the autocomplete process. A small amount of refactoring was done to liberate some common functionality from the history_url_provider. BUG=None TEST=None Review URL: http://codereview.chromium.org/3375002 TBR=mrossetti@chromium.org Review URL: http://codereview.chromium.org/3660007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62201 0039d316-1c4b-4281-b951-d872f2087c98
* Make drawing consistent with webkit wrt default colors and effectsdavemoore@chromium.org2010-10-111-4/+4
| | | | | | | | | | | | We weren't drawing the new chromium scrollbars exactly the same as webkit had, causing layout test failures. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/3697003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62200 0039d316-1c4b-4281-b951-d872f2087c98
* Add the Windows dialog for setting default search provider from js.levin@chromium.org2010-10-1114-4/+245
| | | | | | | | | | | Document with the dialog: http://sites.google.com/a/chromium.org/dev/developers/design-documents/chromium-search-provider-js-support BUG=38475 TEST=Used a custom html page which calls window.external.AddSearchProvider(url, true). Review URL: http://codereview.chromium.org/3673002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62199 0039d316-1c4b-4281-b951-d872f2087c98
* Instrument safe-browsing to track file-format conversion.shess@chromium.org2010-10-112-4/+64
| | | | | | | | | | | Also track corruption separately for old and new file formats. BUG=58552 TEST=none Review URL: http://codereview.chromium.org/3632004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62198 0039d316-1c4b-4281-b951-d872f2087c98
* Adds confirm dialog when enabling instant.sky@chromium.org2010-10-1115-9/+265
| | | | | | | | | BUG=58567 TEST=none Review URL: http://codereview.chromium.org/3710002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62197 0039d316-1c4b-4281-b951-d872f2087c98
* Cloud Print Proxy UI fixes.scottbyer@chromium.org2010-10-111-1/+20
| | | | | | | | | | | | | | | | | When the authentication dialog is active, we have to re-layout because the in-process text put on the button might be larger. When setting up the desciption for enabled or disabled state, get the containing scroll view to do the layout, because the height of the description may have changed. Be nice to the user and make sure the right things are visible again after that layout. BUG=none TEST=use a really long username to enable the cloud print proxy such that the description text wraps to 3 lines. The UI should stay all visible with nothing clipped. Review URL: http://codereview.chromium.org/3701003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62196 0039d316-1c4b-4281-b951-d872f2087c98
* Create a new Navigate() function to (eventually) supercede the existing maze ↵ben@chromium.org2010-10-115-0/+823
| | | | | | | | | | | | | | | | | | | | of methods that add and navigate tabs in Browser. This function is intended to replace at least the following: Browser::OpenURLAtIndex Browser::AddTabWithURL Browser::AddNewContents ... as well as the myriad other functions that call into these. Right now it's just a standalone thing with a set of unit tests. A TBD for me is to support singleton tabs. I'm going to work on that next. BUG=none TEST=unit tests Review URL: http://codereview.chromium.org/3591011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62195 0039d316-1c4b-4281-b951-d872f2087c98
* [GTK] secure infobar polishestade@chromium.org2010-10-112-4/+19
| | | | | | | | | | | | | - explicitly invalidate the tab contents (makes appearance of drop shadow less delayed/janky) - correct color of closing infobar arrow - correct color of infobar arrow after the top infobar was closed and a lower one of a different color took its place BUG=48996 TEST=manual (see above) Review URL: http://codereview.chromium.org/3656001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62194 0039d316-1c4b-4281-b951-d872f2087c98
* Final phase of the URL History Quick autocomplete provider integration. ↵mrossetti@chromium.org2010-10-1122-179/+680
| | | | | | | | | | | This phase hooks up the InMemoryURLIndex to the HistoryQuickProvider which is itself made active during the autocomplete process. A small amount of refactoring was done to liberate some common functionality from the history_url_provider. BUG=None TEST=None Review URL: http://codereview.chromium.org/3375002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62193 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure we close the file_handle when we create (but not open) a new filekinuko@chromium.org2010-10-113-3/+31
| | | | | | | | | | | | 1. Add FileUtilProxy::Create that does not leave a file_handle opened. 2. Update the file_util_operation to use FileUtilProxy::Create instead of FileUtilProxy::CreateOrOpen so that no other tasks get queued in before we close the handle. BUG=58424,58473 TEST=fast/filesystem/ Review URL: http://codereview.chromium.org/3717001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62192 0039d316-1c4b-4281-b951-d872f2087c98
* sync: second factor auth supporttim@chromium.org2010-10-1112-30/+220
| | | | | | | | | BUG=58712 TEST=Sign in to sync with two-step verification account. SigninManagerTest. Review URL: http://codereview.chromium.org/3702002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62191 0039d316-1c4b-4281-b951-d872f2087c98
* Load COMPONENT extensions even when extensions are disabledjstritar@chromium.org2010-10-112-0/+4
| | | | | | | | | | | This fixes issue 55475 (the Bookmarks manager being blocked with --disable-extensions) BUG=55475 TEST=ExtensionsServiceTest Review URL: http://codereview.chromium.org/3711002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62190 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Update Clear Browsing dialog for proper functioning from incognito ↵avi@chromium.org2010-10-113-43/+108
| | | | | | | | | | | | | | | windows, only hide server data delete if switch is not set. Mirror to r62147. nib changes: - for the five "clear server data" items, hidden bound to !owner.isSyncVisible - for the "clear server data" button, enabled bound to owner.isSyncEnabled, enabled2 bound to !isClearing BUG=none TEST=none Review URL: http://codereview.chromium.org/3674005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62189 0039d316-1c4b-4281-b951-d872f2087c98
* Add alternate prefix patterns for known crashesisherman@chromium.org2010-10-111-0/+6
| | | | | | | | | | BUG=56749,56750,57041,57185 TEST=none TBR=patrick Review URL: http://codereview.chromium.org/3667004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62188 0039d316-1c4b-4281-b951-d872f2087c98
* sync: use ObserverList instead of EventChannel (deprecated) for syncer events.tim@chromium.org2010-10-1132-613/+387
| | | | | | | | | | | | | | | Remove the relay_channel and syncer_event_channel in favor of having listeners live on the SyncSessionContext and be notified directly. Remove some unnecessary event types and variables. BUG=26339 TEST=sync_unit_tests Review URL: http://codereview.chromium.org/3538011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62187 0039d316-1c4b-4281-b951-d872f2087c98
* Nudge syncer when datatypes are deleted. This ensures the deletion happens ↵zea@chromium.org2010-10-111-10/+20
| | | | | | | | | | | in a timely manner, avoiding a subtle bug wherein enabling datatypes does not cause a resync. BUG=56416 TEST=Disable all but one datatype, wait until last sync time is not "just now", re-enable. A resync should happen. Review URL: http://codereview.chromium.org/3609004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62186 0039d316-1c4b-4281-b951-d872f2087c98
* [gtk] Add an extra repaint that we need in certain border cases.estade@chromium.org2010-10-113-8/+21
| | | | | | | | | | | This is triggered by the secure infobars on the new tab page when toggling the floating bookmark bar. The reason it comes up is because it applies in the CairoShowRect() case, but not in the XShowRect() case. BUG=none TEST=manual; perf bots (after landing) Review URL: http://codereview.chromium.org/3644001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62185 0039d316-1c4b-4281-b951-d872f2087c98
* Sync up roster height to chat panel max height.seh@chromium.org2010-10-111-2/+2
| | | | | | | | BUG=none TEST=Open Chat Manager and a chat panel. Type in the panel until it reaches its max height. Roster and panel ht should match Review URL: http://codereview.chromium.org/3721001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62184 0039d316-1c4b-4281-b951-d872f2087c98
* Roll ppapi 280:282.thakis@chromium.org2010-10-111-1/+1
| | | | | | | | | | ppapi r282 fixes a clang warning. This should get the clang/mac bot green. BUG=None TEST=None TBR=brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62183 0039d316-1c4b-4281-b951-d872f2087c98
* [GTK] make infobar arrow shading less scuzzy (particularly on long arrow)estade@chromium.org2010-10-111-3/+20
| | | | | | | | | | | try to make the shadow follow the arrow's contour better with some fuzzy math. BUG=48996 TEST=visual Review URL: http://codereview.chromium.org/3674003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62182 0039d316-1c4b-4281-b951-d872f2087c98
* Initial work on worker support for FileWriter.ericu@google.com2010-10-114-22/+30
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3650002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62181 0039d316-1c4b-4281-b951-d872f2087c98
* Adds better error text for case where there is no network connection ↵mmenke@chromium.org2010-10-112-10/+102
| | | | | | | | | | | | | | (ERR_INTERNET_DISCONNECTED) on Windows and Mac. BUG=56457 TEST=manual Review URL: http://codereview.chromium.org/3714001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62180 0039d316-1c4b-4281-b951-d872f2087c98
* Webkit roll 69433:69487ajwong@chromium.org2010-10-112-16/+1
| | | | | | | | | | BUG=none TEST=green bots TBR=ajwong@chromium.org Review URL: http://codereview.chromium.org/3669004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62179 0039d316-1c4b-4281-b951-d872f2087c98
* Fix 58162: Mixed Content False Positive for intranet hostname certificatesfinnur@chromium.org2010-10-116-22/+38
| | | | | | | | | | | Previously, we lumped the intranet host warning in with mixed content warning. This calls it out as a separate warning. BUG=58162 TEST=None Review URL: http://codereview.chromium.org/3536019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62178 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent implicit animation when resizing Core Animation pluginsstuartmorgan@chromium.org2010-10-111-0/+5
| | | | | | | | | BUG=None TEST=Open a page with an accelerated plugin (e.g., Unity). The pugin should not visibily animated to full size from the lower-left corner. Review URL: http://codereview.chromium.org/3649003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62177 0039d316-1c4b-4281-b951-d872f2087c98
* In about:gpu, list only 2 levels of the tree.apatrick@chromium.org2010-10-112-21/+25
| | | | | | | | | | | | | This is where the interesting is. The rest is something about video deinterlacing. It also speeds it up a bit. Also formatted vendor and device IDs as hex since that is how they are usually presented. TEST=try BUG=none Review URL: http://codereview.chromium.org/3652001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62176 0039d316-1c4b-4281-b951-d872f2087c98