summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a race where WebGL would attempt to use the GpuChannel before it was in ↵apatrick@chromium.org2010-07-156-20/+11
| | | | | | | | | | | | | the CONNECTED state. I modified things so that GpuChannelHost goes into the CONNECTED state as soon as the SyncChannel is created. This is safe because any IPC messages that are send are just queued up in the named pipe. TEST=try BUG=none Review URL: http://codereview.chromium.org/2959016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52534 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Pepper 3D GLContext initialization.apatrick@chromium.org2010-07-151-2/+17
| | | | | | | | | TEST=try BUG=none Review URL: http://codereview.chromium.org/3009001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52533 0039d316-1c4b-4281-b951-d872f2087c98
* AcceleratedSurface performs one off GL initialization before attempting to ↵apatrick@chromium.org2010-07-151-0/+4
| | | | | | | | | | | create its offscreen GL context. TEST=try, verify that youtube now works, verify that WebGL still works BUG=49158 Review URL: http://codereview.chromium.org/3019003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52532 0039d316-1c4b-4281-b951-d872f2087c98
* GPU process command buffer stubs are destroyed when channel is closed.apatrick@chromium.org2010-07-156-80/+59
| | | | | | | | | | | | | | | | - This was didn't work by of a reference counting cycle. GPU process no longer automatically terminates when the last channel is closed. - The GPU process will be launched at renderer startup and keep running unless it crashes. Command buffer stubs no longer hold a strong reference to their parent. TEST=try BUG=none Review URL: http://codereview.chromium.org/2903006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52531 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 52460 - Suppress intentional leaks in sanity tests on Mac valgrind bots.thestig@chromium.org2010-07-151-16/+0
| | | | | | | | | | | | | This change adds suppression rules to cover the recent symbol changes in ToolsSanityTests. BUG=none TEST=none Review URL: http://codereview.chromium.org/3021001 TBR=hbono@chromium.org Review URL: http://codereview.chromium.org/3035001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52529 0039d316-1c4b-4281-b951-d872f2087c98
* Move implementation from header to source.erg@chromium.org2010-07-1542-257/+789
| | | | | | | | | | | | | | | | | | | | This is an effort to speed up compile and link time, and also minimizing the size of the intermediary .o files on disk. For example, just moving the constructor/destructor from the classes in chrome/browser/pref_member.{cc,h} netted a 368k drop in total .o file size. In aggregate, this shrinks libbrowser.a by 10 megabytes, and a few odd megabytes on most other chrome .a files. A lot of this was done before I started harvesting what the most included symbols were across all of chrome's code. Most of them are in webkit, but there's plenty in base/ that are used everywhere to keep me busy for several patches to come. BUG=none TEST=none Review URL: http://codereview.chromium.org/3012001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52528 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Code cleanup after the last cl.rvargas@google.com2010-07-156-364/+316
| | | | | | | | | | BUG=26730 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52527 0039d316-1c4b-4281-b951-d872f2087c98
* position the balloons after closing in a way that will keep the next one's ↵johnnyg@chromium.org2010-07-159-15/+215
| | | | | | | | | | close button under your mouse; don't reposition them to the normal place until the mouse has left the balloon collection BUG=47333 TEST=make notifications of different sizes, try to close them all; the X should remain under your mouse Review URL: http://codereview.chromium.org/2915003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52526 0039d316-1c4b-4281-b951-d872f2087c98
* Advanced (Under the Hood) dom-ui progress.csilv@chromium.org2010-07-1512-49/+378
| | | | | | | | | | | | | - Complete implementation of SSL security options for all platforms. - Implemented the 'Clear auto-opening settings' button. - Correctly show logging checkbox for Chrome builds only. - Mostly-complete support for the download path section. BUG=48482 TEST=Exercise advanced panel in options window using --enable-tabbed-options. Review URL: http://codereview.chromium.org/2893012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52525 0039d316-1c4b-4281-b951-d872f2087c98
* Make UpgradeDetector work on the Mac.mark@chromium.org2010-07-155-27/+87
| | | | | | | | | | This is the backend work only. There's no UI yet. BUG=45147 TEST=manual Review URL: http://codereview.chromium.org/3032001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52524 0039d316-1c4b-4281-b951-d872f2087c98
* ChromeFrame tabs would hang at times while closing. This would randomly ↵ananta@chromium.org2010-07-1513-40/+131
| | | | | | | | | | | | | | | | | | | | | | | | occur if the page had an unload handler. We execute unload handlers in the WM_DESTROY message in the external tab and spin a nested loop waiting for the unload handlers to finish. This causes a deadlock at times if a windows message is dispatched to IE which is blocked in DestroyWindow. The fix is to remove the nested loop mess from the external tab and instead send over a special automation message to Chrome in which context we execute the unload handlers. The message contains the notification window and the actual window message to be posted back when the unload handlers finish executing. The active document/activex spin a GetMessage loop waiting for this message to arrive. To ensure that we don't wait indefinitely we have a 1 second timer and exit the loop if this timer is received. Fixes bug http://code.google.com/p/chromium/issues/detail?id=49132 Bug=49132 Test=Covered by existing unload event test. Review URL: http://codereview.chromium.org/3014001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52523 0039d316-1c4b-4281-b951-d872f2087c98
* Expose cookie get/set to pyautoalyssad@chromium.org2010-07-155-0/+78
| | | | | | Review URL: http://codereview.chromium.org/2903008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52522 0039d316-1c4b-4281-b951-d872f2087c98
* Rolled tango to @34.akalin@chromium.org2010-07-151-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2928012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52521 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for printing of Pepper v2 plugins.sanjeevr@chromium.org2010-07-1510-2/+460
| | | | | | | | | BUG=None TEST=Test printing with Chrome PDF Pepper v2 plugin. Review URL: http://codereview.chromium.org/2819047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52520 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix null dereference in ↵mattm@chromium.org2010-07-151-3/+3
| | | | | | | | | | | | WebPluginDelegatePepper::Device3DInitializeContext error case. CID=8366 BUG=none TEST=none Review URL: http://codereview.chromium.org/2802035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52519 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: fix missing break in GetOIDText, missing commas in ↵mattm@chromium.org2010-07-151-0/+2
| | | | | | | | | | | | ProcessCrlDistPoints output. CID=11580,8827 BUG=none TEST=none Review URL: http://codereview.chromium.org/3015001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52518 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix missing const on ↵mattm@chromium.org2010-07-152-4/+4
| | | | | | | | | | | | WebPluginDelegatePepper::Device3DCreateContext override arg. CID=8540 BUG=none TEST=none Review URL: http://codereview.chromium.org/2881014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52517 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Fix missing const on RendererWebIDBIndexImpl and ↵mattm@chromium.org2010-07-154-14/+14
| | | | | | | | | | | | RendererWebIDBDatabaseImpl methods. CID=9390,9389,9388,10844,10845,10846,10847 TEST=none BUG=none Review URL: http://codereview.chromium.org/2891023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52516 0039d316-1c4b-4281-b951-d872f2087c98
* Give imported bookmarks the properly themed button text.jrg@chromium.org2010-07-152-3/+18
| | | | | | | | | | | | | BUG=http://crbug.com/46734 TEST=new profile. Open bookmark bar. Install Maria Carey theme. Add a bookmark --> text is white. Import bookmarks --> text of new buttons is also white (not black). Review URL: http://codereview.chromium.org/2958016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52515 0039d316-1c4b-4281-b951-d872f2087c98
* Fix uninitialized memory error caused by r50606.pinkerton@chromium.org2010-07-152-12/+3
| | | | | | | BUG=48269 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52514 0039d316-1c4b-4281-b951-d872f2087c98
* GTK/Mac: Switch the zoom buttons to the opposite order.erg@chromium.org2010-07-151-2/+2
| | | | | | | | | | | A views implementation will be needed since it doesn't follow the model. BUG=48332 TEST=Minus is on the left, Plus is on the right. Review URL: http://codereview.chromium.org/3013002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52513 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor how ClientSocketPoolBaseHelper avoids re-entrancy.willchan@chromium.org2010-07-1517-128/+164
| | | | | | | | | Specifically, we defer asynchronous user callbacks to tasks. BUG=48861 Review URL: http://codereview.chromium.org/2994003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52509 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a new PyAuto hook for importing settings.alyssad@chromium.org2010-07-155-0/+153
| | | | | | | | BUG=43231 Review URL: http://codereview.chromium.org/2923010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52508 0039d316-1c4b-4281-b951-d872f2087c98
* [GTK] correct tabstrip drag point calculation.estade@chromium.org2010-07-151-3/+3
| | | | | | | | | | | Must account for discrepancy between widget->window coordinates and widget coordinates. BUG=48774 TEST=see bug Review URL: http://codereview.chromium.org/3003001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52507 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Read the index and data_0 files in a singlervargas@google.com2010-07-158-86/+174
| | | | | | | | | | | | | | | | operation to reduce multiple IO operations generated by on-demand paging. Also, generate extra histograms and improve the scale of some others. BUG=none TEST=net_unittests Review URL: http://codereview.chromium.org/2891022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52506 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 52486 - Display a tab modal dialog of the allowed/blocked cookies.dmaclach@chromium.org2010-07-1535-2149/+3
| | | | | | | | | | | | BUG=45230 TEST=CollectedCookiesTest.* Review URL: http://codereview.chromium.org/2907003 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/3016003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52505 0039d316-1c4b-4281-b951-d872f2087c98
* SerializerTests.SerializeHTMLDOMWithNonStandardEntitiesojan@google.com2010-07-151-4/+1
| | | | | | | | | | fails after http://trac.webkit.org/changeset/63403 due to different text node coalescing. There's no reason for this test to use the text node to read the content. Review URL: http://codereview.chromium.org/2878030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52504 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome ARM build fix.erg@chromium.org2010-07-151-0/+1
| | | | | | Review URL: http://codereview.chromium.org/2870052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52503 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for the "clear pending" server / storage backend state.tim@chromium.org2010-07-1513-36/+155
| | | | | | | | | BUG=46807 TEST=SyncerThreadWithSyncerTest, SyncSetupWizardTest, SyncerProtoUtilTest Review URL: http://codereview.chromium.org/2976011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52502 0039d316-1c4b-4281-b951-d872f2087c98
* Fix missing throbber in sync dialogs. This actually does a number of things:pkasting@chromium.org2010-07-157-41/+33
| | | | | | | | | | | | | * Correct throbber path in choose_datatypes.html (I overlooked this) * Change CSS style settings for throbber to a form the inliner could understand, so the image got inlined properly * Remove references to throbber path from sync_setup_wizard.cc (no longer needed) * Fix improper use of url_constants.* (only paths that need to be in common/ should be there) and change sync hostname constant name to match other hostnames' naming scheme BUG=40984 TEST=Signing into GAIA in sync setup dialog should show a throbber Review URL: http://codereview.chromium.org/2840035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52501 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up theme_resources.grd:pkasting@chromium.org2010-07-1551-79/+24
| | | | | | | | | | | * Remove unreferenced identifiers * A few alphebetization/sorting/commenting issues BUG=none TEST=none Review URL: http://codereview.chromium.org/3002001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52500 0039d316-1c4b-4281-b951-d872f2087c98
* Display the error code when certificates fail to adddavidben@chromium.org2010-07-152-4/+11
| | | | | | | | | | | We really want to make error strings, but this is a start. BUG=43906 TEST=none Review URL: http://codereview.chromium.org/2859026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52499 0039d316-1c4b-4281-b951-d872f2087c98
* net: add commentsagl@chromium.org2010-07-152-3/+9
| | | | | | | | | | | This is a follow up change to add some requested comments from r52079's review. TEST=none BUG=27507 http://codereview.chromium.org/2943001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52497 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt four at landing the "histogram.h removed from message_loop.h" patch.erg@chromium.org2010-07-1575-80/+123
| | | | | | | | | | | | | | Previously committed as r52349 and r52336. Related commits: r52367, r52364 and r52343. Rerunning trybots due to previous trybot breakage. TEST=none BUG=none Review URL: http://codereview.chromium.org/2965015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52496 0039d316-1c4b-4281-b951-d872f2087c98
* FTP: add more detailed error codes based on RFC 959.phajdan.jr@chromium.org2010-07-154-106/+154
| | | | | | | | | | | This does not handle all cases yet, for simplicity. TEST=net_unittests BUG=none Review URL: http://codereview.chromium.org/2985012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52495 0039d316-1c4b-4281-b951-d872f2087c98
* Do not wrap non-HTTP(s) requests.stoyan@chromium.org2010-07-151-1/+7
| | | | | | Review URL: http://codereview.chromium.org/2893015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52494 0039d316-1c4b-4281-b951-d872f2087c98
* Rename DownloadRequestManager to DownloadRequestLimiter.phajdan.jr@chromium.org2010-07-1517-155/+156
| | | | | | | | | | | | We already have too many classes named Manager in the download code. This also contains some minor cleanup changes like comment updates. TEST=unit_tests, browser_tests, ui_tests BUG=48913 Review URL: http://codereview.chromium.org/3011001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52493 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bad merge in ClientSocketPoolBaseHelper.vandebo@chromium.org2010-07-151-6/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3013001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52490 0039d316-1c4b-4281-b951-d872f2087c98
* Boot prefetch optimization for Chrome Frame (experimental)amit@chromium.org2010-07-151-45/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If chrome is warmed up during a single reboot, it gets paged in for subsequent reboots and the cold startup times essentially look like warm times thereafter! The 'warm up' is done by setting up a 'RunOnce' key during DLLRegisterServer of npchrome_frame.dll. This works because chrome prefetch becomes part of boot prefetch file ntosboot-b00dfaad.pf and paged in on subsequent reboots. As long as the sytem does not undergo significant memory pressure those pages remain in memory and we get pretty amazing startup times, down to about 300 ms from 1200 ms The downside is: - Whether chrome frame is used or not, there's a read penalty (1200-300 =) 900 ms for every boot. - Heavy system memory usage after reboot will nullify the benefits but the user will still pay the cost. - Overall the time saved will always be less than total time spent paging in chrome - We are not sure when the chrome 'warm up' will age out from the boot prefetch file. The idea here is to try this out on chrome frame dev channel and see if it produces a significant drift in startup numbers. Review URL: http://codereview.chromium.org/2936010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52489 0039d316-1c4b-4281-b951-d872f2087c98
* Send large dump file for canary build. Also fix a similarhuanr@chromium.org2010-07-152-1/+4
| | | | | | | | | | | | error in comments. BUG=49085 TEST="about:crash" in canary build. The dump file should be of large dump type. Review URL: http://codereview.chromium.org/2946017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52488 0039d316-1c4b-4281-b951-d872f2087c98
* Implement disabling of plugins through policydanno@chromium.org2010-07-1518-43/+372
| | | | | | | | | TEST=manual testing of plugins page, ConfigurationPolicyPrefStoreTest* BUG=45856 Review URL: http://codereview.chromium.org/2833034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52487 0039d316-1c4b-4281-b951-d872f2087c98
* Display a tab modal dialog of the allowed/blocked cookies.jochen@chromium.org2010-07-1535-3/+2149
| | | | | | | | | BUG=45230 TEST=CollectedCookiesTest.* Review URL: http://codereview.chromium.org/2907003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52486 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Put buttons into the new unified Wrench menu.rsesek@chromium.org2010-07-1515-39/+1042
| | | | | | | | | | | | This also makes changes to MenuController to support NIB-based initialization. Screen shots: http://cl.ly/1cyU (en) and http://cl.ly/1cyE (ru). BUG=47848 TEST=Click on Wrench menu and see buttons. Buttons perform their function. Review URL: http://codereview.chromium.org/2923009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52485 0039d316-1c4b-4281-b951-d872f2087c98
* Windows: Fix opacity of drag images.thakis@chromium.org2010-07-154-16/+65
| | | | | | | | | BUG=XXX TEST=Go to google.com, drag logo around. Preview image should now look nice. Review URL: http://codereview.chromium.org/2963009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52484 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Implement WebCursorInfo::TypeNone (i.e., invisible) cursor.viettrungluu@chromium.org2010-07-151-1/+27
| | | | | | | | | BUG=48906 TEST=Write a Pepper plugin which uses the Pepper API to set an invisible cursor. Make sure the cursor disappears over the plugin area. Review URL: http://codereview.chromium.org/2958007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52483 0039d316-1c4b-4281-b951-d872f2087c98
* Another whitespace change.agl@chromium.org2010-07-151-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52482 0039d316-1c4b-4281-b951-d872f2087c98
* Another whitespace change to trigger a build.agl@chromium.org2010-07-151-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52481 0039d316-1c4b-4281-b951-d872f2087c98
* Whitespace change to trigger a build.agl@chromium.org2010-07-151-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52480 0039d316-1c4b-4281-b951-d872f2087c98
* allow editing of hompage preferences on Windows, that are not locked by policiesmnissler@chromium.org2010-07-153-22/+61
| | | | | | | | | | | | | | Only disable those homepage-related gui controls, that are explicitly overridden by policies. This is a different solution than the expected behavior described in the bug below. The main point is that it avoids the ambiguous state, when the user has HomepageIsNewTabPage=true selected, and the policies only specify the HomepageLocation URL. BUG=46486 TEST=manual Review URL: http://codereview.chromium.org/2843022 Patch from Gabor Feher <gfeher@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52477 0039d316-1c4b-4281-b951-d872f2087c98
* Implement wifi geolocation for Chrome OSjoth@chromium.org2010-07-156-89/+105
| | | | | | | | | | | | Update network_library to use libcros to fetch wifi access point list, and update the geolocation code to use this for wifi scanning. Depends on changes codereview.chromium.org/2927007 and codereview.chromium.org/2958008 (will be landed after them both) BUG=45671 TEST=Open maps.google.com/maps/m on netbook with wifi enabled, it should go to your location with a few hundred Review URL: http://codereview.chromium.org/2905008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52476 0039d316-1c4b-4281-b951-d872f2087c98