summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* Extension Doc Changes (no building or testable changes)rafaelw@chromium.org2009-12-2135-84/+17
| | | | | | | | This fixes a minor rendering issue on IE7. IE seemed to choking on (probably invalid) html where a <div> was a child of a <ul> Review URL: http://codereview.chromium.org/506068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35104 0039d316-1c4b-4281-b951-d872f2087c98
* Combine ViewHostMsg_{Paint,Scroll}Rect into one IPC.darin@chromium.org2009-12-212-92/+42
| | | | | | | | | | | | | | | | | | | | | | | | The combined IPC means that scrolling only requires one transport DIB instead of two. Previously, we'd use one in the ScrollRect IPC to pass up the pixels for the exposed region, and then we'd use a second one in the PaintRect IPC to pass up the pixels for the updated scroll bar rendering. Now all paints are done using a single transport DIB. Optimize RenderWidgetHostViewWin::OnPaint to only paint the damaged regions. This means calling GetUpdateRgn and GetRegionData to enumerate the list of damage rects. Then only those rects are copied from the backing store. The same optimization is not done for Linux or Mac yet. R=brettw BUG=29591 TEST=none Originally reviewed at http://codereview.chromium.org/506013 Review URL: http://codereview.chromium.org/509005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35078 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 35025 - Revert 34994, maybe it regressed startup perf Fix cpu/memory ↵viettrungluu@chromium.org2009-12-192-6/+7
| | | | | | | | | | | | | | | | | | | measurements on OS X. Right now, this only works for the current process; support for child processes will be added in a later CL. BUG=13156,25454 TEST=Hook up task manager (connect menu item to commandDispatch:, give it the right tag). Stats for the browser process should now be right, and %cpu should be 0 (for now) for all other processes. Review URL: http://codereview.chromium.org/500118 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/504068 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/505056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35043 0039d316-1c4b-4281-b951-d872f2087c98
* Reset the dr key if the toast experiment is cancelled.cpu@chromium.org2009-12-191-0/+5
| | | | | | | | | | | | | | TEST= run the toast experiment and cancel it. Then look at the dr key on HKEY_CURRENT_USER\Software\Google\Update\ClientState\{8A69D345-D564-463C-AFF1-A69D9E530F96} should be "0" BUG=30799 Review URL: http://codereview.chromium.org/502077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35028 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 34994, maybe it regressed startup perf - Fix cpu/memory measurements ↵thakis@chromium.org2009-12-192-7/+6
| | | | | | | | | | | | | | | | on OS X. Right now, this only works for the current process; support for child processes will be added in a later CL. BUG=13156,25454 TEST=Hook up task manager (connect menu item to commandDispatch:, give it the right tag). Stats for the browser process should now be right, and %cpu should be 0 (for now) for all other processes. Review URL: http://codereview.chromium.org/500118 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/504068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35025 0039d316-1c4b-4281-b951-d872f2087c98
* Add a CreateBridge method to the ChildThread.jcampan@chromium.org2009-12-195-83/+54
| | | | | | | | | | | | | The intent is to allow unit-tests that use render view to override ChildThread::CreateBridge() to provide their own resource loading. This is used by the upcoming translate unit-test. BUG=None TEST=None Review URL: http://codereview.chromium.org/503032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35014 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary fix for Google Mail Checker memory leak.mpcomplete@chromium.org2009-12-182-17/+1
| | | | | | | | | | | | We don't have a limit on the number of console messages we hold in memory. Until we can get this bug fixed in WebKit, I'm removing the console.log statements. BUG=29919 Review URL: http://codereview.chromium.org/502081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35001 0039d316-1c4b-4281-b951-d872f2087c98
* Minor copyedit to the description of detectLanguage.kathyw@google.com2009-12-182-2/+2
| | | | | | | | | | TEST=none BUG=none TBR=cira Review URL: http://codereview.chromium.org/501123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34997 0039d316-1c4b-4281-b951-d872f2087c98
* Minor copyedit to i18n, added link to example directory.kathyw@google.com2009-12-182-7/+23
| | | | | | | | | | TEST=none BUG=none TBR=cira Review URL: http://codereview.chromium.org/504061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34995 0039d316-1c4b-4281-b951-d872f2087c98
* Fix cpu/memory measurements on OS X.thakis@chromium.org2009-12-182-6/+7
| | | | | | | | | | | Right now, this only works for the current process; support for child processes will be added in a later CL. BUG=13156,25454 TEST=Hook up task manager (connect menu item to commandDispatch:, give it the right tag). Stats for the browser process should now be right, and %cpu should be 0 (for now) for all other processes. Review URL: http://codereview.chromium.org/500118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34994 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 34983 - Split more targets from chrome.gyp to add support for ↵slightlyoff@chromium.org2009-12-182-43/+0
| | | | | | | | | | | | | | | | | building Native Client for 64bit Windows. This CL is required for supporting Native Client on 64bit Windows. On Win64 we will use a 64bit executable to load NaCl modules. Since we have only one version of Chrome on Windows, this executable has to be built together with 32bit Chrome binaries. For the targets that are required for both 32bit and 64bit builds, this CL moves the shared parts of the target definitions into targetspecific gypi files (such as base.gypi). New 64bit only targets are added. Since we would like to port as few code as possible at this point, some 64bit targets include less source files or less dependencies than the original 32bit targets. These targets will have nacl_win64 in their name to emphasize that they should be used for NaCl only. Some 64bit targets are identical to the 32bit targets in everything except for the target platform these will have only win64 in their name. TEST=none BUG=28176 Review URL: http://codereview.chromium.org/384068 TBR=gregoryd@google.com Review URL: http://codereview.chromium.org/501125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34990 0039d316-1c4b-4281-b951-d872f2087c98
* Add videos to the doc where appropriate.kathyw@google.com2009-12-1810-10/+77
| | | | | | | | | | | | Mostly links, but a few embedded videos. TEST=none BUG=none TBR=aa Review URL: http://codereview.chromium.org/504054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34989 0039d316-1c4b-4281-b951-d872f2087c98
* Split more targets from chrome.gyp to add support for building Native Client ↵gregoryd@google.com2009-12-182-0/+43
| | | | | | | | | | | | | for 64-bit Windows. This CL is required for supporting Native Client on 64-bit Windows. On Win64 we will use a 64-bit executable to load NaCl modules. Since we have only one version of Chrome on Windows, this executable has to be built together with 32-bit Chrome binaries. For the targets that are required for both 32-bit and 64-bit builds, this CL moves the shared parts of the target definitions into target-specific gypi files (such as base.gypi). New 64-bit only targets are added. Since we would like to port as few code as possible at this point, some 64-bit targets include less source files or less dependencies than the original 32-bit targets. These targets will have nacl_win64 in their name - to emphasize that they should be used for NaCl only. Some 64-bit targets are identical to the 32-bit targets in everything except for the target platform - these will have only win64 in their name. TEST=none BUG=28176 Review URL: http://codereview.chromium.org/384068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34983 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for GAFYD.aa@chromium.org2009-12-183-8/+128
| | | | | | Review URL: http://codereview.chromium.org/497003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34982 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure we insert the screenshot into the correct tab by making each tab's ↵skerner@chromium.org2009-12-181-9/+10
| | | | | | | | | | | | | | url different. It was possible to make the existing code insert the image in the wrong tab by clicking the snapshot twice quickly. This change eliminates the race condition that made this possible. BUG=none TEST=Manual testing on Linux, windows. Review URL: http://codereview.chromium.org/502060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34980 0039d316-1c4b-4281-b951-d872f2087c98
* Adds bookmarks.getRecent that returns the recently bookmarked items.arv@chromium.org2009-12-182-0/+211
| | | | | | | | | BUG=None TEST=browser_tests.exe --gtest_filter=ExtensionApiTest.FLAKY_Bookmarks Review URL: http://codereview.chromium.org/503053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34972 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak on ExtensionMessageBundle.cira@chromium.org2009-12-181-6/+6
| | | | | | | | | | Revert valgrind suppresion. BUG=30762 Review URL: http://codereview.chromium.org/501115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34968 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 34951 - Combine ViewHostMsg_{Paint,Scroll}Rect into one IPC.rsesek@chromium.org2009-12-182-42/+92
| | | | | | | | | | | | | | | | | | | | | | | | | The combined IPC means that scrolling only requires one transport DIB instead of two. Previously, we'd use one in the ScrollRect IPC to pass up the pixels for the exposed region, and then we'd use a second one in the PaintRect IPC to pass up the pixels for the updated scroll bar rendering. Now all paints are done using a single transport DIB. Optimize RenderWidgetHostViewWin::OnPaint to only paint the damaged regions. This means calling GetUpdateRgn and GetRegionData to enumerate the list of damage rects. Then only those rects are copied from the backing store. The same optimization is not done for Linux or Mac yet. R=brettw BUG=29591 TEST=none Review URL: http://codereview.chromium.org/506013 TBR=darin@chromium.org Review URL: http://codereview.chromium.org/506075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34953 0039d316-1c4b-4281-b951-d872f2087c98
* Combine ViewHostMsg_{Paint,Scroll}Rect into one IPC.darin@chromium.org2009-12-182-92/+42
| | | | | | | | | | | | | | | | | | | | | | The combined IPC means that scrolling only requires one transport DIB instead of two. Previously, we'd use one in the ScrollRect IPC to pass up the pixels for the exposed region, and then we'd use a second one in the PaintRect IPC to pass up the pixels for the updated scroll bar rendering. Now all paints are done using a single transport DIB. Optimize RenderWidgetHostViewWin::OnPaint to only paint the damaged regions. This means calling GetUpdateRgn and GetRegionData to enumerate the list of damage rects. Then only those rects are copied from the backing store. The same optimization is not done for Linux or Mac yet. R=brettw BUG=29591 TEST=none Review URL: http://codereview.chromium.org/506013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34951 0039d316-1c4b-4281-b951-d872f2087c98
* Added switch to invalidate sync login.akalin@chromium.org2009-12-182-0/+9
| | | | | | | | | BUG=none TEST=manual testing Review URL: http://codereview.chromium.org/500120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34929 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the cmdline "--new-window" that instructs the init sequenceestade@chromium.org2009-12-182-0/+4
| | | | | | | | | | | | | | to open a new window instead of reusing the most recent tab for opening cmdline URLs. BUG=2843 TEST=Run with --new-window switch and confirm that a new window pops up patch by <clemens [at] endorphin dot org> original review: <http://codereview.chromium.org/464060> Review URL: http://codereview.chromium.org/503023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34926 0039d316-1c4b-4281-b951-d872f2087c98
* Extensions: file handling clean up.estade@chromium.org2009-12-188-56/+51
| | | | | | | | | | | | | | | - remove various invalid uses of ASCII functions - properly escape resource requests - clean up file path handling Some work remains to be done on the last bullet point but this is enough to fix the bug. BUG=30509 TEST=see bug Review URL: http://codereview.chromium.org/501046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34923 0039d316-1c4b-4281-b951-d872f2087c98
* Update manifest file's "icons" description.kathyw@google.com2009-12-182-16/+48
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/503014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34911 0039d316-1c4b-4281-b951-d872f2087c98
* Add *Request to the list of API that content scripts can use.kathyw@google.com2009-12-182-2/+26
| | | | | | | | | | | Add link to Message Passing page. TEST=none BUG=none Review URL: http://codereview.chromium.org/505044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34909 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a few benchmark bugs and add some more enhancements:mbelshe@google.com2009-12-182-17/+43
| | | | | | | | | | | | | | | | - benchmarkIndex was not reset between runs, which caused it to sometimes run slightly out-of-order. - rework the way we record initial counters to be on the object rather than accidentally global. - add iterations to the output - add # requests to the output BUG=none TEST=none Review URL: http://codereview.chromium.org/501058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34906 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting the CLD CL altogether, the reliability bot is still red.jcampan@chromium.org2009-12-172-11/+16
| | | | | | | | | BUG=30681 TEST=None TBR=brettw Review URL: http://codereview.chromium.org/504048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34867 0039d316-1c4b-4281-b951-d872f2087c98
* Add links from FAQ to gallery help and to group.kathyw@google.com2009-12-172-0/+16
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/501062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34854 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug in the gmail checker that caused it to schedule 2 requests for eachmpcomplete@chromium.org2009-12-172-3/+2
| | | | | | | | | | | one that timed out. My theory is that this is causing the memory leak with this extension. BUG=29919 Review URL: http://codereview.chromium.org/502046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34849 0039d316-1c4b-4281-b951-d872f2087c98
* Load message catalogs on demand when chrome.i18n.getMessage needs them.cira@chromium.org2009-12-174-28/+17
| | | | | | | | | | | | | 1. Added default locale to the url context 2. Removed old code that was uploading catalogs on load (to renderer) 3. Removed message bundle object from Extension class. BUG=27361 TEST=Open Chrome with --lang=sr and load src\chrome\common\extensions\docs\examples\api\i18n\getMessage extension from chrome://extensions page. Click on icon and text in popup should be localized. Review URL: http://codereview.chromium.org/463011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34846 0039d316-1c4b-4281-b951-d872f2087c98
* Add the right-click context menu for Browser actions and Page Actions.finnur@chromium.org2009-12-172-0/+57
| | | | | | | | | | BUG=29538 TEST=Right-click an extension icon and make sure all the options work for both Page and Browser actions (Options should be grayed out when there is no Options page specified in the manifest). Review URL: http://codereview.chromium.org/486022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34812 0039d316-1c4b-4281-b951-d872f2087c98
* fixes foroshima@chromium.org2009-12-172-5/+7
| | | | | | | | | | | | | | | | crash/non responsive issue in compact navbar. crash when adding tab. new command line switch to start chrome in chromeos layout. changed accelerator to toggle compact navbar to ctrl-shit-c. -0 does not work on chromeos for some reason. BUG=chromium-os:1010, 30612 TEST=None Review URL: http://codereview.chromium.org/500043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34791 0039d316-1c4b-4281-b951-d872f2087c98
* Localizing manifest for installed or unpacked extensions.cira@chromium.org2009-12-169-22/+334
| | | | | | | | | | | | | | | 1. Use _MSG_ format for manifest fields instead of hard-coded names. 2. Localize manifest during installation procedure -> save localized version to prefs. 3. Add current_locale field to manifest so we can detect when chrome locale changes and re-localize manifest. 4. Adds prefs method to MigratePrefs&Write to disk. 5. General refactor of extension_file_util wrt l10n code. 6. Don't localize themes (we can revert this by adding default_locale and current_locale keys to allowed keys for theme section). BUG=27360 Review URL: http://codereview.chromium.org/434015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34749 0039d316-1c4b-4281-b951-d872f2087c98
* Fix labels on the content options page to wrap properly. Also, add a ↵zork@chromium.org2009-12-162-0/+19
| | | | | | | | | | | utility function to allow other labels to do the same. BUG=29797 TEST=Open the content options page, and check that the labels wrap at the width of the page. Review URL: http://codereview.chromium.org/500026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34745 0039d316-1c4b-4281-b951-d872f2087c98
* Only show gray LOADING dialog for Themes.rafaelw@chromium.org2009-12-161-1/+3
| | | | | | | | | | | The patch changes the behavior of the LOADING dialog such that it is only shown for extension downloads from the mini-gallery (theme) url. Note that this means that themes from the chrome extensions gallery will also NOT have the dialog shown. BUG=29628 TEST=Install an theme from https://tools.google.com/chrome/intl/pt/themes/index.html. The gray LOADING dialog should appear. Install extension or theme from chrome.google.com/extensions. No LOADING dialog should appear Review URL: http://codereview.chromium.org/507016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34733 0039d316-1c4b-4281-b951-d872f2087c98
* Makes the language detection happen with every page load jcampan@chromium.org2009-12-162-16/+11
| | | | | | | | | | | | | | | | | | | | as we do with the page indexing. (The language detection was previously done on demand when the extension related API was querying it.) Once detected the language is stored on the navigation entry. It'll be used for the upcoming translation feature. Also I moved the existing language detection from the UI to the file thread. The change required few changes for the chrome.tabs.detectLanguage extension API to still work. BUG=None TEST=Run the browser tests and unit-tests. Review URL: http://codereview.chromium.org/492024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34728 0039d316-1c4b-4281-b951-d872f2087c98
* Arne's OAuth sample.kathyw@google.com2009-12-1613-0/+1268
| | | | | | | | | | | | | | Originally at http://codereview.chromium.org/485012. This sample extension demonstrates using OAuth to connect to Google's contacts service. TEST=none BUG=none Review URL: http://codereview.chromium.org/505009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34725 0039d316-1c4b-4281-b951-d872f2087c98
* Send notifications when single items are removed from autofill.skrul@chromium.org2009-12-161-6/+6
| | | | | | | | | | This patch will send an AUTOFILL_ENTRIES_REMOVED when an autofill entry is removed via WebDataService::RemoveFormValueForElementName() is called (note that the next change will have this implemented for the bulk removal method). This change also includes a bit of refactoring on how the notification details are sent from the WDS thread back to the main thread. Previously I was sending the data back via a WDResult but that didn't work well when expanded to different notifications since there is so way to tell what a given request was for. So I added some fields to the WedDataRequest class to hold the affected keys and the notification type. BUG=30168 Review URL: http://codereview.chromium.org/506001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34721 0039d316-1c4b-4281-b951-d872f2087c98
* Add details to autofill add notificationskrul@chromium.org2009-12-161-3/+6
| | | | | | | | | | This change adds a details payload containing the list of modified keys to the autofill add notification. The existing mechanism for passing values back from query methods (WDResult) is reused here to pass the modified keys back to the caller. BUG=29606 Review URL: http://codereview.chromium.org/477009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34717 0039d316-1c4b-4281-b951-d872f2087c98
* Fix regression where we stopped running content scripts inaa@chromium.org2009-12-164-8/+11
| | | | | | | | | | extension processes. BUG=29621 Review URL: http://codereview.chromium.org/505012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34668 0039d316-1c4b-4281-b951-d872f2087c98
* Significant improvements to the benchmark extension:mbelshe@google.com2009-12-162-49/+153
| | | | | | | | | | | | - enable multi-page testing. - add totals. BUG=none TEST=none Review URL: http://codereview.chromium.org/506021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34638 0039d316-1c4b-4281-b951-d872f2087c98
* Give classes with virtual methods virtual protected destructors instead of ↵jamesr@chromium.org2009-12-163-4/+13
| | | | | | | | | | | | | | | | | | | | | | implicit non-virtual public destructors. Was originally: Replace public nonvirtual destructors in classes with virtual members with protected nonvirtual destructors where possible, and with public virtual destructors where destruction of a derived class occurs. (Excluding chrome/browser/...) (Part 4 of http://www.gotw.ca/publications/mill18.htm has a rationale for why public nonvirtual destructors in classes with virtual members is dangerous.) Patch by: Jacob Mandelson (jlmjln@gmail.com) BUG=none TEST=base_unittests & app_unittests Review URL: http://codereview.chromium.org/200106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34633 0039d316-1c4b-4281-b951-d872f2087c98
* Flip: Comma delimit the various flip options. Redo the fixed testing server ↵willchan@chromium.org2009-12-152-4/+10
| | | | | | | | | | flags. Renames --testing-fixed-server to --testing-fixed-host. Adds --testing-fixed-http-port and --testing-fixed-https-port. Review URL: http://codereview.chromium.org/501032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34624 0039d316-1c4b-4281-b951-d872f2087c98
* The benchmark was broken in multi-process mode.mbelshe@google.com2009-12-151-3/+4
| | | | | | | | | | | | | | Turns out that the extension API changed such that scripts don't run in pages which are hosted in the extension process (like this one). Switch from window.open to the chrome.tab.create() API. BUG=none TEST=none Review URL: http://codereview.chromium.org/501036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34617 0039d316-1c4b-4281-b951-d872f2087c98
* Support custom Linux version strings (e.g. release channel, downstream ↵mmoss@google.com2009-12-151-5/+1
| | | | | | | | | | | vendor name, etc.). Also reformat the Mac/Win version strings as per comments in http://codereview.chromium.org/506007. Review URL: http://codereview.chromium.org/506016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34609 0039d316-1c4b-4281-b951-d872f2087c98
* Move the utility process messages to their own file now that we have more thanbrettw@chromium.org2009-12-154-93/+132
| | | | | | | | | | 16 message types. BUG=none TEST=none Review URL: http://codereview.chromium.org/460119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34597 0039d316-1c4b-4281-b951-d872f2087c98
* Move channel (beta,dev,stable) determination code to a common location.jrg@chromium.org2009-12-154-0/+104
| | | | | | | | | | | | | | | | | | | | Add channel info to about:version. Linux about box work not done. Linux channel determination code still a stub. BUG=30444 How to verify: - on both Mac and Win, with a branded build: - confirm the About Box and about:version have channel info after the version number. Channel for PC comes from the registry so it'll be the channel of your official install, not this build. Channel for Mac comes from the Info.plist so it WILL be from the current version; stable if undefined. Review URL: http://codereview.chromium.org/506007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34583 0039d316-1c4b-4281-b951-d872f2087c98
* Reattempt at r465143. The UI tests rely too heavily on the current behavior ↵andybons@chromium.org2009-12-151-2/+8
| | | | | | | | | | | | | of closing the last window indicating exiting the entire app, so that is left alone for now with a TODO added. From the old description: Mac: Fixes bug where extension background hosts were being cleared when the last window was closed. It assumed that this meant the app was closing. Not the case with Mac apps. Added a mac-only notification APP_TERMINATED and use that to perform cleanup upon shutdown. TEST=More description in the bug, but basically just make sure that background views stick around even after you've closed the last window. BUG=28666 Review URL: http://codereview.chromium.org/502012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34580 0039d316-1c4b-4281-b951-d872f2087c98
* Add link to new themes page on the Chromium wiki.kathyw@google.com2009-12-152-3/+28
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/501010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34560 0039d316-1c4b-4281-b951-d872f2087c98
* Make ProcessWatcher use kqueues on Mac.jeremy@chromium.org2009-12-154-6/+173
| | | | | | | | | | | | | * Port ProcessWatcher::EnsureProcessTerminated() to kqueue() APIs on OS X. * Make ProcessWatcher::EnsureProcessGetsReaped() Linux-only, since it's only used there. * Add a unit test. BUG=12731 TEST=Open Chrome/Mac, open and close a few tabs. Processes shouldn't stay around. Review URL: http://codereview.chromium.org/496007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34547 0039d316-1c4b-4281-b951-d872f2087c98
* Fix badge center-alignment logic.estade@chromium.org2009-12-141-1/+2
| | | | | | | | | | | This was initially fixed in r29152. It regressed in r30994. BUG=27648 TEST=see bug Review URL: http://codereview.chromium.org/506003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34513 0039d316-1c4b-4281-b951-d872f2087c98