summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert 50752 - Moves Browser::AddTypes to TabStripModel. This patch is primarilysky@chromium.org2010-06-2434-338/+277
| | | | | | | | | | | | | | | | | | | | | | | | cleanup before I fix 29933, but has a couple of interesting bits beyond the enum change: . AddTabContents now supports adding pinned. . Nuked duplicate code in Browser::addTabWithURL that invoked wasHidden on the TabContents. This code is already in TabStripModel. . Moved code for setting visibility of tabcontents from TabStripModel::AddTabContents to InsertTabContentsAt. Since everything ends up in InsertTabContentsAt it should be there. . Converted InsertTabContents call in extensionstabmodule to pass in nothing (Rafael said old code was wrong). BUG=29933 TEST=none Review URL: http://codereview.chromium.org/2863021 TBR=sky@chromium.org Review URL: http://codereview.chromium.org/2849025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50776 0039d316-1c4b-4281-b951-d872f2087c98
* Show a warning message if the cache might not be cleared correctly between runs.mlloyd@chromium.org2010-06-243-0/+30
| | | | | | | | | | | This new version adds a missing dep to webkit/DEPS. BUG=44688 TEST=trybots pass Review URL: http://codereview.chromium.org/2875010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50775 0039d316-1c4b-4281-b951-d872f2087c98
* New HTML Sync Setup UI! This paves the way for the Passphrase UI. (coming ↵dantasse@chromium.org2010-06-2417-160/+499
| | | | | | | | | | | | | | | | | | | | | | | | | | | soon...) Old flow: - type username/password. wait for Gaia auth and initial sync (with throbber) - success! or error. New flow: - type username/password. wait for Gaia auth. (with throbber) - error, or choose your datatypes. you can choose "keep everything synced", which will sync all present and future datatypes, or you can pick one by one. - wait for initial sync (with throbber) - success! or error, which brings you back to the gaia auth screen. Smaller details: - removed the Customize button from gaia_login.html; further removal of the old native Customize dialog to follow. - added a logging statement to log if you cancel from the Choose Data Types screen. - added a pref to the profile for whether you want to "keep everything synced" or choose one by one. - added a couple more strings. Not final yet, I don't think. BUG=45869 TEST=Exercise all the different paths through the login flow. Review URL: http://codereview.chromium.org/2851012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50774 0039d316-1c4b-4281-b951-d872f2087c98
* This CL fixes issue 43800 - RTL/LTR eliding in Linux omnibox dropdown.xji@chromium.org2010-06-241-8/+24
| | | | | | | | | | | | | | | | Unlike Windows, in Linux, we do not draw the strings in autocomplete popup by ourselves. Instead, we rely on Pango to draw the strings. We only need to pass the text, the attribute, and the width to Pango, and Pango will draw the text correctly (taking care of visual runs for bidi text). The only small problems are that: when the UI is RTL, for pure English text, we need to insert LRE mark so that the ending punctuation is drawn correctly as is (not flipped), for example "....(choose location)" will not be drawn as "(....(choose location" in RTL UI. Also, for some (not all) pure English text, when eliding, the ellipsis appears at the very left of the string in RTL UI. I do not know the reason of such inconsistency, but looks like adding LRE mark to pure English also forces the ellipsis appears at the right of the string. BUG=43800 TEST=Omnibox should elide long URLs, mixed LTR/RTL text, etc. correctly in both LTR and RTL locales Review URL: http://codereview.chromium.org/2824027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50773 0039d316-1c4b-4281-b951-d872f2087c98
* Remove scary "Extension has access to everything you own" warning when thempcomplete@chromium.org2010-06-241-22/+1
| | | | | | | | | | | extension wants to inject script into file URLs, since this requires user opt-in now. BUG=47180 Review URL: http://codereview.chromium.org/2810028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50772 0039d316-1c4b-4281-b951-d872f2087c98
* linux: work around gnome keyring memory corruptionevan@chromium.org2010-06-241-105/+171
| | | | | | | | | | | | | | | | | Older versions of gnome keyring corrupt memory if you fetch too much data from it. Despite our best efforts, we couldn't come up with a way to tell if you're using the broken old version so that we could blacklist it. Instead, we fetch passwords one-by-one, which is slow but tolerable since we do it on a background thread anyway. While I'm here, refactor the code a bit to simplify it. TEST=password manager doesn't crash when using mdm's sample 100 password db with --password-store=gnome on hardy Review URL: http://codereview.chromium.org/2838023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50771 0039d316-1c4b-4281-b951-d872f2087c98
* Create background contents on startup.atwilson@chromium.org2010-06-242-9/+42
| | | | | | | | Implement BackgroundContentsService::CreateBackgroundContents() to automatically relaunch registered BackgroundContents when the browser starts. Review URL: http://codereview.chromium.org/2862026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50770 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit 61756:61780hclam@chromium.org2010-06-241-1/+1
| | | | | | | | | TBR=mikhail TEST=Tree stays green Review URL: http://codereview.chromium.org/2861024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50769 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash on update screen.nkostylev@google.com2010-06-241-3/+8
| | | | | | | | | | | Introduced in CL http://codereview.chromium.org/2842024 BUG= http://crosbug.com/4208 TEST=Execute OOBE, update screen should check for update and proceed. Review URL: http://codereview.chromium.org/2871022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50768 0039d316-1c4b-4281-b951-d872f2087c98
* Add an exported symbol list to liblzma_decompress to allow dead-code strippingmark@chromium.org2010-06-242-1/+30
| | | | | | | | | | | to be even more effective. This reduces the size of liblzma_decompress.dylib by 16kB, and reduces the size of differential updater disk images by 8kB. BUG=47199 TEST=none Review URL: http://codereview.chromium.org/2860019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50765 0039d316-1c4b-4281-b951-d872f2087c98
* Update Breakpad to r609 to pick up:mark@chromium.org2010-06-242-2/+2
| | | | | | | | | | Convert files in .nib format to .xib format. BUG=38443 TEST=none Review URL: http://codereview.chromium.org/2854020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50764 0039d316-1c4b-4281-b951-d872f2087c98
* Add info about the "chrome://favicon" permission.kathyw@chromium.org2010-06-242-0/+22
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2817030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50763 0039d316-1c4b-4281-b951-d872f2087c98
* Explicitly disallow user scripts from extensions sync.akalin@chromium.org2010-06-242-8/+23
| | | | | | | | | BUG=46654 TEST=ExtensionUtilTest.IsSyncableExtension Review URL: http://codereview.chromium.org/2803022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50762 0039d316-1c4b-4281-b951-d872f2087c98
* Move the files in resources/shared/ into resources.pakerg@chromium.org2010-06-248-90/+208
| | | | | | | | | BUG=35793,42770 TEST=none Review URL: http://codereview.chromium.org/2817026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50761 0039d316-1c4b-4281-b951-d872f2087c98
* Fix two problems with int32 <-> int32_t conversion when compiled in -pedanticmsneck@google.com2010-06-241-3/+3
| | | | | | | | | | mode inside Native Client. BUG=none TEST=none Review URL: http://codereview.chromium.org/2834023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50760 0039d316-1c4b-4281-b951-d872f2087c98
* Update to version of ppapi with linux build fix.darin@chromium.org2010-06-241-1/+1
| | | | | | | | | | TBR=brettw BUG=none TEST=none Review URL: http://codereview.chromium.org/2857019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50759 0039d316-1c4b-4281-b951-d872f2087c98
* Fix BMM paste on mac and list hover artifact.feldstein@chromium.org2010-06-243-1/+12
| | | | | | | | | | | | | | | | | The Bookamark manager on mac would paste a url into a bookmarks url field, and then the same paste event would propagate up to the list and paste the page as a new bookmark. This stops propagation of paste events from the text fields in the list. Also, now that the list has spacers for the dynamic rendering, the spacers would get a 2 pixel hover effect. This removes that. You can see it by slowly moving from the last bookmark down to below the bottom of the list. BUG=43442 TEST=NONE Review URL: http://codereview.chromium.org/2805031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50758 0039d316-1c4b-4281-b951-d872f2087c98
* Convert notification UI on Mac to a NIB rather than hand-coded. Also update ↵johnnyg@chromium.org2010-06-249-300/+691
| | | | | | | | | | | the UI to reflect the latest mocks. Also improve the animation onto the screen. BUG=34627 TEST=none Review URL: http://codereview.chromium.org/2822019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50757 0039d316-1c4b-4281-b951-d872f2087c98
* Boilerplate implementation of the Pepper URL Loader API.darin@chromium.org2010-06-2415-10/+541
| | | | | | | | | | R=brettw BUG=47222 TEST=none Review URL: http://codereview.chromium.org/2859023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50756 0039d316-1c4b-4281-b951-d872f2087c98
* Run all the pngs in chrome/app/theme/ through pngcrush.erg@chromium.org2010-06-24425-0/+0
| | | | | | | | | | | | | | | - Re-compresses all the image data, average savings 1%-4% in filesize. - Removes the "Created with Adobe Whatever" string from all PNGs, shrinking the files marginally even when the image data was already optimal. This shaves more than 100k off of chrome.pak. BUG=none TEST=none Review URL: http://codereview.chromium.org/2806029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50754 0039d316-1c4b-4281-b951-d872f2087c98
* Make import from the options menu OOP on Mac OS X.mirandac@chromium.org2010-06-242-2/+3
| | | | | | | | BUG=46701 TEST=import Firefox passwords from the menu once the browser is running. Because import is OOP, FF passwords should be imported. All other import processes should still work as advertised. Review URL: http://codereview.chromium.org/2800026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50753 0039d316-1c4b-4281-b951-d872f2087c98
* Moves Browser::AddTypes to TabStripModel. This patch is primarilysky@chromium.org2010-06-2434-277/+338
| | | | | | | | | | | | | | | | | | | | | cleanup before I fix 29933, but has a couple of interesting bits beyond the enum change: . AddTabContents now supports adding pinned. . Nuked duplicate code in Browser::addTabWithURL that invoked wasHidden on the TabContents. This code is already in TabStripModel. . Moved code for setting visibility of tabcontents from TabStripModel::AddTabContents to InsertTabContentsAt. Since everything ends up in InsertTabContentsAt it should be there. . Converted InsertTabContents call in extensionstabmodule to pass in nothing (Rafael said old code was wrong). BUG=29933 TEST=none Review URL: http://codereview.chromium.org/2863021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50752 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore duplicate SYN_REPLYs on the same stream. Added a unit test.mlloyd@chromium.org2010-06-244-4/+66
| | | | | | | | | BUG=45639 TEST=Added unit test, which caused an ASSERT fail before but now passes. Review URL: http://codereview.chromium.org/2871015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50751 0039d316-1c4b-4281-b951-d872f2087c98
* Make new (CTransaction) hooking and sniffing mechanism the default one.stoyan@chromium.org2010-06-242-7/+19
| | | | | | Review URL: http://codereview.chromium.org/2822028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50750 0039d316-1c4b-4281-b951-d872f2087c98
* 1. remove initial rendering lag time for egl image decoding pathwjia@google.com2010-06-2418-106/+161
| | | | | | | | | | | 2. put all GLES operations in one thread BUG=none TEST=dev platform and desktop Review URL: http://codereview.chromium.org/2836019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50749 0039d316-1c4b-4281-b951-d872f2087c98
* Bookmark sync tests need to wait for bookmarks to load in SetupClients().rsimha@chromium.org2010-06-242-1/+10
| | | | | | | | | | | | | The bookmark sync tests were not waiting for the BookmarkModel object in each Profile to load before running tests. Adding a call to ui_test_utils::WaitForBookmarkModelToLoad() to LiveBookmarksSyncTest::SetupClients(). Also including fixes for a couple of lint errors. BUG=47361 TEST=sync_integration_tests Review URL: http://codereview.chromium.org/2802019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50748 0039d316-1c4b-4281-b951-d872f2087c98
* move DEPS of app into player_x11wjia@google.com2010-06-241-0/+0
| | | | | | | | | BUG=none TEST=try bots Review URL: http://codereview.chromium.org/2828023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50745 0039d316-1c4b-4281-b951-d872f2087c98
* Adds comment to why we need std::min in getting selection start.sky@chromium.org2010-06-243-7/+12
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2831023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50743 0039d316-1c4b-4281-b951-d872f2087c98
* Make pkg-dmg executable. This regressed in r50566 (unreviewed?)mark@chromium.org2010-06-241-0/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2838025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50741 0039d316-1c4b-4281-b951-d872f2087c98
* Don't close the socket in the HttpNetworkTransactionmlloyd@chromium.org2010-06-242-3/+67
| | | | | | | | | | | | | | destructor if we can and should keep the connection alive. This is necessary because in some situations, DoReadBodyComplete never gets called; this can happen, for example, when the response body length is zero, and the caller would be the cache transaction. BUG=47191 TEST=Added unit test. Existing net_unittests pass. Review URL: http://codereview.chromium.org/2807014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50740 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed bug where streams do not shutdown properly after the user callback ↵erikchen@google.com2010-06-2413-445/+680
| | | | | | | | | | | | | | | | | | | deletes the stream. Added a unit test. TEST=net_unittests BUG=46925 Merge branch 'trunk' of http://src.chromium.org/git/chromium into ukai_delegate_fix Revert "Revert 50215 because of crashes - Refactor SpdyStream to get HTTP specific out of the interface and members." This reverts commit 8f9bf3b9ba6663aeef7fbdab3edf16aeaa510f84. Review URL: http://codereview.chromium.org/2810022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50739 0039d316-1c4b-4281-b951-d872f2087c98
* Http Cache: Avoid re-validation of sparse entries if arvargas@google.com2010-06-242-13/+107
| | | | | | | | | | | | | regular freshness test for the entry allows us to just fetch it from the cache. BUG=42901 TEST=unittests, html5 video tests work as intended. Review URL: http://codereview.chromium.org/2844020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50738 0039d316-1c4b-4281-b951-d872f2087c98
* Require user opt-in before allowing content script injection on file URLs.mpcomplete@chromium.org2010-06-2424-34/+206
| | | | | | | | BUG=47180 Review URL: http://codereview.chromium.org/2809034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50737 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 449.0 to 450.0chrome-release@google.com2010-06-241-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50735 0039d316-1c4b-4281-b951-d872f2087c98
* Allow suppression of first run bubble from master preferences.mirandac@google.com2010-06-2410-17/+31
| | | | | | | | | BUG=18185 TEST= add "suppress_first_run_bubble:true" to distribution section of master_preferences. run as first_run, and watch bubble not appear. Review URL: http://codereview.chromium.org/2812022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50734 0039d316-1c4b-4281-b951-d872f2087c98
* Fire the document load complete and focus event on the root document object.ctguil@chromium.org2010-06-241-4/+8
| | | | | | | | | BUG=47084,47208 TEST=none Review URL: http://codereview.chromium.org/2822027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50732 0039d316-1c4b-4281-b951-d872f2087c98
* Time cache lock waitsgavinp@google.com2010-06-242-0/+7
| | | | | | | | | | | | | Chrome has a limitation that exclusive writers block all other readers or writers from accessing the cache. This CL creates an histogram so that I can track if this is actually a performance hit as prefetch starts arriving in the tree. BUG=none TEST=about:histograms Review URL: http://codereview.chromium.org/2831026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50731 0039d316-1c4b-4281-b951-d872f2087c98
* Converts the CRLF line endings to LF. I only encountered this becausesky@chromium.org2010-06-241-264/+264
| | | | | | | | | | | I need to change this file for another patch and the try bots kept barfing. I finally figured it out it was because of CRLF instead LF. BUG=none TEST=none Review URL: http://codereview.chromium.org/2837016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50730 0039d316-1c4b-4281-b951-d872f2087c98
* Disable check for duplicate URLs. Turns out the most visited computation can ↵brettw@chromium.org2010-06-241-3/+0
| | | | | | | | | | generate these in some legitimate cases and we don't want to assert. TEST=none BUG=none Review URL: http://codereview.chromium.org/2799027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50729 0039d316-1c4b-4281-b951-d872f2087c98
* GRD change + new HTML file for sync UI changedantasse@chromium.org2010-06-242-0/+226
| | | | | | | | | BUG=45869 TEST=Doesn't do anything yet Review URL: http://codereview.chromium.org/2845019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50728 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 50726 "DevTools: Migrate to new WebView initialization (pass devtools ↵pfeldman@chromium.org2010-06-2410-27/+24
| | | | | | | | client directly)." Review URL: http://codereview.chromium.org/2871023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50727 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Migrate to new WebView initialization (pass devtools client directly).pfeldman@chromium.org2010-06-2410-24/+27
| | | | | | Review URL: http://codereview.chromium.org/2864020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50726 0039d316-1c4b-4281-b951-d872f2087c98
* Change copyright to help grd change along.mirandac@google.com2010-06-241-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2809036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50725 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak the first run search engine dialog so that it reflects Glen's mocks. ↵mirandac@google.com2010-06-245-138/+44
| | | | | | | | | | This change adds an image to the top of the dialog, and removes the text and link at the bottom. It also removes the horizontal separators. BUG=46716 TEST=Run Chrome in first-run with master_preferences set to load the new search engine dialog. It should look reasonable. Review URL: http://codereview.chromium.org/2818014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50724 0039d316-1c4b-4281-b951-d872f2087c98
* Default to GTK_WRAP_WORD_CHAR for multiline textfield on Gtk.xiyuan@chromium.org2010-06-241-0/+3
| | | | | | | | | BUG=chromium-os:4258 TEST=Verify fix for chromium-os:4258. Review URL: http://codereview.chromium.org/2824026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50723 0039d316-1c4b-4281-b951-d872f2087c98
* Provides a single place to test whether the new wrench menu issky@chromium.org2010-06-245-8/+29
| | | | | | | | | | | | enabled. I'm doing this as I'm ready to turn it on for views and want a single place to turn it off should we decided to do that. BUG=45734 TEST=none Review URL: http://codereview.chromium.org/2813032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50722 0039d316-1c4b-4281-b951-d872f2087c98
* Unsubscribe from updates notifications on exit from update screen.nkostylev@google.com2010-06-241-3/+9
| | | | | | | | | | | Added extra debug logging for update screen. BUG= http://crosbug.com/4208 TEST=Manually: run OOBE, press Esc on update screen, you should stay at login screen. Review URL: http://codereview.chromium.org/2842024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50721 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 61746:61756mnaganov@chromium.org2010-06-241-1/+1
| | | | | | | | | | TBR=hclam TEST=none BUG=none Review URL: http://codereview.chromium.org/2804023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50720 0039d316-1c4b-4281-b951-d872f2087c98
* Pass start url to be opened after login.nkostylev@google.com2010-06-248-15/+49
| | | | | | | | | | | | Single url is enough. If needed it could be easily changed to multiple ones. Hopefully merging login_screen & existing_user_controller will remove some of duplication. BUG= http://crosbug.com/4214 TEST=Manual. "Can't access your account" should open BWSI with help link in it. Review URL: http://codereview.chromium.org/2802021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50719 0039d316-1c4b-4281-b951-d872f2087c98
* Reaply V8 update to version 2.2.19ricow@chromium.org2010-06-241-1/+1
| | | | | | Review URL: http://codereview.chromium.org/2841025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50718 0039d316-1c4b-4281-b951-d872f2087c98