summaryrefslogtreecommitdiffstats
path: root/chrome
Commit message (Collapse)AuthorAgeFilesLines
* Decomped registration logic into its own class.akalin@chromium.org2010-06-309-43/+548
| | | | | | | | | | | Handle registration events properly. BUG=34647 TEST=new unittests Review URL: http://codereview.chromium.org/2861034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51230 0039d316-1c4b-4281-b951-d872f2087c98
* Move GetPageSizeAndMarginsInPoints from linux code to generic code.hamaji@chromium.org2010-06-303-66/+126
| | | | | | | | | | | It seems we can use this function in other environments. BUG=47277 TEST=none Review URL: http://codereview.chromium.org/2807029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51227 0039d316-1c4b-4281-b951-d872f2087c98
* Enable extensions sync by default.akalin@chromium.org2010-06-302-8/+28
| | | | | | | | | BUG=32413 TEST=manual Review URL: http://codereview.chromium.org/2833042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51226 0039d316-1c4b-4281-b951-d872f2087c98
* Remove extended attributes. The lame broken codepath in the DBS was causingnick@chromium.org2010-06-3013-519/+183
| | | | | | | | | | | several tests to fail their SaveChanges()es. Add unit test for the DBS migrations. BUG=47466 TEST=sync_unit_tests (and included new tests). Review URL: http://codereview.chromium.org/2830027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51225 0039d316-1c4b-4281-b951-d872f2087c98
* Add EnableInputMethodsAndKeyboardLayouts function.yusukes@google.com2010-06-305-15/+111
| | | | | | | | | | I'll use the function to implement crosbug.com/2619 (Implement input language selector on the log in page) BUG=none Review URL: http://codereview.chromium.org/2861022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51220 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning up syntax problems in known_crashes.txtace@chromium.org2010-06-301-18/+10
| | | | | | Review URL: http://codereview.chromium.org/2817042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51218 0039d316-1c4b-4281-b951-d872f2087c98
* Move chrome/common/net/notifier to jingle/notifier so that it can be used by ↵ajwong@chromium.org2010-06-3070-6054/+32
| | | | | | | | | | | remoting/remoting.gyp. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/2885005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51216 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed invalid read in ExtensionsServiceTest.ReloadExtensions.akalin@chromium.org2010-06-301-0/+4
| | | | | | | | | BUG=47843,47863 TEST=unittests, valgrind Review URL: http://codereview.chromium.org/2872024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51215 0039d316-1c4b-4281-b951-d872f2087c98
* Reland - Fix NULL dereference in ExtensionTabsModule.rafaelw@chromium.org2010-06-301-16/+18
| | | | | | | | | | | | | | | | original review: http://codereview.chromium.org/2885006 ---------- This is almost certainly caused by a start-up or shut-down race, but CreateWindowValue doesn't have much meaning without a window attached to the browser, so just return an error in those cases BUG=47808 TEST=none. TBR=asargent Review URL: http://codereview.chromium.org/2858036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51213 0039d316-1c4b-4281-b951-d872f2087c98
* Implement getAttachedShaders for WebGL.zmo@google.com2010-06-302-0/+8
| | | | | | Review URL: http://codereview.chromium.org/2805047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51206 0039d316-1c4b-4281-b951-d872f2087c98
* Windows: Replace tabs in content settings with a listbox.thakis@chromium.org2010-06-303-62/+103
| | | | | | | | | | | Depends on http://codereview.chromium.org/2815034 BUG=45546 TEST=Open content settings dialog. Should have a list on the left instead of tabs on top. Other than that, the dialog should work as before. Review URL: http://codereview.chromium.org/2799042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51205 0039d316-1c4b-4281-b951-d872f2087c98
* NTP: Remove command line flag that allowed a local file to be used for the ↵arv@chromium.org2010-06-303-43/+2
| | | | | | | | | | | new tab page. BUG=None TEST=None Review URL: http://codereview.chromium.org/2886002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51204 0039d316-1c4b-4281-b951-d872f2087c98
* Split options page code/html into its own set of files.zelidrag@chromium.org2010-06-3011-223/+682
| | | | | | | | | | | | Changed grit to support generic <!--include file="..."--> tag in html files to support the scenario above. TEST=make sure chrome:options page still shows correctly BUG=chromium-os:4429 Review URL: http://codereview.chromium.org/2835009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51203 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill: Add support for multi-select and delete.tfarina@chromium.org2010-06-302-10/+17
| | | | | | | | | BUG=46075 TEST=see bug Review URL: http://codereview.chromium.org/2828014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51202 0039d316-1c4b-4281-b951-d872f2087c98
* Change MenuItems to use divs and add disabled propertyfeldstein@chromium.org2010-06-301-2/+8
| | | | | | | | | | | | | Stops using buttons for menu items so that it doesn't conflict with the button.css file. Added a BOOL_ATTR disabled property so the attribute is set on the element. It was originally not being set and not being styled as disabled. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/2863031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51201 0039d316-1c4b-4281-b951-d872f2087c98
* AutoFill fills only clicked field when form was filled prior.dhollowa@chromium.org2010-06-303-0/+70
| | | | | | | | | | | | These changes make it so that individual fields are filled with the value selected from the input element popup menu. AutoFill profile data is not queried in this case. BUG=44618, 47917 TEST=RenderViewTest.SendForms, RenderViewTest.FillFormElement Review URL: http://codereview.chromium.org/2808036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51200 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 51110 because of regression 47858- Group plugins in about:plugins and ↵jam@chromium.org2010-06-2910-979/+255
| | | | | | | | | | | | | | | | | | | | | show update link for out-of-date ones. Tracking patch by mavrommatis, original review here: <http://codereview.chromium.org/1991005> Original description follows: (1) Group plugins with the same name together. (2) Show a download link for plugin versions with known security problems in about:plugins. BUG=3910 TEST=Open "chrome://plugins", see that plugins are grouped, and that any vulnerable plugins are marked red. Try enabling and disabling plugin groups. Review URL: http://codereview.chromium.org/2835018 TBR=bauerb@chromium.org Review URL: http://codereview.chromium.org/2805048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51191 0039d316-1c4b-4281-b951-d872f2087c98
* grd: Add "Features:" string.thakis@chromium.org2010-06-291-0/+3
| | | | | | Review URL: http://codereview.chromium.org/2862037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51190 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed about:cache in about:about pagehinoka@chromium.org2010-06-291-2/+3
| | | | | | | | | | | | changed about:cache to redirect to chrome://view-http-cache instead of chrome://about/cache. TEST=Go to about:about and click on about:cache, check that it works BUG=44699 Review URL: http://codereview.chromium.org/2860038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51182 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for vector printing for Pepper v1 plugins for Linux.sanjeevr@chromium.org2010-06-292-9/+55
| | | | | | | | | BUG=None TEST=Test printing from Chrome PDF plugin on Linux. Review URL: http://codereview.chromium.org/2807027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51181 0039d316-1c4b-4281-b951-d872f2087c98
* Canvas refactoring Phase 4a:ben@chromium.org2010-06-2914-87/+56
| | | | | | | | | | | Move Save, SaveLayerAlpha and Restore onto gfx::Canvas. BUG=none TEST=none Review URL: http://codereview.chromium.org/2846035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51179 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored ChromeInvalidationClient to have its own listener type.akalin@chromium.org2010-06-296-213/+149
| | | | | | | | | BUG=34647 TEST=manual Review URL: http://codereview.chromium.org/2817037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51178 0039d316-1c4b-4281-b951-d872f2087c98
* Add switches and apis in safebrowsing protocol_manager that will allow ↵lzheng@chromium.org2010-06-297-83/+343
| | | | | | | | | | | end-to-end test later. BUG=6787,47318 TEST=protocol_manager_unittest.cc Review URL: http://codereview.chromium.org/2868030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51177 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure sync starts up on browser restart as well as initial sync flow.tim@chromium.org2010-06-2912-49/+72
| | | | | | | | | | BUG=47781 TEST=enable sync. close chrome. open chrome. verify sync is working (e.g. by adding a bookmark and watching it sync to another client). sync_integration_tests also cover this. Review URL: http://codereview.chromium.org/2824037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51175 0039d316-1c4b-4281-b951-d872f2087c98
* Add switch for specifying a directory to load plugins, so that test plugins ↵stuartmorgan@chromium.org2010-06-294-11/+19
| | | | | | | | | | | can be loaded on the Mac without modifying the application bundle. BUG=47305 TEST=Mac plugin tests still run. No PlugIns directory created in the app bundle. Review URL: http://codereview.chromium.org/2814030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51174 0039d316-1c4b-4281-b951-d872f2087c98
* Disable a unit test that I broke.estade@chromium.org2010-06-291-1/+2
| | | | | | | | | | | | Green the tree while I work on fixing it. BUG=none TEST=tree goes green TBR=stuartmorgan Review URL: http://codereview.chromium.org/2825029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51170 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 51161 - Fix NULL dereference in ExtensionTabsModule.rafaelw@google.com2010-06-291-17/+15
| | | | | | | | | | | | | | This is almost certainly caused by a start-up or shut-down race, but CreateWindowValue doesn't have much meaning without a window attached to the browser, so just return an error in those cases BUG=47808 TEST=none Review URL: http://codereview.chromium.org/2885006 TBR=rafaelw@chromium.org Review URL: http://codereview.chromium.org/2868039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51165 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r50296 which removes some uses of CookieMonster on the UI thread.willchan@chromium.org2010-06-299-128/+436
| | | | | | | | | Removes the addition of NonThreadSafe and DCHECKs to CookieMonster. BUG=44083 Review URL: http://codereview.chromium.org/2845031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51164 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the construction of the pool names for preconnect.mbelshe@chromium.org2010-06-291-1/+7
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2842033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51163 0039d316-1c4b-4281-b951-d872f2087c98
* Protect NetworkScreen::OnDialogCancelled() from view() == NULLstevenjb@chromium.org2010-06-291-2/+4
| | | | | | | | | BUG=chromium-os:4294 (http://code.google.com/p/chromium-os/issues/detail?id=4294) TEST=unable to repro, likely an edge case Review URL: http://codereview.chromium.org/2809043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51162 0039d316-1c4b-4281-b951-d872f2087c98
* Fix NULL dereference in ExtensionTabsModule.rafaelw@chromium.org2010-06-291-15/+17
| | | | | | | | | | | This is almost certainly caused by a start-up or shut-down race, but CreateWindowValue doesn't have much meaning without a window attached to the browser, so just return an error in those cases BUG=47808 TEST=none Review URL: http://codereview.chromium.org/2885006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51161 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable a previously disabled test. Failure is not reproducible.michaeln@chromium.org2010-06-291-9/+1
| | | | | | | | | BUG=33443 TEST=existing tests apply Review URL: http://codereview.chromium.org/2833037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51160 0039d316-1c4b-4281-b951-d872f2087c98
* Allow quering Pepper plugin for selected text for the context menu. Also ↵jam@chromium.org2010-06-293-3/+37
| | | | | | | | take out the ability to access the clipboard since it's not exposed to HTML for security reasons. Review URL: http://codereview.chromium.org/2841028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51159 0039d316-1c4b-4281-b951-d872f2087c98
* This change allows the syncer thread to be paused and resumed when the ↵skrul@chromium.org2010-06-2910-73/+364
| | | | | | | | | | | | | | | syncer thread has not yet been started or it has been started and is waiting for a connection. From an API standpoint, the caller of SyncerThread::Pause and SyncerThread::Resume should not need to consider if the thread is already running. The channel responses (PAUSED and RESUMED) should be the same regardless. Furthermore, edge cases like "pause before thread is started and resume after thread is started" should be handled correctly. This change is supposed to be fixing various offline startup problems we've been having and it includes a new integration test for this. However, it is not yet complete but we might need to check this is before it is ready. TEST=unit BUG=45814 Review URL: http://codereview.chromium.org/2814014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51158 0039d316-1c4b-4281-b951-d872f2087c98
* Change a bunch of string types.estade@chromium.org2010-06-29136-885/+886
| | | | | | | | | | | | | Started out just trying to change PrefService::GetString and ::SetString. This snowballed a little bit. Had to change a bunch of url strings in search_engines/ from wstring to string (some of them may be better off as GURLs, but UTF-8 is a step in the right direction, since that's what GURL uses internally, as well as externally via its setters/getters). TODO (later patch): things that ask for accepted languages should use std::string, not std::wstring. BUG=none TEST=try bots Review URL: http://codereview.chromium.org/2854015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51157 0039d316-1c4b-4281-b951-d872f2087c98
* Stretch the roster to fill its window and enable scrollingseh@chromium.org2010-06-292-2/+3
| | | | | | | if it exceeds its window's height. Review URL: http://codereview.chromium.org/2834029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51156 0039d316-1c4b-4281-b951-d872f2087c98
* Bookmarks: Fix Cmd+A on Macarv@chromium.org2010-06-291-2/+10
| | | | | | | | | BUG=47241 TEST=Navigate between a few folders and then click on the right pane. Now hit Cmd+A. Review URL: http://codereview.chromium.org/2832034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51155 0039d316-1c4b-4281-b951-d872f2087c98
* Create a new type of button cell for bookmark bar buttons that don't darken ↵pinkerton@chromium.org2010-06-294-2/+9
| | | | | | | | | | when pressed, leaving "standard" buttons (like used on the toolbar) to darken as expected. BUG=44574 TEST=test bookmark buttons and toolbar buttons with different themes, make sure the appearance isn't crappy Review URL: http://codereview.chromium.org/2866031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51154 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a known crash in HTML5DocumentParser::write() which has been fixedtonyg@chromium.org2010-06-291-4/+0
| | | | | | | | | | | upstream. This is guaranteed to work as the HTML5DocumentParser class has since been renamed to HTMLDocumentParser. BUG=47080 TEST=None Review URL: http://codereview.chromium.org/2807030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51152 0039d316-1c4b-4281-b951-d872f2087c98
* Disable all UnloadTest tests using LoadUrlAndQuitBrowser on Linuxstuartmorgan@chromium.org2010-06-291-18/+11
| | | | | | | | | | | TBR=erikkay BUG=47575 TEST=Greener bot Review URL: http://codereview.chromium.org/2822037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51151 0039d316-1c4b-4281-b951-d872f2087c98
* Translate infobar always/never translate buttonsjcivelli@chromium.org2010-06-2911-10/+241
| | | | | | | | | | | | | | | Adding extra buttons on the translate infobar to let user easily set the "never/always translate this language" property when they declined/accepted translation for a language more than 3 times. Original review: http://codereview.chromium.org/2825015/show BUG=NONE TEST=Visit a page in a foreign language, translate the page. Repeat 4 times. On the fourth time, the "before translate" infobar should show a button that says "always translate". Similarly when declining translations 4 times. Review URL: http://codereview.chromium.org/2835025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51148 0039d316-1c4b-4281-b951-d872f2087c98
* Remove download check for web store apps (temporarily).rafaelw@chromium.org2010-06-291-10/+0
| | | | | | | | | | There's still discussion about the design for this, so to minimize breakage on the dev channel, I'm backing the check out temporarily. BUG=47675,45542 Review URL: http://codereview.chromium.org/2815035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51146 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Display the correct number of restorable tabs in the History menu.rsesek@chromium.org2010-06-291-9/+15
| | | | | | | | | BUG=47797 TEST=Open a new window, create 4 NTP tabs and 1 navigated tab. Close the window. The History menu has a "1 Tab" submenu with the navigated page. Review URL: http://codereview.chromium.org/2800032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51145 0039d316-1c4b-4281-b951-d872f2087c98
* Follow-up on http://codereview.chromium.org/2861019 to address Powel's comments.jrg@chromium.org2010-06-292-18/+16
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2821018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51144 0039d316-1c4b-4281-b951-d872f2087c98
* Toolbar facelift. Main buttons larger and more spread out, only get borders ↵pinkerton@chromium.org2010-06-297-27/+46
| | | | | | | | | | | when mouse is inside. Fix to gradient button to not show border on mouseover when disabled. Adjust "overlap" between the toolbar and bookmark bar to allow for larger buttons w/out clipping. Nib change: All buttons changed to not bordered, button cell tags are 0. Buttons are 31x31 and spread out a bit more. BUG=44574 TEST=toolbar and bookmark bar appearance, hidden, always showing, and detached on NTP. Review URL: http://codereview.chromium.org/2806041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51143 0039d316-1c4b-4281-b951-d872f2087c98
* Use InvalidationClient::Create() instead of creating an Impl directly.akalin@chromium.org2010-06-293-10/+7
| | | | | | | | | BUG=34647 TEST=none Review URL: http://codereview.chromium.org/2836032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51140 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for allowing a parent GGL context to be destroyed before all ↵apatrick@chromium.org2010-06-291-6/+7
| | | | | | | | | | | | of its children. I made the parent_ pointer a WeakPtr. It is correct to not free the offscreen texture ID if the parent is destroyed first. It is freed as part of the parent's destruction. TEST=trybot BUG=47594 Review URL: http://codereview.chromium.org/2882004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51139 0039d316-1c4b-4281-b951-d872f2087c98
* Removes control-alt-b accelerator. Turns out control-alt acceleratorssky@chromium.org2010-06-293-4/+0
| | | | | | | | | | | are bad. BUG=44797 TEST=make sure control-alt-b doesn't work. Review URL: http://codereview.chromium.org/2885003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51138 0039d316-1c4b-4281-b951-d872f2087c98
* Don't try to animate the balloon before it's been shown, it will cause a crash.johnnyg@chromium.org2010-06-291-1/+1
| | | | | | | | | BUG=47809 TEST=notifications on windows Review URL: http://codereview.chromium.org/2861035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51137 0039d316-1c4b-4281-b951-d872f2087c98
* Disable another crashing unload test on Linuxstuartmorgan@chromium.org2010-06-291-1/+5
| | | | | | | | | | | TBR=erikkay BUG=47575 TEST=Greener bots Review URL: http://codereview.chromium.org/2887001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51136 0039d316-1c4b-4281-b951-d872f2087c98