summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* VAVDA: Properly size the picture vector before using itmarcheu@chromium.org2012-08-211-5/+10
| | | | | | | | | | | | | | | | | Otherwise this causes memory corruption, which eventually makes the GPU process crash, usually inside tcmalloc functions. BUG=chromium:142452 TEST=by hand, attach gdb to the gpu process, navigate to TEST=http://www.apple.com/html5/showcase/video/ and press reload multiple TEST=times Change-Id: Ia6040e73eed7307c79f06bfff1514eef8bb4f2ed Review URL: https://chromiumcodereview.appspot.com/10834411 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152509 0039d316-1c4b-4281-b951-d872f2087c98
* Write to new WebGestureEvent fieldsrbyers@chromium.org2012-08-212-0/+35
| | | | | | | | | | | | | | This is step 2 in cleaning up WebGestureEvent. New fields were added in http://trac.webkit.org/changeset/125981. Once WebKit is updated to use these new fields, I'll submit another CL which stop settings the old ones. BUG=143237 Review URL: https://chromiumcodereview.appspot.com/10828387 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152508 0039d316-1c4b-4281-b951-d872f2087c98
* Upgrade AudioBus to support wrapping, interleaving.dalecurtis@chromium.org2012-08-211-14/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduces AudioBus::WrapMemory(...) for constructing an AudioBus object via an existing block of memory. Introduces AudioBus::CalculateMemorySize(...) for sizing the shared memory without having to create an empty AudioBus. Introduces AudioBus::FromInterleaved(...) and AudioBus:: ToInterleaved() for converting between formats. Fixes off by one errors in our existing audio_util implmentations. Removes InterleaveFloatToInt from audio_util. Removes data(), data_size() methods in favor of CopyTo() helper method combined with AudioBus::WrapMemory(). And of course adds new tests for all of the above. This CL is an extraction of all AudioBus functionality required to land the WIP CL which converts browser side to use AudioBus: http://codereview.chromium.org/10832285/ BUG=114700, 120319 TEST=unit tests under ASAN. Review URL: https://chromiumcodereview.appspot.com/10824304 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152494 0039d316-1c4b-4281-b951-d872f2087c98
* net: Make UploadData::Element an independent classhashimoto@chromium.org2012-08-212-15/+15
| | | | | | | | | | | | | This is a part of the ongoing refactoring of net::UploadData. UploadData::Element is renamed to UploadElement and is moved from upload_data.cc/h to upload_element.cc/h. BUG=None TEST=net_unittests TBR=kinuko@chromium.org,darin@chromium.org Review URL: https://chromiumcodereview.appspot.com/10827425 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152481 0039d316-1c4b-4281-b951-d872f2087c98
* win: Make GPU process crash on exit once it has successfully initialized.apatrick@chromium.org2012-08-211-0/+10
| | | | | | | | This is to find out if the GPU process exits after initialization for any other reason. Review URL: https://chromiumcodereview.appspot.com/10864002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152469 0039d316-1c4b-4281-b951-d872f2087c98
* Disable seccomp-legacy if --no-sandbox is passed.jln@chromium.org2012-08-211-4/+6
| | | | | | | | | BUG=143795 Review URL: https://chromiumcodereview.appspot.com/10834419 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152458 0039d316-1c4b-4281-b951-d872f2087c98
* Add full ARM syscall list.jorgelo@chromium.org2012-08-211-7/+1
| | | | | | | | | | BUG=141157 TEST=Build and boot on daisy, check about:sandbox for "Seccomp-BPF Yes". Review URL: https://chromiumcodereview.appspot.com/10837316 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152448 0039d316-1c4b-4281-b951-d872f2087c98
* Fix leak in Mac PowerSaveBlocker.avi@chromium.org2012-08-211-2/+7
| | | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10832392 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152440 0039d316-1c4b-4281-b951-d872f2087c98
* Add comments to HistogramFlatterner interface and rename a functionkaiwang@chromium.org2012-08-202-6/+11
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10857067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152434 0039d316-1c4b-4281-b951-d872f2087c98
* Make printf and LOG output to cmd console for Windowsjbates@chromium.org2012-08-201-0/+6
| | | | | | | | | BUG=142722 Review URL: https://chromiumcodereview.appspot.com/10832309 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152432 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 152406 - Introduce shared_memory_support media target for PPAPI.dalecurtis@google.com2012-08-204-5/+3
| | | | | | | | | | | | | | | | | | | Allows PPAPI to directly utilize shared memory utility code instead of duplicating it and CHECK'ing for equivalency. Required to eventually convert PPAPI to using an AudioBus and floats in PPB_Audio_Shared::Run(). http://crbug.com/114700 BUG=123203 TEST=unittests Review URL: https://chromiumcodereview.appspot.com/10826296 TBR=dalecurtis@chromium.org Review URL: https://chromiumcodereview.appspot.com/10837350 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152431 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 150969 - Disable getting histogram data from child processes other ↵rtenneti@chromium.org2012-08-201-2/+0
| | | | | | | | | | | | | | | | | than the renderer processes. Store the histogram name in the local variable for debugging purposes when we crash. R=jar TBR=jam BUG=140688 TEST=base (histogram unit tests) and unit_tests. Review URL: https://chromiumcodereview.appspot.com/10831247 TBR=rtenneti@google.com Review URL: https://chromiumcodereview.appspot.com/10865002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152427 0039d316-1c4b-4281-b951-d872f2087c98
* Removed benchmark results object from rendering benchmarks, now one result ↵dmurph@chromium.org2012-08-205-101/+57
| | | | | | | | per benchmark Review URL: https://chromiumcodereview.appspot.com/10827421 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152426 0039d316-1c4b-4281-b951-d872f2087c98
* Attached data cleanup.avi@chromium.org2012-08-202-13/+3
| | | | | | | | | | | | | | | Clean up comments on SupportsUserData. Fix typos in ResourceContextImpl. Remove use of PropertyBag from ExtensionService as it hasn't been used since r135419. Remove use of PropertyBag from RenderWidgetHostImpl as it hasn't been used since r83122. BUG=141177 TEST=none Review URL: https://chromiumcodereview.appspot.com/10824342 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152421 0039d316-1c4b-4281-b951-d872f2087c98
* VAVDA: Clarify curr_pic_ ownership in FinishPicture().posciak@chromium.org2012-08-201-6/+15
| | | | | | | | | | | This ensures that curr_pic_ is properly freed after FinishPicture() returns. BUG=143739 TEST=by hand Review URL: https://chromiumcodereview.appspot.com/10824341 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152408 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce shared_memory_support media target for PPAPI.dalecurtis@chromium.org2012-08-204-3/+5
| | | | | | | | | | | | | | | | Allows PPAPI to directly utilize shared memory utility code instead of duplicating it and CHECK'ing for equivalency. Required to eventually convert PPAPI to using an AudioBus and floats in PPB_Audio_Shared::Run(). http://crbug.com/114700 BUG=123203 TEST=unittests Review URL: https://chromiumcodereview.appspot.com/10826296 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152406 0039d316-1c4b-4281-b951-d872f2087c98
* Add histograms for network activity, and total/cumulativetburkard@chromium.org2012-08-202-4/+4
| | | | | | | | histograms for cache/network activity. R=rvargas@chromium.org, mmenke@chromium.org Review URL: https://chromiumcodereview.appspot.com/10834313 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152398 0039d316-1c4b-4281-b951-d872f2087c98
* Enable verbose logging during PluginMsg_CreateInstance.bauerb@chromium.org2012-08-202-7/+35
| | | | | | | | | | | | | This should get rid of the spurious ERROR messages when closing tabs, and log backtraces when we need them. BUG=141055 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151975 Review URL: https://chromiumcodereview.appspot.com/10834355 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152395 0039d316-1c4b-4281-b951-d872f2087c98
* Replaced static URLRequestFileJob factory with non-static protocol handler ↵shalev@chromium.org2012-08-201-1/+4
| | | | | | | | | | | | | for File jobs This is a refactor and shouldn't have any visible behavioral change. BUG=crbug.com/142945 TEST=browser_tests --single_process --gtest_filter=FullscreenControllerTest.FullscreenFileURL Review URL: https://chromiumcodereview.appspot.com/10700117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152381 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 152040 - GPU process exits with error code on failure to initialize.apatrick@chromium.org2012-08-201-7/+2
| | | | | | | | | | | I think exiting with no error is counted as a GPU process crash for crash stats purposes. Review URL: https://chromiumcodereview.appspot.com/10823375 TBR=apatrick@chromium.org Review URL: https://chromiumcodereview.appspot.com/10854235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152380 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the indexed db pyauto tests to content_browsertests.jam@chromium.org2012-08-209-1/+346
| | | | | | | BUG=140919,143637 Review URL: https://chromiumcodereview.appspot.com/10828378 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152373 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] Implement WebSettings.{get|set}Allow{Content|File}Access.mnaganov@chromium.org2012-08-202-0/+53
| | | | | | | | This is as much as we can put upstream now. Review URL: https://chromiumcodereview.appspot.com/10827380 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152318 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] rename layout_test_controller{,_host,_bindings}.* to ↵jochen@chromium.org2012-08-2014-86/+86
| | | | | | | | | | | | webkit_test_runner BUG=111316 TEST=none TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10860037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152311 0039d316-1c4b-4281-b951-d872f2087c98
* Delete an obsolete comment on RenderWidgetHost::CopyFromBackingStore.mazda@chromium.org2012-08-201-3/+0
| | | | | | | | BUG=118571 Review URL: https://chromiumcodereview.appspot.com/10823384 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152304 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 152213 - Replace the DownloadFileManager with direct ownership of ↵rdsmith@chromium.org2012-08-1934-1010/+1648
| | | | | | | | | | | | | | | | | | | | DownloadFile. This CL is a re-land of http://codereview.chromium.org/10799005, which was reverted due to test flakiness. BUG=123998 R=benjhayden@chromium.org TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10836293 BUG=143600 TBR=rdsmith@chromium.org Review URL: https://chromiumcodereview.appspot.com/10861002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152282 0039d316-1c4b-4281-b951-d872f2087c98
* Add a completion callback to gpuBenchmarking.beginSmoothScrollnduca@chromium.org2012-08-188-24/+123
| | | | | | | | | R=piman@chromium.org Review URL: https://chromiumcodereview.appspot.com/10837330 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152255 0039d316-1c4b-4281-b951-d872f2087c98
* Move StoragePartition into content/public and remove ↵ajwong@chromium.org2012-08-1820-286/+366
| | | | | | | | | | | | | | BrowserContext::GetDOMStorageContext(). Eventually all the storage context accessors will be removed from BrowserContext. Instead, users should retrieve the storage context from the StoragePartition. This also changes RenderProcessHost to take in a StoragePartition removing the need for a re-lookup its storage contexts. BUG=85121,143486 Review URL: https://chromiumcodereview.appspot.com/10837230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152251 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize FilePath with FilePath::FilePath(string) instead of ↵alokp@chromium.org2012-08-181-2/+2
| | | | | | | | | | | FilePath::AppendASCII(string). FilePath::AppendASCII(string) expects string to be relative path only. BUG=142421 Review URL: https://chromiumcodereview.appspot.com/10832379 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152248 0039d316-1c4b-4281-b951-d872f2087c98
* Made result_filefaceid output optional in FontConfigIPC::Match. There are ↵alokp@chromium.org2012-08-181-1/+2
| | | | | | | | | | cases when we are only interested in result_family. BUG=142421 Review URL: https://chromiumcodereview.appspot.com/10836242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152247 0039d316-1c4b-4281-b951-d872f2087c98
* Add GPU memory tab to the task manager.ccameron@chromium.org2012-08-1816-12/+251
| | | | | | | | | | | | | | | | Each renderer process will have all of the resources that the GPU process has allocated on its behalf (including WebGL resources, compositor resources, and the backbuffer) included in its printed total. The GPU process will have the all resources currently allocated by the GPU process in its column. This will be approximately the sum of all other rows. The row for the GPU process is printed in ()s to draw attention to the fact that its size includes duplicates from other processes' sizes. I happy this UI scheme (having played with a few), but I'd wider feedback. Note that we do not account for swapchains or for backbuffers allocated by the browser process, so those allocations are not counted in the total. BUG=140157 Review URL: https://chromiumcodereview.appspot.com/10854076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152233 0039d316-1c4b-4281-b951-d872f2087c98
* Defer GestureTapDown events briefly.rjkroege@chromium.org2012-08-185-60/+205
| | | | | | | | | | | | | | | | | | | | GestureTapDown events are always handled by the WK thread. They are frequently followed by a GestureScrollStart which can be handled on the compositor thread. In this case, the GTD event is unnecessary and its only side effect is to make the compositor thread block on the WK thread. This makes touchscreen scrolling sluggish if the WK thread is busy. This change defers sending the GTD briefly so that it can be suppressed if the GTD event is part of a scroll gesture. This increases the likelyhood that a scroll gesture can be successfully handled on the compositor thread. BUG=137555 TESTS= by hand, by unit test. Review URL: https://chromiumcodereview.appspot.com/10855200 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152230 0039d316-1c4b-4281-b951-d872f2087c98
* Replace the DownloadFileManager with direct ownership of DownloadFile.rdsmith@chromium.org2012-08-1834-1648/+1010
| | | | | | | | | | | | | | This CL is a re-land of http://codereview.chromium.org/10799005, which was reverted due to test flakiness. BUG=123998 R=benjhayden@chromium.org TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10836293 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152213 0039d316-1c4b-4281-b951-d872f2087c98
* Fix user agent override restoration pipelinedfalcantara@chromium.org2012-08-182-0/+6
| | | | | | | | | | | | | | | There were some disconnects in the pipeline that prevented the user agent override string from being saved and restored from the temporary tab structions in sessions/, but couldn't be tested on Android because the pathways weren't being exercised in the same way. This CL finishes hooking it up for ChromeOS (and presumably the other platforms). BUG=140600 Review URL: https://chromiumcodereview.appspot.com/10827168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152207 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] Add support for layout tests using content_shell on Android ↵jochen@chromium.org2012-08-183-21/+43
| | | | | | | | | | | | | | | (first step). Added support for dumping pixel results, and signalling the server that we're ready. BUG=111316 TEST=none Review URL: https://chromiumcodereview.appspot.com/10824351 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152202 0039d316-1c4b-4281-b951-d872f2087c98
* beginSmoothScroll tries to do a simple animation for a given length in ↵nduca@chromium.org2012-08-171-6/+6
| | | | | | | | seconds, specified as a double. To do a half-second animation, it did base::TimeDelta::FromSeconds(0.5). base::TimeDelta::FromSeconds takes an in64, so this silently converts to FromSeconds(0) causing the smooth scroll to do exactly one step and stop. Review URL: https://chromiumcodereview.appspot.com/10825407 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152186 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] rip out code that moves windows off screen during layout testsjochen@chromium.org2012-08-173-20/+2
| | | | | | | | | | | | It just makes debugging difficult BUG=111316 TEST=none Review URL: https://chromiumcodereview.appspot.com/10857057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152181 0039d316-1c4b-4281-b951-d872f2087c98
* Make content_browsertests support restarts across a test.jam@chromium.org2012-08-176-7/+33
| | | | | | | BUG=90448 Review URL: https://chromiumcodereview.appspot.com/10855231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152174 0039d316-1c4b-4281-b951-d872f2087c98
* Use GPU blacklist to control accelerated video decode.zmo@chromium.org2012-08-172-12/+7
| | | | | | | | BUG=137247,142402,141500,139683 TEST=about:gpu page Review URL: https://chromiumcodereview.appspot.com/10832356 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152167 0039d316-1c4b-4281-b951-d872f2087c98
* Mark Tulip as flaky on Mac.dalecurtis@chromium.org2012-08-171-4/+10
| | | | | | | | | | | | | | | | Tulip was incorrectly marked flaky on all platforms due to an issue where #define and TEST_P don't interact well (see issue 143151). Also cleans up the disabled Flac test to use proper DISABLED_ syntax instead of being commented out. BUG=141020, 142896 TEST=media_browsertests. Review URL: https://chromiumcodereview.appspot.com/10827384 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152165 0039d316-1c4b-4281-b951-d872f2087c98
* Add ARM syscalls to syscall sets.jorgelo@chromium.org2012-08-171-13/+93
| | | | | | | | | | BUG=141157 TEST=Build and boot on daisy. Review URL: https://chromiumcodereview.appspot.com/10830348 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152164 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old chromium openCursor() gluealecflett@chromium.org2012-08-172-19/+0
| | | | | | | | | BUG=129471 Review URL: https://chromiumcodereview.appspot.com/10829339 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152143 0039d316-1c4b-4281-b951-d872f2087c98
* [content shell] add --no-timeout optionjochen@chromium.org2012-08-173-6/+14
| | | | | | | | | | BUG=111316 TEST=none Review URL: https://chromiumcodereview.appspot.com/10825419 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152142 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 151975 - Enable verbose logging during PluginMsg_CreateInstance.piman@chromium.org2012-08-172-35/+7
| | | | | | | | | | | | | | This should get rid of the spurious ERROR messages when closing tabs, and log backtraces when we need them. BUG=141055 Review URL: https://chromiumcodereview.appspot.com/10834355 TBR=bauerb@chromium.org Review URL: https://chromiumcodereview.appspot.com/10854207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152141 0039d316-1c4b-4281-b951-d872f2087c98
* Changed content/public/browser OWNERS comment to be more precise.rdsmith@chromium.org2012-08-171-1/+2
| | | | | | | | | | | I'm hoping this will reduce CL review spam for me. R=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10828349 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152138 0039d316-1c4b-4281-b951-d872f2087c98
* View-source URLs should use a separate SiteInstance in all cases.nasko@chromium.org2012-08-172-7/+34
| | | | | | | | | BUG=143255 Review URL: https://chromiumcodereview.appspot.com/10825402 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152126 0039d316-1c4b-4281-b951-d872f2087c98
* Correct style issues in Linux sandbox code.jln@chromium.org2012-08-172-3/+3
| | | | | | | | NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10818015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152123 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 151982 - Revert 151932 (caused gpu_throughput_tests to start failing ↵jbates@chromium.org2012-08-173-5/+25
| | | | | | | | | | | | | | | | | | on Mac GPU bots) - Hook up Mac OSX VSync parameters to compositor thread Also fixes precision error on Windows. BUG=137794 Review URL: https://chromiumcodereview.appspot.com/10830347 TBR=jbates@chromium.org Review URL: https://chromiumcodereview.appspot.com/10825406 TBR=kbr@chromium.org Review URL: https://chromiumcodereview.appspot.com/10824357 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152099 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 151329 - Temporarily disabling H/W video decode on Windows to see if ↵fischman@chromium.org2012-08-171-1/+1
| | | | | | | | | | | | | | | the crashes in the gpu process are related. BUG=142402 R=fischman Review URL: https://chromiumcodereview.appspot.com/10831291 TBR=ananta@chromium.org Review URL: https://chromiumcodereview.appspot.com/10825420 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152086 0039d316-1c4b-4281-b951-d872f2087c98
* Gradient overlay for constrained windowsail@chromium.org2012-08-175-0/+22
| | | | | | | | | | | | | | | | | | | As a part of the new constrained window look and feel we're changing the the solid gray overlay to a gradient overlay. The overlay fades in on show and fades out on hide. Screenshots: light background: http://i.imgur.com/GJj6L.png dark background: http://i.imgur.com/s37da.png BUG=140520 TEST=Run with --enable-frameless-constrained-dialogs. Navigate to http://www.imagemator.com/ Click "Click to pick an image." Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152059 Review URL: https://chromiumcodereview.appspot.com/10855151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152065 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 152059 - Gradient overlay for constrained windowsail@chromium.org2012-08-175-22/+0
| | | | | | | | | | | | | | | | | | | | As a part of the new constrained window look and feel we're changing the the solid gray overlay to a gradient overlay. The overlay fades in on show and fades out on hide. Screenshots: light background: http://i.imgur.com/GJj6L.png dark background: http://i.imgur.com/s37da.png BUG=140520 TEST=Run with --enable-frameless-constrained-dialogs. Navigate to http://www.imagemator.com/ Click "Click to pick an image." Review URL: https://chromiumcodereview.appspot.com/10855151 TBR=sail@chromium.org Review URL: https://chromiumcodereview.appspot.com/10823387 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152062 0039d316-1c4b-4281-b951-d872f2087c98