summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Fix linux / mac build.paulg@google.com2009-01-081-2/+2
| | | | | | Review URL: http://codereview.chromium.org/17256 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7711 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore GetHash results for lists that we don't support.paulg@google.com2009-01-086-41/+85
| | | | | | | BUG=5597 (http://crbug.com/5597) Review URL: http://codereview.chromium.org/16595 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7710 0039d316-1c4b-4281-b951-d872f2087c98
* Adds some more cleanup and test coverage to the Accessibility tests.klink@chromium.org2009-01-085-392/+354
| | | | | | Review URL: http://codereview.chromium.org/15097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7708 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt at fixing bug 5800.jcampan@chromium.org2009-01-085-8/+115
| | | | | | | | | | When pressing back on an interstitial with a cross site navigation pending, we should cancel the pending without running the unload handler on the previous page. BUG=5800 TEST=See bug. Review URL: http://codereview.chromium.org/17061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7703 0039d316-1c4b-4281-b951-d872f2087c98
* Clear the refferer registry entry upon succesful pingcpu@google.com2009-01-073-6/+25
| | | | | | | | | | | - Is not needed after that point BUG = 1517308 Review URL: http://codereview.chromium.org/16552 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7689 0039d316-1c4b-4281-b951-d872f2087c98
* Move user script directory into profile.aa@chromium.org2009-01-076-15/+6
| | | | | | Review URL: http://codereview.chromium.org/17242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7688 0039d316-1c4b-4281-b951-d872f2087c98
* Don't DCHECK if a watched directory doesn't exist.aa@chromium.org2009-01-071-5/+4
| | | | | | | | | The caller can't easily check whether a directory exists before calling this functions. Also modify GreasemonkeyMaster to allow this condition. Review URL: http://codereview.chromium.org/16580 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7687 0039d316-1c4b-4281-b951-d872f2087c98
* * Fix error messaging for http server.kuchhal@chromium.org2009-01-071-1/+1
| | | | | | | | * Fix year for copyright notice. Review URL: http://codereview.chromium.org/16581 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7685 0039d316-1c4b-4281-b951-d872f2087c98
* Add a UI test to make sure we sanitize the filenametc@google.com2009-01-079-15/+121
| | | | | | | | | | | of files saved using the "Save page as..." menu item. This involves adding a new automation provider method for disabling the dialog prompting for a filename. Review URL: http://codereview.chromium.org/16555 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7683 0039d316-1c4b-4281-b951-d872f2087c98
* adding more grit love to other targets, updating scons files for things that ↵pinkerton@google.com2009-01-074-35/+170
| | | | | | | | work on mac. moving the shell script phase to a standalone target to share it between targets. adding new unit test files. Review URL: http://codereview.chromium.org/16585 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7675 0039d316-1c4b-4281-b951-d872f2087c98
* Integrate grit into mac build. Add more files that are building in scons to ↵pinkerton@google.com2009-01-074-57/+233
| | | | | | | | the xcode project Review URL: http://codereview.chromium.org/17237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7671 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in patch for Brian Duff, reviewed by pkasting ↵finnur@google.com2009-01-072-10/+11
| | | | | | | | | | | | | (http://codereview.chromium.org/16511) If the URL text has no scheme, and starts with ftp., then default the scheme to ftp: instead of http:. Fixes issue 565. BUG=565 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7664 0039d316-1c4b-4281-b951-d872f2087c98
* Change greasemonkey flag to enable-user-scripts.aa@chromium.org2009-01-071-1/+1
| | | | | | | | Later will change class names to be UserScript instead of Greasemonkey. Review URL: http://codereview.chromium.org/16566 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7649 0039d316-1c4b-4281-b951-d872f2087c98
* In some cases (related to window.open() with no contents, see bug for more ↵jcampan@chromium.org2009-01-071-0/+12
| | | | | | | | | | | | details) we may get notified of SSL error or mixed-contents without a NavigationEntry. This CL ensures we don't crash in that case. BUG=3845 TEST=See bug. Review URL: http://codereview.chromium.org/17218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7644 0039d316-1c4b-4281-b951-d872f2087c98
* Convert download manager to FilePath.estade@chromium.org2009-01-0618-227/+244
| | | | | | | | (Fixed up version of issue 17032. Now passes all unit tests.) Review URL: http://codereview.chromium.org/16533 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7630 0039d316-1c4b-4281-b951-d872f2087c98
* Upgrade our sqlite to 3.6.1, with the local changes made by Gears. I'mmpcomplete@google.com2009-01-062-2/+2
| | | | | | | | | | | | | | | | checking in the full sqlite tree to make upstream merges easier. This means we'll have generated sources split out from the originals. One important change this makes is that "BEGIN" now defaults to "BEGIN IMMEDIATE" rather than "BEGIN DEFERRED". This doesn't affect us because we don't use unqualified BEGIN statements. The full CL is too big for Rietveld. I'm splitting it into 2. This one is reviewable. The other CL is just a fresh drop of: //depot/googleclient/gears/opensource/third_party/sqlite_google Review URL: http://codereview.chromium.org/15067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7623 0039d316-1c4b-4281-b951-d872f2087c98
* Add histograms to track the size of SafeBrowsing Updates.paulg@google.com2009-01-062-4/+20
| | | | | | | | | | | We will now measure: - the number of chunk URLs in an update - the size of each chunk URL - the total size of an update Review URL: http://codereview.chromium.org/17213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7622 0039d316-1c4b-4281-b951-d872f2087c98
* * Create the registry key needed for "dr" value if it doesn't exist.kuchhal@chromium.org2009-01-061-2/+3
| | | | | | | | BUG=1566745 Review URL: http://codereview.chromium.org/16553 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7621 0039d316-1c4b-4281-b951-d872f2087c98
* Enables restoring of keyboard focus to the the toolbar button that last had ↵klink@chromium.org2009-01-063-15/+30
| | | | | | | | | | focus, before focus was lost (e.g to a dialog, another window, etc). Setting focus using the toolbar focus keyboard shortcut will still reset focus to the first enabled, visible button (starting at the Back button). BUG=5750 Review URL: http://codereview.chromium.org/15098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7620 0039d316-1c4b-4281-b951-d872f2087c98
* Change "dll" to "plugin" where appropriate.avi@google.com2009-01-0613-110/+113
| | | | | | Review URL: http://codereview.chromium.org/16543 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7617 0039d316-1c4b-4281-b951-d872f2087c98
* Applying patch for Mohamed Mansour (reviewed by pkasting): ↵finnur@google.com2009-01-066-16/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://codereview.chromium.org/16246 CRASH at Tab::OnMouseReleased Some strange thing is happening that it crashes for view::HitTest, it can never ENTER that function. It seems that the tab is being destroyed and as pkasting stated on IRC: "Part of this may be because our retarded Views designs can't distinguish which buttons are being held versus clicked in these sorts of cases (I filed a bug on this about a year and a half ago, internally)" When a tab has ended dragging (EndDrag), if something was being dragged and you end it, it actually cleans the TabDelegate and assigns its value to 'freed memory' which is 0xfeeefeee. Therefore it crashes while dragging, because the object no longer exists. I couldn't do if (delegate_) cause that always returns true since delegate has 0xfeeefeee. So I just changed the return type from void to bool for underlying EndDragImpl and pumped it to tab.cc. That way, we can know if a tab is destroyed or not. BUG=5819 (http://crbug.com/5819) TEST=Dragging tabs around, closing while dragging, and closing tabs. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7615 0039d316-1c4b-4281-b951-d872f2087c98
* Butcher some files to make ui_tests run 0 tests on Linux.evanm@google.com2009-01-064-30/+137
| | | | | | | Review URL: http://codereview.chromium.org/16545 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7613 0039d316-1c4b-4281-b951-d872f2087c98
* Bump for 157 dev cyclemal@chromium.org2009-01-061-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7610 0039d316-1c4b-4281-b951-d872f2087c98
* Make browser_uitest more Purify friendly.paulg@google.com2009-01-061-13/+16
| | | | | | Review URL: http://codereview.chromium.org/16544 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7605 0039d316-1c4b-4281-b951-d872f2087c98
* clean up safe browsing pref registration by following thetc@google.com2009-01-063-5/+5
| | | | | | | | naming convention of other Local State register prefs methods. Review URL: http://codereview.chromium.org/17207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7600 0039d316-1c4b-4281-b951-d872f2087c98
* (Correctly) acquire real-time UMA stats for aggregationjar@google.com2009-01-064-20/+46
| | | | | | | | | | | | | | | Properly nest XML so existing back-end code can grok the data. Include plugin crash stats as well. Correct bug where default time for interlog transmission is set (in case the server does not provide a value). bug=1564631 r=evanm,hunar Review URL: http://codereview.chromium.org/17068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7599 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a leak in the RenderView tests. We were responsible for deleting the ↵brettw@chromium.org2009-01-062-6/+7
| | | | | | | | | reply deserializer for sync messages, which wasn't happening for all cases. BUG=6037 Review URL: http://codereview.chromium.org/17206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7597 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a dummy ui_tests executable to chrome.xcodeproj. This doesn't currentlymark@chromium.org2009-01-061-1/+269
| | | | | | | run any tests. Review URL: http://codereview.chromium.org/17205 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7596 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent files saved via the "Save as..." page menu item fromtc@google.com2009-01-066-13/+101
| | | | | | | | | | | | | | | | | being named maliciously. This is mainly copying some code from the download manager because it seems like a pretty large task to refactor the save-as code right now. Here's a demo page: http://ponderer.org/tests/title-with-.exe.html Clean up the naming convention of register prefs for the safe browsing service to make it more like the other register methods. Review URL: http://codereview.chromium.org/16523 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7595 0039d316-1c4b-4281-b951-d872f2087c98
* Build file change for enabling dynamic font support. This is a follow-up to ↵jungshik@google.com2009-01-061-0/+1
| | | | | | | | | | | | | the third_party/Webkit change ( http://codereview.chromium.org/16494). Update Webkit to 7592 in DEPS BUG=1303 Review URL: http://codereview.chromium.org/17036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7594 0039d316-1c4b-4281-b951-d872f2087c98
* Part 2 of 'Add common words for each language, and remove forbidden words'sidchat@google.com2009-01-0629-476293/+515964
| | | | | | | | | Added .dic_delta files, used for adding new words to the spell check dictionaries, for 20 languages, to the trunk. In addition, forbidden words have been appended to the existing dictionary files for 4 languages. Issue=2837 Review URL: http://codereview.chromium.org/17063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7593 0039d316-1c4b-4281-b951-d872f2087c98
* * Check expand.exe exit code.kuchhal@chromium.org2009-01-061-1/+3
| | | | | | Review URL: http://codereview.chromium.org/17058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7591 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on GetVisibleVisitsInRange test on POSIX.jeremy@chromium.org2009-01-062-5/+1
| | | | | | Review URL: http://codereview.chromium.org/16524 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7590 0039d316-1c4b-4281-b951-d872f2087c98
* This is a redo of my previous notification registrar change. I saw a crash ↵brettw@chromium.org2009-01-068-89/+64
| | | | | | | | | in handling NAV_ENTRY_COMMITTED, so am changing all consumers of this to use the registrar so that it is impossible to forget to unregister. The difference is that in tab_contents I moved the removal code in RemoveInfoBar to only remove the listener if an infobar was actually removed. Review URL: http://codereview.chromium.org/16534 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7589 0039d316-1c4b-4281-b951-d872f2087c98
* Move plugins to FilePaths, some cleanupavi@google.com2009-01-0635-139/+178
| | | | | | Review URL: http://codereview.chromium.org/16456 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7588 0039d316-1c4b-4281-b951-d872f2087c98
* Add third_party/icu38/public/i18n to release-mode HEADER_SEARCH_PATHS inmark@chromium.org2009-01-061-0/+1
| | | | | | | chrome.xcodeproj. Fixes r7570/r7575 build break. Review URL: http://codereview.chromium.org/17204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7587 0039d316-1c4b-4281-b951-d872f2087c98
* Add using_generated_resources.scons to the build. Thistc@google.com2009-01-064-4/+4
| | | | | | | | | | | is the same as using_generated_resources.vsprops. Replace existing paths with this scons file if the SConscript file has already been converted to the using_ format. Review URL: http://codereview.chromium.org/14902 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7583 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 7581.brettw@chromium.org2009-01-068-61/+86
| | | | | | Review URL: http://codereview.chromium.org/17069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7582 0039d316-1c4b-4281-b951-d872f2087c98
* Change all classes that use the NOTIFY_NAV_ENTRY_COMMITTED notification to ↵brettw@chromium.org2009-01-068-86/+61
| | | | | | | | use the notification registrar. This is a speculative fix for a crash I happened to catch in a debugger where the pointer was invalid when dispatching this notifcation. It could be one of these consumers is leaking it's registered observer (the TabContents is the most suspicious one). Review URL: http://codereview.chromium.org/16519 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7581 0039d316-1c4b-4281-b951-d872f2087c98
* The timing is somewhat arbitrary, but trunk is now developing a major rev ↵mal@chromium.org2009-01-061-1/+1
| | | | | | (new http, new webkit, new features). Bump Major version to 2. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7580 0039d316-1c4b-4281-b951-d872f2087c98
* * Disable test that seems to have been broken by r7570\kuchhal@chromium.org2009-01-061-1/+3
| | | | | | | | | TBR=dglazkov BUG=6030 Review URL: http://codereview.chromium.org/16530 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7577 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 7574 which reverted 7570. It was an error on my part.maruel@chromium.org2009-01-066-31/+108
| | | | | | Review URL: http://codereview.chromium.org/16529 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7575 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 7570.maruel@chromium.org2009-01-066-108/+31
| | | | | | Review URL: http://codereview.chromium.org/16528 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7574 0039d316-1c4b-4281-b951-d872f2087c98
* Keep trying to undo 7564.estade@chromium.org2009-01-051-2/+2
| | | | | | | | tbr=jhawkins Review URL: http://codereview.chromium.org/17062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7572 0039d316-1c4b-4281-b951-d872f2087c98
* Unbreak unit tests. Revert r7564.estade@chromium.org2009-01-0514-193/+182
| | | | | | | | tbr=jhawkins Review URL: http://codereview.chromium.org/16522 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7571 0039d316-1c4b-4281-b951-d872f2087c98
* * Port l10n_utiL and it's unit test on POSIX.jeremy@chromium.org2009-01-056-31/+108
| | | | | | | | * Bringup visit_database_unittest.cc on POSIX Review URL: http://codereview.chromium.org/17025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7570 0039d316-1c4b-4281-b951-d872f2087c98
* Fix an uninitialized memory read that purify exposed.brettw@chromium.org2009-01-051-6/+7
| | | | | | Review URL: http://codereview.chromium.org/16520 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7568 0039d316-1c4b-4281-b951-d872f2087c98
* * switch download manager to using FilePathestade@chromium.org2009-01-0513-180/+191
| | | | | | | | | * add empty() function to FilePath * implement file_util::GetFileExtensionFromPath Review URL: http://codereview.chromium.org/17032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7564 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in a patch from m0interactive, reviewed by pkasting. Quote:finnur@google.com2009-01-051-1/+1
| | | | | | | | | | | | | | | Ctrl+U should show up view-source on Application shortcuts. According to pkasting in dev mailing list: "Ctrl-U for an application should do what the context menu option does: open a source tab in some normal window." Hence, made it a NEW_FOREGROUND_TAB for disposition BUG=http://crbug.com/5115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7563 0039d316-1c4b-4281-b951-d872f2087c98
* Some more GRIT refactoring.tc@google.com2009-01-059-19/+8
| | | | | | | | | | | | | | | | | | Moved the grit .vsprops file from chrome/tools/build/win/ to /tools/grit/build and renamed to using_generated_resources.vsprops. Updated non-chrome projects to use the this new vsprops file. Created a new .rules file and renamed the old one. Now there are grit_resources.rules and grit_localized_resources.rules. The latter is what we use now, but I'll be adding some grd files that use the former in a follow up change. This is just vsprops reshuffling for now. I'll also add a using_generated_resources.scons in a follow up change. Review URL: http://codereview.chromium.org/14901 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7560 0039d316-1c4b-4281-b951-d872f2087c98