summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add untrusted NaCl build for PPAPI proxy.bbudge@chromium.org2012-06-1516-925/+934
| | | | | | | | | | This patch refactors ppapi_shared.gypi and ppapi_proxy.gypi into proper includes, adds ppapi_shared_untrusted and ppapi_proxy_untrusted .gyp files, and integrates them into the nacl_irt build (ppapi/native_client/native_client.gyp). In order to build without link errors, it includes our plugin side initialization of PluginDispatcher, and a PpapiPluginMain definition. When the 'build_ppapi_ipc_proxy_untrusted' gyp flag is set to '1', this will build a working NaCl IRT using the Chrome IPC proxy. BUG=116317 TEST=compiles, runs HelloWorld and GetURL SDK examples. Review URL: https://chromiumcodereview.appspot.com/10546140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142482 0039d316-1c4b-4281-b951-d872f2087c98
* [Chrome OS ECHO]: Change manifest CSP to support Google API CORS requestsgauravsh@chromium.org2012-06-151-2/+2
| | | | | | | | | | | | | | We are switching to CORS requests for making our Google API calls instead of using their JS client (see reason in the bug). This is the corresponding manifest change to only allow a CORS request to our API front end. BUG=chromium-os:31677 TEST=test that extension works with the switch to CORS. Review URL: https://chromiumcodereview.appspot.com/10533071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142481 0039d316-1c4b-4281-b951-d872f2087c98
* Use pprof in the same directory if exists, and add a downloading script.dmikurube@chromium.org2012-06-152-8/+29
| | | | | | | | | | | | | It's to use deep_memory_profiler without checking out the entire Chromium tree. BUG=123750 TEST=run download.sh and dmprof. Review URL: https://chromiumcodereview.appspot.com/10534146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142480 0039d316-1c4b-4281-b951-d872f2087c98
* Added more info to logs to learn why ASAN has NULL locale resourcescr@chromium.org2012-06-151-3/+12
| | | | | | | | | | | | | Another case to LOG for ASAN. Also put more info to explain if it locale hasn't been initialized or is racing a reload. R=tony@chromium.org BUG=95425, 132752 TEST=browser_tests --gtest_filter=WebUIBidiCheckerBrowserTestRTL.*TestSettingsFrameStartup Review URL: https://chromiumcodereview.appspot.com/10545192 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142478 0039d316-1c4b-4281-b951-d872f2087c98
* Disable SystemTray BubbleCreationTypesTest on OS_WINstevenjb@google.com2012-06-151-1/+8
| | | | | | | | | | BUG=127539 TEST=aura_shell_unittests pass on win_aura TBR=sadrul Review URL: https://chromiumcodereview.appspot.com/10566010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142476 0039d316-1c4b-4281-b951-d872f2087c98
* Updated web navigation extension api to use json schema compiler.mtytel@chromium.org2012-06-154-37/+30
| | | | | | | | | | BUG=121174 TEST= Review URL: https://chromiumcodereview.appspot.com/10541190 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142475 0039d316-1c4b-4281-b951-d872f2087c98
* Rename IPC::Channel and IPC::Sender in src/chrome.brettw@chromium.org2012-06-1545-91/+88
| | | | | | | | | | | | Changes code in chrome to use the new names over the old now-typedefed-for-compat ones. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10553010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142474 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromoting] Make ChromotingHost's dependency on libjingle injected, instead ↵simonmorris@chromium.org2012-06-1511-36/+134
| | | | | | | | | | | | | of hard-coded. This will help improve ChromotingHost's unit tests. BUG=86546 Review URL: https://chromiumcodereview.appspot.com/10538091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142473 0039d316-1c4b-4281-b951-d872f2087c98
* Upwards compatibility for Win8 SDK IDataObjectAsyncCapability/IAsyncOperationscottmg@chromium.org2012-06-152-8/+19
| | | | | | | | | | | | The Windows 8 SDK renames this interface (WAT) and documents this new name as being binary-compatible. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10537183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142472 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ash tray bubble RTL alignment issue.jennyz@google.com2012-06-152-7/+20
| | | | | | | | | | | Make bubble arrow not point too close to the edge of the status area. BUG=132385 TEST=ash tray bubble display correctly for rtl language for bottom launcher. Review URL: https://chromiumcodereview.appspot.com/10555007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142471 0039d316-1c4b-4281-b951-d872f2087c98
* Do not enqueue multiple socket writes performing an HTTP chunked requestrsleevi@chromium.org2012-06-153-4/+176
| | | | | | | | | | | | | | | | When performing an HTTP request that uses a chunked transfer encoding, and both the underlying socket and the UploadDataStream provide data asynchronously, ensure that writes to the underlying socket maintain a strict ordering and that only one callback (socket write, chunked data available) is pending at a time. BUG=132243 TEST=HttpStreamParser.AsyncChunkAndAsyncSocket Review URL: https://chromiumcodereview.appspot.com/10536138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142470 0039d316-1c4b-4281-b951-d872f2087c98
* Disable SystemTrayTestItems on OS_WINstevenjb@google.com2012-06-151-1/+8
| | | | | | | | | BUG=133045 TEST=ash_shell_unittests should pass on win_aura Review URL: https://chromiumcodereview.appspot.com/10544184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142469 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the local predictor instantiation for branch point.tburkard@chromium.org2012-06-151-4/+5
| | | | | | | R=cbentzel, dominich Review URL: https://chromiumcodereview.appspot.com/10565007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142468 0039d316-1c4b-4281-b951-d872f2087c98
* Makes fedex preview in color.rltoscano@google.com2012-06-151-0/+1
| | | | | | | | | | BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10532163 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142466 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor ui::HWNDSubclass as follows:varunjain@chromium.org2012-06-157-41/+196
| | | | | | | | | | | | | | | | 1. Ownership of HWNDSubclass should be global since classes not owning the target HWND might want to filter events on that HWND. for example, see cl https://chromiumcodereview.appspot.com/10407023/ 2. Ownership of HWNDMessageFilter should be with the creator and not with the HWNDSubclass. BUG=126586 TEST=modified test Review URL: https://chromiumcodereview.appspot.com/10538029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142465 0039d316-1c4b-4281-b951-d872f2087c98
* Reduces height of search widget.rltoscano@google.com2012-06-152-2/+2
| | | | | | | | | | BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10532165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142464 0039d316-1c4b-4281-b951-d872f2087c98
* Do not use base coordinate system.avi@chromium.org2012-06-151-6/+7
| | | | | | | | | | BUG=132984 TEST=none Review URL: https://chromiumcodereview.appspot.com/10558008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142463 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a 'Print with Cloud Print' link when cloud printers are selected.rltoscano@google.com2012-06-157-12/+58
| | | | | | | | | | BUG=132899 TEST=Make sure the "Print with Google Cloud Print" link appears when a cloud printer is selected. This link should be permanently visible on ChromeOS. Review URL: https://chromiumcodereview.appspot.com/10543169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142462 0039d316-1c4b-4281-b951-d872f2087c98
* Implements a zoom icon in the Omnibox for GTK.khorimoto@chromium.org2012-06-159-127/+521
| | | | | | | | | | TBR=ben BUG=128070 TEST=none Review URL: https://chromiumcodereview.appspot.com/10392020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142461 0039d316-1c4b-4281-b951-d872f2087c98
* Update .DEPS.gitchrome-admin@google.com2012-06-151-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142460 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Enable message loop start UMA measurement on Macjeremy@chromium.org2012-06-154-1/+36
| | | | | | | | | | | | | | Turned out we were only recording this information on Windows. Bug=None TEST=All unit tests should pass BUG= Review URL: https://chromiumcodereview.appspot.com/10557007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142459 0039d316-1c4b-4281-b951-d872f2087c98
* Update expectations.rtenneti@google.com2012-06-151-1/+1
| | | | | | | | | | mac-release-10.5/intl2/commit_charge: http://build.chromium.org/f/chromium/perf/mac-release-10.5/intl2/report.html?history=650&rev=142427&graph=commit_charge TBR=cmp@chromium.org BUG=133047 Review URL: https://chromiumcodereview.appspot.com/10562015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142458 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable regression test for packing and installing extensions on Windows.hebert.christopherj@chromium.org2012-06-153-9/+15
| | | | | | | | | | | | | | | I changed it to wait for NOTIFICATION_CRX_INSTALLER_DONE as that notification is definitely sent after confirmation_requested is set to true. Before, it waited for NOTIFICATION_EXTENSION_INSTALLED which occurs at about the same time, causing the test to be flaky for Windows. BUG=130951 TEST=Yes Review URL: https://chromiumcodereview.appspot.com/10540068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142457 0039d316-1c4b-4281-b951-d872f2087c98
* WK roll: 120435-120455atwilson@chromium.org2012-06-151-1/+1
| | | | | | | | | | | TBR=morrita BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10566004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142456 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 142449 - Restore PPAPI Flash in-process file access.tsepez@chromium.org2012-06-1512-102/+23
| | | | | | | | | | | | | This behaviour is under control of the --ppapi-flash-in-process flag. There will be degraded protection of the pepper flash data directories from compromised renderers under this option (hence the flag). Review URL: https://chromiumcodereview.appspot.com/10533137 TBR=tsepez@chromium.org Review URL: https://chromiumcodereview.appspot.com/10563007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142455 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Update one-click signin bubble on OS Xakalin@chromium.org2012-06-155-137/+289
| | | | | | | | | | | | | | Remove "Learn more" link and add "Undo" button. Also use correct bubble text resource on Linux. BUG=125253 TEST= Review URL: https://chromiumcodereview.appspot.com/10540137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142454 0039d316-1c4b-4281-b951-d872f2087c98
* Flag to enable extended desktoposhima@chromium.org2012-06-152-1/+14
| | | | | | | | | | | This CL depends on http://codereview.chromium.org/10535149/ BUG=123160 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10536188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142453 0039d316-1c4b-4281-b951-d872f2087c98
* Windows: added command line switch to reverse rows of image transport surface.apatrick@chromium.org2012-06-153-9/+194
| | | | | | | | This is because in a branch of ANGLE, pbuffer rows are reversed and this compensates. Review URL: https://chromiumcodereview.appspot.com/9915001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142452 0039d316-1c4b-4281-b951-d872f2087c98
* Omnibox: Create HistoryQuickProvider new scoring field trial.mpearson@chromium.org2012-06-154-14/+123
| | | | | | | | | | | | | | | And add a beacon to the histograms to allow identification of users in it. isherman: for field trial and histogram stuff (all files) sky: for OWNERs approval history stuff BUG= TEST=by hand, changed probabilities of field trial, looked at omnibox behavior and histogram behavior Review URL: https://chromiumcodereview.appspot.com/10532149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142451 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaned up pixel alignment code.avi@chromium.org2012-06-152-8/+10
| | | | | | | | | | BUG=132984 TEST=none Review URL: https://chromiumcodereview.appspot.com/10557009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142450 0039d316-1c4b-4281-b951-d872f2087c98
* Restore PPAPI Flash in-process file access.tsepez@chromium.org2012-06-1512-23/+102
| | | | | | | | | | This behaviour is under control of the --ppapi-flash-in-process flag. There will be degraded protection of the pepper flash data directories from compromised renderers under this option (hence the flag). Review URL: https://chromiumcodereview.appspot.com/10533137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142449 0039d316-1c4b-4281-b951-d872f2087c98
* Show source of proxy settings in net-internals.asanka@chromium.org2012-06-152-14/+19
| | | | | | | | | | | The source of proxy settings is now recorded in the NetLog. Display the source in the Proxy tab and in PROXY_CONFIG_CHANGED events. BUG=none TEST=browser_tests --gtest_filter=NetInternalsTest.netInternalsLogViewPainterPrintAsText Review URL: https://chromiumcodereview.appspot.com/10535176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142448 0039d316-1c4b-4281-b951-d872f2087c98
* Update expectations.rtenneti@google.com2012-06-151-1/+1
| | | | | | | | | | vista-release-dual-core/intl2/times: http://build.chromium.org/f/chromium/perf/vista-release-dual-core/intl2/report.html?history=450&rev=142427 TBR=cmp@chromium.org BUG=133043 Review URL: https://chromiumcodereview.appspot.com/10556018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142447 0039d316-1c4b-4281-b951-d872f2087c98
* Added explanatory note about base coordinate system.avi@chromium.org2012-06-151-0/+2
| | | | | | | | | | BUG=132984 TEST=none Review URL: https://chromiumcodereview.appspot.com/10562005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142446 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes page range issue by rendering preview with page range and fixing pdf ↵rltoscano@google.com2012-06-152-14/+14
| | | | | | | | | | | | preview race condition. BUG=132824 TEST= Review URL: https://chromiumcodereview.appspot.com/10535183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142445 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 142430 - Do not stop audio physical stream immediately after logical ↵kkania@chromium.org2012-06-156-70/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | one had stopped. Wait some time. We are still stopping/closing the stream, as (1) it is better for battery life, and (2) some people can hear active device even when it is playing silence. That increased audio startup latency, especially on Windows, because we are using 3 buffers on Windows. To fix that I changed the code to use 2 buffers on presumable good Windows boxes -- i.e. running non-Vista and having more than single core. Changed unit tests as well. That CL finishes work on browser-side audio mixer. Not sure how important it is, though -- hopefully it will provide some time while implementing renderer-side mixer. That CL also fixes bug 131720. Looks that it was caused by timing change, and starting stream earlier causes less dropped frames. (I still cannot understand why on modern system we should have even single dropped frame, and why slight timing change caused us to drop frame, but that is different question...) BUG=114701 BUG=129190 BUG=131720 BUG=132009 TEST=Should not be noticeable difference in behavior. TEST=Startup of 2nd stream should become somewhat faster. TEST=Run tests on Win7 and XP myself. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141770 Review URL: https://chromiumcodereview.appspot.com/10540034 TBR=enal@chromium.org Review URL: https://chromiumcodereview.appspot.com/10544183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142444 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for testSetTheme and testThemeInFullScreen and add 2 tests to themes.py.vclarke@chromium.org2012-06-151-13/+53
| | | | | | | | | | | | | | | Fix for failing themes.ThemesTest.testSetTheme and themes.ThemesTest.testThemeInFullScreen due to Mac 10.5 deprecation infobar. Add 2 tests: themes.ThemesTest.testThemeUndo and themes.ThemesTest.testThemeOverInstall. BUG=132638,132865 TEST=none NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10452026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142443 0039d316-1c4b-4281-b951-d872f2087c98
* Fix problem of logging in with a password that contains json specialrogerta@chromium.org2012-06-155-47/+156
| | | | | | | | | | | | | characters. BUG=131815 TEST=try to login in with an account that has a json special character like " or \ Review URL: https://chromiumcodereview.appspot.com/10537176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142442 0039d316-1c4b-4281-b951-d872f2087c98
* Only send test sms messages on a switch.stevenjb@google.com2012-06-156-21/+30
| | | | | | | | | | | | | | | Use Shell singleton system/web_notification trays in unittests. Ash notifications have two problems with unit tests: 1. SmsWatcher only expects to be initialized once. The unit tests were creating one instance of SystemTray in the Shell instance created in AshTestBase, and a second was getting created in SystemTrayTest. Both contain a TraySms that initializes SmsWatcher. I expect there could be other side effects of having two system trays, so using the one in Shell in the unit tests seemed best. 2. The Sms stub was always generating test notifications when the default view was shown, which made the unit test behavior difficult to predict. The solution is to put these test messages on a flag. BUG=none TEST=aura_shell_unittests pass with --ash-notify Review URL: https://chromiumcodereview.appspot.com/10553008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142441 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Add a 2x icon for the uber-tray.sadrul@chromium.org2012-06-153-2/+2
| | | | | | | | | | BUG=119832 TEST=none TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10558010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142440 0039d316-1c4b-4281-b951-d872f2087c98
* Update expectations.rtenneti@google.com2012-06-151-1/+1
| | | | | | | | | | mac-release-10.6/intl1/times/t: http://build.chromium.org/f/chromium/perf/mac-release-10.6/intl1/report.html?history=300&rev=142393 TBR=cmp@chromium.org BUG=133034 Review URL: https://chromiumcodereview.appspot.com/10544182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142439 0039d316-1c4b-4281-b951-d872f2087c98
* Update unit_tests.isolate on linux.maruel@chromium.org2012-06-151-0/+45
| | | | | | | | | | | | | | | Should improve unit_tests_swarm success rate on linux, in theory it could become green. R=thakis@chromium.org NOTRY=true BUG=98636 TEST= Review URL: https://chromiumcodereview.appspot.com/10559009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142437 0039d316-1c4b-4281-b951-d872f2087c98
* Add drive search function to fileBrowserPrivate api.tbarzic@chromium.org2012-06-1513-21/+401
| | | | | | | | | BUG=129068 TEST=added RemoteFileSystemExtensionApiTest.ContentSearch Review URL: https://chromiumcodereview.appspot.com/10548032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142436 0039d316-1c4b-4281-b951-d872f2087c98
* Do not use base coordinate system!avi@chromium.org2012-06-151-1/+1
| | | | | | | | | | BUG=132984 TEST=none Review URL: https://chromiumcodereview.appspot.com/10562006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142435 0039d316-1c4b-4281-b951-d872f2087c98
* Convert use of TimeDeltas in remoting/host/it2me_host_user_interface.tedvessenes@gmail.com2012-06-151-2/+2
| | | | | | | | | | R=ajwong@chromium.org BUG=108171 Review URL: https://chromiumcodereview.appspot.com/10543172 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142434 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure GLX context is current in VAVDA functions that require it.posciak@chromium.org2012-06-156-18/+59
| | | | | | | | | | | | | | | | | Make GLX/VA-API callers ensure that the proper GLX context context is current before performing any GLX/VA-API calls. Also remove unused parent glx context handle from VaapiH264Decoder. BUG=128423 TEST=Manual run. Change-Id: I8d2a69e3717aeb3508fb495f28a8c47fc84c8db5 Review URL: https://chromiumcodereview.appspot.com/10559007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142433 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 142408 - Drop frontbuffers with ui-use-gpu-process, synchronized with ↵mmocny@chromium.org2012-06-1517-344/+60
| | | | | | | | | | | | | | | | | | | | browser, decoupled from backbuffer drop. On Aura, every time a tab is backgrounded, RenderWidgetHostViewAura will reset its handle to the front surface. If that tab is foregrounded again, that front surface will not be used until synchronizing with the gpu process to make sure that surface is still available. By doing this, the gpu process knows when it is safe to discard the front surface. RWHVA sends a FrontSurfaceIsProtected(bool, int) message to the gpu process to keep it informed about front surface protection. The int is a state-of-the-world identifier to protect from ABA issues. RWHVA delays sending FrontSurfaceIsProtected(false) until after the current surface is certain to not be in use, namely after the compositor finishes the current frame and the browser thumbnailer is complete. BUG=112842 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10052018 TBR=mmocny@chromium.org Review URL: https://chromiumcodereview.appspot.com/10557014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142432 0039d316-1c4b-4281-b951-d872f2087c98
* Do not use base coordinate system.avi@chromium.org2012-06-151-2/+2
| | | | | | | | | | BUG=132984 TEST=none Review URL: https://chromiumcodereview.appspot.com/10560006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142431 0039d316-1c4b-4281-b951-d872f2087c98
* Do not stop audio physical stream immediately after logical one had stopped.enal@chromium.org2012-06-156-58/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wait some time. We are still stopping/closing the stream, as (1) it is better for battery life, and (2) some people can hear active device even when it is playing silence. That increased audio startup latency, especially on Windows, because we are using 3 buffers on Windows. To fix that I changed the code to use 2 buffers on presumable good Windows boxes -- i.e. running non-Vista and having more than single core. Changed unit tests as well. That CL finishes work on browser-side audio mixer. Not sure how important it is, though -- hopefully it will provide some time while implementing renderer-side mixer. That CL also fixes bug 131720. Looks that it was caused by timing change, and starting stream earlier causes less dropped frames. (I still cannot understand why on modern system we should have even single dropped frame, and why slight timing change caused us to drop frame, but that is different question...) BUG=114701 BUG=129190 BUG=131720 BUG=132009 TEST=Should not be noticeable difference in behavior. TEST=Startup of 2nd stream should become somewhat faster. TEST=Run tests on Win7 and XP myself. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141770 Review URL: https://chromiumcodereview.appspot.com/10540034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142430 0039d316-1c4b-4281-b951-d872f2087c98
* Renders preview in color for DOCS and MOBILE printers.rltoscano@google.com2012-06-151-3/+7
| | | | | | | | | | BUG=131337 TEST= Review URL: https://chromiumcodereview.appspot.com/10559006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142429 0039d316-1c4b-4281-b951-d872f2087c98