summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Use 'icu::' namespace explicitly throughout Chrome tree instead of relying ↵jshin@chromium.org2009-08-186-48/+46
| | | | | | | | | | | | | | | | | | | on 'using namespace icu'. This is Chrome's counterpart to the ICU header change that disables 'using namespace icu' (http://codereview.chromium.org/171010/show), which is required to avoid the name colission between Chrome's StringPiece (in base) and ICU's StringPiece. The webkit change (which is minor) will be dealt with in the webkit bugzilla. This can go in before the ICU change/upgrade without affecting anything. BUG=8198 TEST=All the targets are built without an error on all platforms. Review URL: http://codereview.chromium.org/171012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23613 0039d316-1c4b-4281-b951-d872f2087c98
* Reference count ProxyService.eroman@chromium.org2009-08-183-15/+22
| | | | | | | | | | | | | This is necessary since ProxyService is getting shared between chrome's url request contexts (off the record, media), and the current way it is being shared could result in free memory read/writes during shutdown. This is a step towards fixing http://crbug.com/15289. BUG=http://crbug.com/15289 TEST=The existing tests should continue to pass following this refactor. Review URL: http://codereview.chromium.org/165430 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23612 0039d316-1c4b-4281-b951-d872f2087c98
* more linux automation porting: SendKeyPressNotifyWhenDoneestade@chromium.org2009-08-189-92/+93
| | | | | | | | | | also change the interface for SimulateOSKeyPress()/SendKeyPress() to take a VKEY_ value (defined in base/keyboard_codes.h) rather than a VK_ value. BUG=19076 Review URL: http://codereview.chromium.org/171079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23611 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: make the passwords and exceptions dialog box default size larger.mdm@chromium.org2009-08-182-3/+5
| | | | | | | | | BUG=19433 TEST=obvious Review URL: http://codereview.chromium.org/171077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23608 0039d316-1c4b-4281-b951-d872f2087c98
* Add the UI thread to the list of ChromeThreads.paul@chromium.org2009-08-183-2/+31
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/171088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23605 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out views::Combobox::Model so that it can be used cross-platform.mattm@chromium.org2009-08-1816-69/+67
| | | | | | | | | | This removes the Combobox* source arg from the Model methods, which wasn't really used by anything. BUG=none TEST=none Review URL: http://codereview.chromium.org/165514 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23603 0039d316-1c4b-4281-b951-d872f2087c98
* Makes UMA log upload work on non-Windows platforms.cmasone@google.com2009-08-181-0/+1
| | | | | | | | | MemoryDetails::StartFetch() isn't implemented, thus it was never signalling that it was done fetching memory details. Now it does. BUG=15418 Review URL: http://codereview.chromium.org/172052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23602 0039d316-1c4b-4281-b951-d872f2087c98
* Call the new FilePath API to make sure the untrusted sandboxed process is notcevans@chromium.org2009-08-181-2/+12
| | | | | | | | | | | sending us paths with .. in them. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/171025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23597 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Update PRIMARY selection on omnibox copy-to-clipboard.derat@chromium.org2009-08-182-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | This brings us in line with Firefox's behavior. Ctrl-L highlights the URL but doesn't update the PRIMARY selection, so Ctrl-C is a common* way to get the current location into PRIMARY so you can middle-click somewhere else to paste it. * I use it and a user mentioned that they do too. :-P Tested as follows: - highlight some text on the page to make it PRIMARY - hit Ctrl-L and confirm that text on page is still PRIMARY - hit Ctrl-C and confirm that location is now PRIMARY - repeat, but this time hit the right arrow key between Ctrl-L and Ctrl-C to unhighlight the text first. the text on the page should remain the PRIMARY selection BUG=18403 TESTED=see above Review URL: http://codereview.chromium.org/164539 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23596 0039d316-1c4b-4281-b951-d872f2087c98
* GTK Theme: Draw the GTK border around the entry in GTK them mode.erg@google.com2009-08-182-13/+31
| | | | | | | | | | | Also makes the label look native. I can't get the label inside the entry, though. http://crbug.com/17962 Review URL: http://codereview.chromium.org/172069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23595 0039d316-1c4b-4281-b951-d872f2087c98
* Made the Sync UI work in the New New tab page.idana@chromium.org2009-08-177-75/+227
| | | | | | | | | | There are no significant logic changes except the addition of a link which points to the web ui. BUG=none Review URL: http://codereview.chromium.org/172007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23591 0039d316-1c4b-4281-b951-d872f2087c98
* Remove webview's dependency on webpreferences.jorlow@chromium.org2009-08-173-14/+27
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/165513 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23589 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable a failing ui test.estade@chromium.org2009-08-171-1/+2
| | | | | | | TBR=eroman git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23588 0039d316-1c4b-4281-b951-d872f2087c98
* Move interactive_ui_tests target to !mac for now.estade@chromium.org2009-08-171-125/+126
| | | | | | | | TBR=eroman Review URL: http://codereview.chromium.org/171083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23587 0039d316-1c4b-4281-b951-d872f2087c98
* Begin to port browser focus tests to linux.estade@chromium.org2009-08-172-98/+178
| | | | | | | | TEST=interactive ui tests builds and runs and BrowserFocusTest.TabInitialFocus passes Review URL: http://codereview.chromium.org/172059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23585 0039d316-1c4b-4281-b951-d872f2087c98
* cap the number of tabs in the backing store cacheerikkay@chromium.org2009-08-172-27/+50
| | | | | | | | | BUG=19353 TEST=None Review URL: http://codereview.chromium.org/165538 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23584 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning up lines longer than 80 chars under src/chrome/browser. mark@chromium.org2009-08-1731-68/+124
| | | | | | | | | | | | | | | | | | | Command: awk '{if ( length($0) > 80 ) { print FILENAME, FNR, $0 } }' *.cc *.h # recursive find . -type f \( -name '*.cc' -o -name '*.h' \) -exec awk '{if ( length($0) > 80 ) { print FILENAME, FNR, $0 } }' {} \; Patch by Pierre-Antoine LaFayette <pierre.lafayette@gmail.com> BUG=None TEST=None Code review URL: http://codereview.chromium.org/164566 Review URL: http://codereview.chromium.org/171066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23583 0039d316-1c4b-4281-b951-d872f2087c98
* Add libnss3.so to the list of files we put in lib32.thestig@chromium.org2009-08-171-9/+10
| | | | | | | | TEST=none BUG=19440 Review URL: http://codereview.chromium.org/171069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23578 0039d316-1c4b-4281-b951-d872f2087c98
* An initial pass at structure to do end-to-end extension API tests. I'll ↵erikkay@chromium.org2009-08-1714-9/+319
| | | | | | | | work on actually fleshing out some tests in the next CL. Review URL: http://codereview.chromium.org/171032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23577 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor IDMap to support safe removing of elements during iteration.phajdan.jr@chromium.org2009-08-1717-119/+276
| | | | | | | | | TEST=Covered by unit_tests and other automated tests. http://crbug.com/19202 Review URL: http://codereview.chromium.org/164518 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23572 0039d316-1c4b-4281-b951-d872f2087c98
* Changes Live Search to Bing for en_US only. A full worldwide review is in ↵pkasting@chromium.org2009-08-171-13/+13
| | | | | | | | | | | | progress and we'll pick up the other countries eventually. Added some temporary comments on the Bing entry since the way it's coexisting with the Live entries right now makes for a few slightly unusual bits. BUG=13065 TEST=Search providers should show Bing and not Live Search, setting Bing to default should result in working Suggest and search functionality. Review URL: http://codereview.chromium.org/171065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23571 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for crash bug in PluginProcessHost::OnGetCookies - it likes like this ↵robertshield@chromium.org2009-08-171-1/+7
| | | | | | | | | | | | | can be called when we don't have a URLContext from which to return cookies. Previously we crashed, this patch just logs an error and returns an empty string instead. BUG=http://crbug.com/10706 Review URL: http://codereview.chromium.org/171050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23568 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash that could happen on shutdown if the ResourceMessageFilter tried ↵jam@chromium.org2009-08-174-23/+48
| | | | | | | | | | | to get the IO thread's message loop when it was going away. Do the same acrobatics as in BufferedResourceHandler by going to the UI thread first, and doing refcounting manually. Also fix an issue I saw by inspection in BufferedResourceHandler, where Release should be called at the end of the function. BUG=19415 Review URL: http://codereview.chromium.org/171055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23563 0039d316-1c4b-4281-b951-d872f2087c98
* Add third_party/bzip2/bzip2.gyp:bzip2 to a few targets.agl@chromium.org2009-08-171-0/+2
| | | | | | | | | | These targets include from third_party/bzip2 but list it in dependencies. This means that they don't get the direct_dependents_settings and this is breaking the Ubuntu package building with use_system_bzip2. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23556 0039d316-1c4b-4281-b951-d872f2087c98
* Make Cmd+Y the command key for opening the history UI on the Macpinkerton@chromium.org2009-08-171-1/+2
| | | | | | | | | | Per discussion: http://groups.google.com/group/chromium-dev/browse_thread/thread/b4c671403265 Patch from rsesek@chromium.org BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23552 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up download item look, part 1 of many.thakis@chromium.org2009-08-173-52/+44
| | | | | | | | | BUG=18902 TEST=items look like buttons all the time, not only on hover. icon is 16x16 :-/. spacing slightly modified (not final yet). Review URL: http://codereview.chromium.org/172030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23550 0039d316-1c4b-4281-b951-d872f2087c98
* Implement drag and drop of downloads for the Mac downloads page.paul@chromium.org2009-08-1710-14/+149
| | | | | | | | | | BUG=15776 (http://crbug.com/15776) TEST=Download an item, open the download page, drag the icon of the download to the desktop. Review URL: http://codereview.chromium.org/164459 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23548 0039d316-1c4b-4281-b951-d872f2087c98
* Stop shortening the Mac lproj directories (ie-"en-US" instead of "en").thomasvl@chromium.org2009-08-173-22/+31
| | | | | | | | | | | Add a script to make a link for "en.lproj" so we always have an english in the fall back list. Run said script as a postbuild step. TEST=Chrome should now show all 40 language when you do a get info in the finder. BUG=19165 Review URL: http://codereview.chromium.org/171043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23547 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remove TODO on completed item.pfeldman@chromium.org2009-08-171-1/+0
| | | | | | | | | BUG=19335 TBR=aa Review URL: http://codereview.chromium.org/171036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23543 0039d316-1c4b-4281-b951-d872f2087c98
* Flip inverted logic that caused Breakpad to never initialize after r23509.mark@chromium.org2009-08-171-1/+1
| | | | | | | | | | | | | BUG=19204 TEST=When reporting is enabled, Breakpad should pick up browser and renderer process crashes; When reporting is enabled, renderer should not log messages like [mmdd/hhmmss:WARNING:/path/to/breakpad_mac.mm(57)] Breakpad disabled; When reporting is disabled, browser and renderer should both log these messages. Review URL: http://codereview.chromium.org/172037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23538 0039d316-1c4b-4281-b951-d872f2087c98
* skip ExpireHistoryTest.* in Purifyerikkay@chromium.org2009-08-161-0/+3
| | | | | | | | | | BUG=19467 TEST=none TBR=maruel Review URL: http://codereview.chromium.org/172036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23536 0039d316-1c4b-4281-b951-d872f2087c98
* Fix potential crash in Browser::OpenURLAtIndex.finnur@chromium.org2009-08-161-7/+8
| | | | | | | | | | | | | | | This is a bit of a Coverity nit, but if disposition SUPPRESS_OPEN is ever passed in to this function, it will crash because we try to call Focus on a new_contents pointer that is null. I verified this by hard coding the disposition as we open URLs. BUG=17101 TEST=No significant change. Review URL: http://codereview.chromium.org/155773 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23532 0039d316-1c4b-4281-b951-d872f2087c98
* Add some recent reliability crashes to known_crashes. Remove some ↵senorblanco@chromium.org2009-08-151-1/+4
| | | | | | | | | | | | consistently passing tests from test_expectations. Add some svn:ignore's for .scons files. BUG=18896,15217,18978,19428,19414 TEST=Green is good. TBR=pkasting Review URL: http://codereview.chromium.org/172022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23526 0039d316-1c4b-4281-b951-d872f2087c98
* Fix TOC formatting.kathyw@google.com2009-08-151-0/+4
| | | | | | | | TBR=rafaelw Review URL: http://codereview.chromium.org/171024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23525 0039d316-1c4b-4281-b951-d872f2087c98
* Fix startup tests with complex theme.mirandac@chromium.org2009-08-155-12/+127
| | | | | | | | | | BUG= http://crbug.com/18767 TEST= none Review URL: http://codereview.chromium.org/165478 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23524 0039d316-1c4b-4281-b951-d872f2087c98
* Make callstack for known crash more general, so it applies to the slight ↵eroman@chromium.org2009-08-151-1/+1
| | | | | | | | | | | variation that is showing up. BUG=http://crbug.com/19393 TBR=ananta Review URL: http://codereview.chromium.org/172021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23522 0039d316-1c4b-4281-b951-d872f2087c98
* Add themes link to left nav.aa@chromium.org2009-08-1516-15/+16
| | | | | | TBR=rafaelw@chromium.org,kathyw@google.com git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23521 0039d316-1c4b-4281-b951-d872f2087c98
* First swing at the docs homepage. Also, fix the copyright/licenseaa@chromium.org2009-08-1521-25/+68
| | | | | | | | footer. TBR=rafaelw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23520 0039d316-1c4b-4281-b951-d872f2087c98
* Add a suppression for crash in ResourceMessageFilter::OnGetPluginsOnFileThread.eroman@chromium.org2009-08-151-0/+3
| | | | | | | | | BUG=http://crbug.com/19415 TBR=jam Review URL: http://codereview.chromium.org/171022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23519 0039d316-1c4b-4281-b951-d872f2087c98
* Add a chromebot crash in DownloadFileManager::UpdateDownload to exceptions.eroman@chromium.org2009-08-151-0/+3
| | | | | | | | BUG=http://crbug.com/19414 TBR=jam Review URL: http://codereview.chromium.org/171021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23518 0039d316-1c4b-4281-b951-d872f2087c98
* Try what I tried in r23343 againmunjal@chromium.org2009-08-151-0/+13
| | | | | | | | | | Sync gyp stuff moved from common.gypi to chrome.gyp. TEST=none BUG=none Review URL: http://codereview.chromium.org/169018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23517 0039d316-1c4b-4281-b951-d872f2087c98
* Undo disabled toolstrip test, now that upstream bug is fixed.aa@chromium.org2009-08-151-1/+1
| | | | | | | TBR=mpcomplete@chromium.org BUG=19335 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23515 0039d316-1c4b-4281-b951-d872f2087c98
* Fix reliability bot crashes after moving plugin loading to file thread.jam@chromium.org2009-08-152-5/+33
| | | | | | | The problem was that the BufferedResourceHandler could now be destructed on the file thread, if the task that it posted on the IO thread completed before the code on the file thread returned. Solved this by doing manual refcounting. Review URL: http://codereview.chromium.org/171015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23512 0039d316-1c4b-4281-b951-d872f2087c98
* Add a known crash to chromebot exceptions list.ericroman@google.com2009-08-151-0/+4
| | | | | | | | BUG=http://crbug.com/19393 Review URL: http://codereview.chromium.org/171011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23510 0039d316-1c4b-4281-b951-d872f2087c98
* Change breakpads on the helper processes to keep our rimZ clean.mark@chromium.org2009-08-1513-96/+125
| | | | | | | | | | | | | | | | | | | | | Initialize crash reporting in helper processes such as the renderer process. Renderer crash reporting stopped working in r23006 when multiple .app bundles were introduced, because the stats collection and crash reporting preference is presently accessed via NSUserDefaults, keyed on the bundle ID. The main browser process and helper processes have distinct bundle IDs. In the new scheme, only the main browser process consults this preference, and passes it to helper processes in their command lines. BUG=19204 TEST=When reporting is enabled, Breakpad should pick up browser and renderer process crashes; When reporting is enabled, renderer should not log messages like [mmdd/hhmmss:WARNING:/path/to/breakpad_mac.mm(47)] Breakpad disabled; When reporting is disabled, browser and renderer should both log these messages. Review URL: http://codereview.chromium.org/165546 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23509 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: Change go button tooltip to be updated every time it is shown.estade@chromium.org2009-08-152-29/+51
| | | | | | | | | | | | | | This simplifies the logic and fixes a couple of bugs (and probably more): - the first time the tooltip is shown after a navigation, it was stale (showed "stop loading the page") - the first time the tooltip is shown after the text of the omnibox is changed, it was stale Also, don't hardcode "Google" as the name of the search provider. BUG=12836 Review URL: http://codereview.chromium.org/171014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23508 0039d316-1c4b-4281-b951-d872f2087c98
* Some personalization cleanup:tim@chromium.org2009-08-1532-402/+229
| | | | | | | | | | | | | | | | - Removes ProfilePersonalization (which is why the CL appears huge) - Makes Profile do the work ProfilePersonalization did for creating PSS - cloudy:stats > about:sync - Removes the cloudy:// scheme and uses chrome:// for resources. (Note SyncResourcesSource is a straight copy of CloudyResourceSource). - Moves prefs and switches to pref_names and chrome_switches. BUG=none TEST=ProfileSyncServiceTest, LiveBookmarkSyncTests, SyncSetupWizardTest Review URL: http://codereview.chromium.org/164544 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23505 0039d316-1c4b-4281-b951-d872f2087c98
* Touch PSS as an experiment, to see what the builder recompiles.nick@chromium.org2009-08-151-1/+1
| | | | | | | | No-op code change. Review URL: http://codereview.chromium.org/172016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23504 0039d316-1c4b-4281-b951-d872f2087c98
* Import passwords from Firefox 3.1 and above.kuchhal@chromium.org2009-08-1514-55/+201
| | | | | | | | BUG=9103 Review URL: http://codereview.chromium.org/165352 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23503 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure we don't load plugins on the IO thread.jam@chromium.org2009-08-1514-166/+210
| | | | | | | | | | I had to move the locks from PluginService to PluginList, so that a lock (which can block other threads) isn't held while loading the plugins. BUG=17938 TEST=added asserts which crash if plugins loaded on IO thread, current UI tests exercise them Review URL: http://codereview.chromium.org/164305 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23501 0039d316-1c4b-4281-b951-d872f2087c98