summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Change 'const' to 'var' in event_bindings.js for ECMAScript compatibility ↵ericdingle@chromium.org2010-06-031-5/+5
| | | | | | | | | | | reasons. BUG=None TEST=None Review URL: http://codereview.chromium.org/2444005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48843 0039d316-1c4b-4281-b951-d872f2087c98
* A very basic fix that prevents experimental popups from living longer than ↵twiz@google.com2010-06-0311-22/+158
| | | | | | | | | | | | | the ExtensionFunctionDispatcher/RenderViewHost that launched the popup. This is a problem, for example, when Chrome is closed while a popup is still displayed. I also removed the code that delayed sending the onClosed popup notification. I modified the ExtensionPopup::Obeserver interface to add methods for about-to-close, and fully-closed notifications. BUG=None TEST=ExtensionApiTest.Popup Review URL: http://codereview.chromium.org/2092020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48841 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to allow focusing the syncronization dialog, useful for the case ↵csilv@chromium.org2010-06-039-2/+48
| | | | | | | | | | | | | where the user chooses to sync, but the window is already open and obscured by another window. For now this only works on Mac due to how browser dialogs are handled on different platforms. BUG=30649 TEST=Choose to 'Sync' when the sync window is already open behind a browser window. Review URL: http://codereview.chromium.org/2121017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48840 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Enable zombies for all on devchannel.shess@chromium.org2010-06-031-1/+3
| | | | | | | | | | | Attempt to flush out more use-after-free cases in the wild. Right now messages to freed ObjC objects are binned by the object's address, with this change they should aggregate into a bigger bin. Additionally, the treadmill should slightly increase the number of cases caught. BUG=35590,24987,45676 TEST=none Review URL: http://codereview.chromium.org/2478004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48838 0039d316-1c4b-4281-b951-d872f2087c98
* Save/restore position for the preferences window based on prefs,tfarina@chromium.org2010-06-035-3/+17
| | | | | | | | | | | BUG=34644 TEST=Try moving the preferences window and confirm it works. Patch from Mingmin Xie <melvinxie@gmail.com> Review URL: http://codereview.chromium.org/2592001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48834 0039d316-1c4b-4281-b951-d872f2087c98
* Fix cloud print job title.scottbyer@chromium.org2010-06-033-17/+28
| | | | | | | | | | | Use the page title as the print job title for cloud printing. BUG=none TEST=none Review URL: http://codereview.chromium.org/2438004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48833 0039d316-1c4b-4281-b951-d872f2087c98
* Close the translate infobar after selecting 'Never translate this ↵tfarina@chromium.org2010-06-031-0/+2
| | | | | | | | | | | language/site'. BUG=39222 TEST=see bug Review URL: http://codereview.chromium.org/2400001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48831 0039d316-1c4b-4281-b951-d872f2087c98
* Quick fix: initializing member variable. Makes offline login work.avayvod@chromium.org2010-06-031-1/+3
| | | | | | | | | | TBR=dpolukhin BUG=none TEST=none Review URL: http://codereview.chromium.org/2564003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48830 0039d316-1c4b-4281-b951-d872f2087c98
* Added user image screen for new user login (or old user logging in throughavayvod@chromium.org2010-06-0318-28/+1152
| | | | | | | | | | | | | new user screen). If user takes snapshot and hits OK on image screen, the snapshot becomes user image. If user presses Cancel, his image is downloaded via Contacts API. BUG=cros:3175 TEST=Login via new user login window. Verify that both use cases work if you logout after the browser is shown. Review URL: http://codereview.chromium.org/2578001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48828 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash on NetworkScreen when corresponding view was deleted.dpolukhin@chromium.org2010-06-032-0/+11
| | | | | | | | | BUG=crosbug.com/3757 TEST=none Review URL: http://codereview.chromium.org/2575001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48827 0039d316-1c4b-4281-b951-d872f2087c98
* Exclude new WorkerTests that are failing under Valgrindtimurrrr@chromium.org2010-06-031-6/+12
| | | | | | | | BUG=38575 TBR=glider Review URL: http://codereview.chromium.org/2573001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48823 0039d316-1c4b-4281-b951-d872f2087c98
* Add IDBIndex support + various cleanup.jorlow@chromium.org2010-06-0312-156/+376
| | | | | | | | This adds IDBIndex support. The majority of this CL was boilerplate type code in indexed_db_dispatcher_host so I did my best to factor it into template functions and split things into multiple sub-dispatcher hosts. Review URL: http://codereview.chromium.org/2449005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48822 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 424.0 to 425.0chrome-release@google.com2010-06-031-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48819 0039d316-1c4b-4281-b951-d872f2087c98
* Combine the combo box class used by mozc and chewingzork@chromium.org2010-06-037-220/+136
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2558001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48817 0039d316-1c4b-4281-b951-d872f2087c98
* New libjingle integrated to chrome.sergeyu@chromium.org2010-06-0320-35/+42
| | | | | | | | | | | BUG=none TEST=Chrome Sync works Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=48798 Review URL: http://codereview.chromium.org/2255007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48811 0039d316-1c4b-4281-b951-d872f2087c98
* Pulls the hunspell dictionaries to "third_party/hunspell_dictionaries".hbono@chromium.org2010-06-031-2/+1
| | | | | | | | | | | This change just pulls the hunspell dictionaries moved by my r48011. TBR=estade BUG=44543 TEST=none Review URL: http://codereview.chromium.org/2074023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48807 0039d316-1c4b-4281-b951-d872f2087c98
* Add Chewing integer preferenceszork@chromium.org2010-06-038-3/+96
| | | | | | | | | BUG=chromium-os:2624 TEST=Open the IME settings window. Add Traditional Chinese. Open the options dialog, and check that the integer prefs are there Review URL: http://codereview.chromium.org/2457001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48806 0039d316-1c4b-4281-b951-d872f2087c98
* Use sql::Statement::BindString16 in a bunch of places to get rid of ↵tfarina@chromium.org2010-06-031-90/+90
| | | | | | | | | | | UTF16ToUTF8 conversions. BUG=41862 TEST=trybots Review URL: http://codereview.chromium.org/2481003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48805 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 48798 - New libjingle integrated to chrome.sergeyu@chromium.org2010-06-0319-41/+34
| | | | | | | | | | | BUG=none TEST=Chrome Sync works Review URL: http://codereview.chromium.org/2255007 TBR=sergeyu@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48800 0039d316-1c4b-4281-b951-d872f2087c98
* New libjingle integrated to chrome.sergeyu@chromium.org2010-06-0319-34/+41
| | | | | | | | | BUG=none TEST=Chrome Sync works Review URL: http://codereview.chromium.org/2255007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48798 0039d316-1c4b-4281-b951-d872f2087c98
* Rework the logging for sockets/connectjobs.eroman@chromium.org2010-06-037-1257/+503
| | | | | | | | | | | | | | | | | | In particular, make it work better when using backup jobs / late binding (the display was very confused before because of how these asynchronous events would nest). Also changed the paradigm for how PassiveLogCollector preserves these async associations -- this fixes how it replays the events to net-internals. (Before we would collapse the event streams into the SOURCE_URL_REQUEST which lost some hiearchy.. now I keep the separate streams). Some of the particular changes to the event streams: * ConnectJobs now create their own source stream internally. * Sockets are now bounded by +SOCKET_ALIVE / -SOCKET_ALIVE events (removed the one-off SOCKET_DONE event). * The socket log streams contains +SOCKET_IN_USE / -SOCKET_IN_USE event blocks to show which URLRequest was controlling it at various points in time (this makes it much easier to understand which read/writes belonged to a particular network transaction when a socket gets re-used). * ConnectJobs are bounded by +SOCKET_POOL_CONNECT_JOB / - SOCKET_POOL_CONNECT_JOB events. * ConnectJobs log the net error they failed with. * Removed the SOCKET_BACKUP_TIMER_EXTENDED event. Review URL: http://codereview.chromium.org/2363003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48797 0039d316-1c4b-4281-b951-d872f2087c98
* Fix chromeos build following r48795estade@chromium.org2010-06-031-1/+1
| | | | | | | | | TBR=dhg TEST=green chromeos compile Review URL: http://codereview.chromium.org/2544002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48796 0039d316-1c4b-4281-b951-d872f2087c98
* Linux/GTK: implement update notification.estade@chromium.org2010-06-0321-91/+393
| | | | | | | | | BUG=45148 TEST=compile chrome with PRODUCT_VERSION manually set to something higher than the current version (e.g. 7.0.0.0), and manually set the upgrade detector time to something short (like 10 seconds). Launch chrome and wait a short time for the update notification to appear. The update notification should pulse every few seconds, and should stop pulsing when the user opens the wrench menu. The about menu item should launch a dialog that allows the user to restart chrome, restoring the current session. Review URL: http://codereview.chromium.org/2365003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48795 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored MediatorThread to use Chrome threads primarily. This is in ↵akalin@chromium.org2010-06-027-259/+285
| | | | | | | | | | | | | preparation for using Chrome sockets. Made TalkMediator explicitly non-thread-safe. BUG=45612 TEST=manual testing of notifications Review URL: http://codereview.chromium.org/2471006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48791 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing mounting so that it remounts any devices it finds on boot.dhg@chromium.org2010-06-024-1/+15
| | | | | | | | | BUG=chromium-os:3715 TEST=none Review URL: http://codereview.chromium.org/2496002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48790 0039d316-1c4b-4281-b951-d872f2087c98
* Enable Gmail chat interception.seh@chromium.org2010-06-021-1/+11
| | | | | | | | BUG=none TEST=something Review URL: http://codereview.chromium.org/2507001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48785 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a copy-paste error.kathyw@chromium.org2010-06-024-4/+4
| | | | | | | | | | TBR=aa TEST=none BUG=none Review URL: http://codereview.chromium.org/2516001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48783 0039d316-1c4b-4281-b951-d872f2087c98
* Disable navigation contextual menus for Sync dialog UI.csilv@chromium.org2010-06-022-2/+9
| | | | | | | | | BUG=30710,30706 TEST=Invoke a contextual menu in the Sync sign-in dialog, navigation items should not appear. Review URL: http://codereview.chromium.org/2487002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48781 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: fix site type icon dragging.estade@chromium.org2010-06-021-7/+7
| | | | | | | | | | | Don't connect to the drag events more than once. BUG=45270 TEST=dragging that box in debug mode, no backtrace Review URL: http://codereview.chromium.org/2514001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48780 0039d316-1c4b-4281-b951-d872f2087c98
* 1. Write thumbnail to the database on SetPageThumbnail.nshkrob@chromium.org2010-06-024-21/+101
| | | | | | | | | | | | | 2. Store the thumbnail score in the database. BUG=None TEST=TopSitesTest Review URL: http://codereview.chromium.org/2499003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48777 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize screen locker before letting user logged in.oshima@chromium.org2010-06-023-18/+74
| | | | | | | | | | | Retry up to 30 seconds (1 sec x 30) even if it fails to grab inputs. BUG=none TEST=manual: scree lock should work after chrome crash. Review URL: http://codereview.chromium.org/2458002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48776 0039d316-1c4b-4281-b951-d872f2087c98
* Update dialog parent handling logic.xiyuan@chromium.org2010-06-024-7/+37
| | | | | | | | | | | | | | - Use real transient parent for hosted native dialogs since window manager supports transient of transient now; - Use last active normal browser window as parent for option dialogs since we don't want to use panel popups as parent; BUG=chromium-os:3708 TEST=none. This CL gives real transent parent for dialogs but we still need to way to show the dialogs, either exit fullscreen or put them on top of fullscreen. Review URL: http://codereview.chromium.org/2501001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48773 0039d316-1c4b-4281-b951-d872f2087c98
* The browser action gripper should become visible when switching fromfinnur@chromium.org2010-06-021-0/+1
| | | | | | | | | | | an app tab to a regular tab. BUG=45480 TEST=None Review URL: http://codereview.chromium.org/2425004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48768 0039d316-1c4b-4281-b951-d872f2087c98
* Bookmarks: Disable the sort command when there are no items to sort.arv@chromium.org2010-06-021-33/+48
| | | | | | | | | BUG=39250 TEST=Select a folder with no items. The sort command should be disabled. Review URL: http://codereview.chromium.org/2467007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48767 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored Histogram::FactoryGet() to be style-compliantziadh@chromium.org2010-06-021-1/+1
| | | | | | | | | | Currently, two (2) overloaded versions of Histogram::FactoryGet() exist. Google's C++ style guide discourages such implementations. I refactored the methods into Histogram::FactoryGet() (no name change), which takes 'Sample' types as arguments, and Histogram::FactoryTimeGet(), which takes base::TimeDelta types as arguments. r = jar Review URL: http://codereview.chromium.org/2423004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48766 0039d316-1c4b-4281-b951-d872f2087c98
* Initial cut at scaffolding for mac sidetabs. No visible changes to browser ↵pinkerton@chromium.org2010-06-0214-74/+1319
| | | | | | | | | | without --enable-vertical-tabs, and even then, don't expect it to work. BUG=44773 TEST=infobars, bookmark bar, tab strip, etc should all behave correctly when showing, hiding, and widnow resizing. This cl should have no visible impact without the above flag on the command line. Review URL: http://codereview.chromium.org/2475002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48765 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r48735 "Added user image screen for new user login (or old user ↵oshima@chromium.org2010-06-0218-1143/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | logging in through" This reverts commit 4ffcb495af72106fe243c6982119d799325d86ba. The following tests were failing with this change. NetworkScreenTest.Basic NetworkScreenTest.NetworksConnectedNotSelected NetworkScreenTest.EthernetSelected NetworkScreenTest.WifiSelected NetworkScreenTest.CellularSelected NetworkScreenTest.WifiWaiting LoginScreenTest.TestBasic LoginScreenTest.AuthenticationFailed LoginScreenTest.IncognitoLogin grd files are excluded from revert to avoid build failures. TBR=avayvod@chromium.org BUG=none TEST=chromeos build bot should cycle green Review URL: http://codereview.chromium.org/2498003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48761 0039d316-1c4b-4281-b951-d872f2087c98
* Disable a ui test on valgrind mac, because it is causing the bot to hang.estade@chromium.org2010-06-021-0/+4
| | | | | | | | | | BUG=39057 TEST=tree greener TBR=dhg Review URL: http://codereview.chromium.org/2502001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48760 0039d316-1c4b-4281-b951-d872f2087c98
* Mark a test as flaky on linux because it fails sometimes on valgrind.estade@chromium.org2010-06-021-6/+11
| | | | | | | | | | BUG=32615,45675 TEST=tree greener TBR=creis Review URL: http://codereview.chromium.org/2450006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48759 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Re-enable some incognito extensions tests either because they are no ↵andybons@chromium.org2010-06-022-21/+4
| | | | | | | | | | longer failing or to gather more data on the crashes since I cannot get them to fail on my local machine. BUG=40002,40133 TEST=ExtensionBrowserTest, BrowserActionApiTest Review URL: http://codereview.chromium.org/2495002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48756 0039d316-1c4b-4281-b951-d872f2087c98
* Adding command line flag for enabling accelerated compositing.vangelis@chromium.org2010-06-024-1/+9
| | | | | | | | | | This CL cannot be checked in until the patch for: https://bugs.webkit.org/show_bug.cgi?id=39917 has landed. BUG=45373 Review URL: http://codereview.chromium.org/2330004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48754 0039d316-1c4b-4281-b951-d872f2087c98
* Truncate very long javascript alert messages. They can overflow the UI and ↵erg@chromium.org2010-06-021-2/+15
| | | | | | | | | | | on Linux cause crashes. BUG=45002 TEST=none Review URL: http://codereview.chromium.org/2486003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48751 0039d316-1c4b-4281-b951-d872f2087c98
* Changing the behavior so that clicking on an item forces a playback, and ↵dhg@chromium.org2010-06-023-1/+45
| | | | | | | | enqueueing an item is available from the menu. Review URL: http://codereview.chromium.org/2436008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48749 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Preview form field values when the user changes the AutoFill dropdownjhawkins@chromium.org2010-06-025-41/+312
| | | | | | | | | | | selection. Refactor form field enumeration into ForEachMatchingFormField(). BUG=38582 TEST=FormManagerTest.PreviewForm Review URL: http://codereview.chromium.org/2138005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48746 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Collapse the three AutoFill phone/fax fields into one.jhawkins@chromium.org2010-06-021-47/+30
| | | | | | | | | BUG=41234 TEST=none Review URL: http://codereview.chromium.org/2464002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48745 0039d316-1c4b-4281-b951-d872f2087c98
* Reset signal handlers in forked children.agl@chromium.org2010-06-021-0/+4
| | | | | | | | | | | | If a signal is delivered to a child process in between forking and execing then it will trigger Chrome's signal handlers. This will likely result in sadness. BUG=44953 http://codereview.chromium.org/2452003/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48744 0039d316-1c4b-4281-b951-d872f2087c98
* Bookmarks: Make sure we update the UI on importarv@chromium.org2010-06-023-18/+53
| | | | | | | | | | | We used to assume that all bookmark imports were adding a folder to "Other bookmarks". This is not always the case so now we reload the tree and the list instead. BUG=39893 TEST=Start with an empty profile. Click "Import bookmarks" on the bookmarks toolbar. The imported bookmarks and bookmarks folders should show up. Review URL: http://codereview.chromium.org/2485002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48743 0039d316-1c4b-4281-b951-d872f2087c98
* Minor edits, plus updating the copyright year.kathyw@chromium.org2010-06-0247-313/+311
| | | | | | | | | | | | | Some generated files changed (cookies, extension, history), but those seem to be random reordering by the API generator. TBR=aa TEST=none BUG=none Review URL: http://codereview.chromium.org/2498002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48739 0039d316-1c4b-4281-b951-d872f2087c98
* Disable MouseLeaveTest because it takes more than 5 minutes to fail on ↵nsylvain@chromium.org2010-06-021-1/+2
| | | | | | | | | | | | | Windows. This code needs to be move to Interactive Ui Tests. BUG:45581 Review URL: http://codereview.chromium.org/2428003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48737 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Hook up "Clear Auto-Open Settings" buttonthakis@chromium.org2010-06-023-22/+104
| | | | | | | | | | | xib change: Hook up button to new outlet and action, bind its "enabled" property to fileHandlerUIEnabled. BUG=41794 TEST=Download a pdf and a doc file, open prefs in second window. In the download shelf, check pdf files to auto-open. Button in prefs should become active. Let doc files auto-open. Button should stay active. Disable auto-opening for both types in shelf, button should become inactive. Let pdfs auto-open, click button. Button should become inactive, pdfs should show up as non-autoopening in shelf. Review URL: http://codereview.chromium.org/2473002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48736 0039d316-1c4b-4281-b951-d872f2087c98