summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Remove forgotten now unneeded include.dilmah@chromium.org2011-03-211-4/+0
| | | | | | | | | BUG=chromium:76697 TEST=None Review URL: http://codereview.chromium.org/6713076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78910 0039d316-1c4b-4281-b951-d872f2087c98
* Add progress notifications for extension updates (from: 6665014)dennisjeffrey@chromium.org2011-03-211-0/+15
| | | | | | | | | | | | | | Taking ownership of existing issue 6665014: "The immediate reason is for some automated tests to take advantage of these, but we also want this for our eventual goal of showing progress when users do a manual force of extension updates." BUG=75213 TEST=(should be covered by existing tests) Review URL: http://codereview.chromium.org/6708024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78907 0039d316-1c4b-4281-b951-d872f2087c98
* Use UDPServerSocket for P2P sockets.sergeyu@chromium.org2011-03-2111-320/+286
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6672031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78906 0039d316-1c4b-4281-b951-d872f2087c98
* Move audio messages to their own file.jam@chromium.org2011-03-2115-161/+261
| | | | | | | TBR=hclam Review URL: http://codereview.chromium.org/6717001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78903 0039d316-1c4b-4281-b951-d872f2087c98
* Makes instant throw out the first navigation when merging navigationsky@chromium.org2011-03-213-17/+135
| | | | | | | | | | | | | | | | stacks. This is because the first navigation is for the home page, and generally we don't want that in the navigation stack. I kept the remove first entry functionality in CopyStateFromAndPrune as its easy to use wrong and I don't want to open up a general API. BUG=74945 TEST=see bug R=brettw@chromium.org Review URL: http://codereview.chromium.org/6709039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78880 0039d316-1c4b-4281-b951-d872f2087c98
* Move app/app_switches to ui/gfx/gl/gl_switches.backer@chromium.org2011-03-212-3/+3
| | | | | | | | | | | | | This is in preparation of moving app/gfx/gl to ui/gfx/gl. All of the switches in app_switches are GL related. Removed many includes that were unnecessary. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/6685089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78875 0039d316-1c4b-4281-b951-d872f2087c98
* Request for 5 speech recognition results instead of 3.satish@chromium.org2011-03-211-3/+6
| | | | | | | | | | | This will give webapps more choice until we implement the maxresults attribute. BUG=61677 TEST=none Review URL: http://codereview.chromium.org/6709059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78871 0039d316-1c4b-4281-b951-d872f2087c98
* autofill: Rename all the entries remaining with AutoFill to Autofill.tfarina@chromium.org2011-03-213-20/+20
| | | | | | | | | | R=isherman@chromium.org,dhollowa@chromium.org BUG=72758 TEST=existing unit_tests Review URL: http://codereview.chromium.org/6688053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78856 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the test SpeechInputBrowserTest.TestCancelAllakalin@chromium.org2011-03-191-6/+1
| | | | | | | | | | | It is currently disabled for official builds, but it's flaky on the buildbots, too. BUG=71227 TEST= TBR=satish@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78838 0039d316-1c4b-4281-b951-d872f2087c98
* Move geolocation, desktop notification, and device orientation into their ↵jam@chromium.org2011-03-1917-67/+258
| | | | | | | | | own message files.Also fix a regression from my earlier change to create a plugin through the embedder API. The fix is to not to create a plugin if the embedder returns NULL, and just have the default implementation create the plugin on its own.TBR=avi R=brettw@chromium.org,johnnyg@chromium.org,darin@chromium.org,*,jam@chromium.org,ben@chromium.org Review URL: http://codereview.chromium.org/6688054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78832 0039d316-1c4b-4281-b951-d872f2087c98
* Disable the newly added SpeechInputBrowserTest.TestCancelAll in official ↵satish@chromium.org2011-03-191-1/+7
| | | | | | | | | | | | | release builds. This is done because the test times out in the official builders, just like the other SpeechInputBrowserTest.* tests. BUG=71227 TEST=TestCancelAll should not be run in official builders. TBR=bulach@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78827 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up the sad plugin painting and the crashed plugin infobars forbrettw@chromium.org2011-03-196-39/+26
| | | | | | | | | | | | | | | | out-of-process PPAPI plugins. This mostly just forwards notifications up and provides a way to get the sad plugin image in the PPAPI rendering code. I moved the NPAPI sad tab painting to a new file so that it could be shared between the NPAPI and PPAPI. This also hooks up the name and version information in the task manager for PPAPI plugins. R=jam@chromium.org Review URL: http://codereview.chromium.org/6685091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78816 0039d316-1c4b-4281-b951-d872f2087c98
* Removed static variable for histograms to avoid race withrtenneti@chromium.org2011-03-191-3/+3
| | | | | | | | | | | histogram initialization across threads. BUG=76092 TEST=histogram unit tests. Sync tests R=jar Review URL: http://codereview.chromium.org/6712040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78809 0039d316-1c4b-4281-b951-d872f2087c98
* Renaming NativeMetafile related methods to more appropriate names.dpapad@chromium.org2011-03-192-4/+3
| | | | | | | | | | | | 1) Renaming Close() to FinishDocument() 2) Renaming NativeMetafileFactory::CreateMetafile() to Create(), since the name of the class already implies what is being created BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6674037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78788 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of remaining files from chrome\renderer to content\renderer.jam@chromium.org2011-03-1931-23/+1750
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6688047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78781 0039d316-1c4b-4281-b951-d872f2087c98
* Do not put off destroying of the IOSurface in the GPU process.amarinichev@chromium.org2011-03-197-37/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | Evicting old graphics contexts will be done in the GPU process by removing routes from GpuChannel::router_. Doing so on a mac results in an assert when handling GpuCommandBufferMsg_SetWindowSize. The assert was a consequence of how we deal with closed windows. When a window is closed, the browser process sends a message to the GPU process to request that the surface is removed. Rather than doing that immediately, GpuThread object stores the view id of the renderer in destroyed_renderer_routes_. GpuCommandBufferStub::OnFlush always checks if its view id is in that set, and if is, it asks the GPUProcessor to destroy its surface. This change gets rid of the destroyed_renderer_routes_. Rather than deferring the request to destroy the surface, we ask the GPU process to remove the route which, in turn, will remove the GpuCommandBufferStub, GPUProcessor and its surface. See also bug 67170. BUG=none TEST=set the breakpoint in GpuChannel::OnMessageReceived, manually remove the route from router_ and stubs_. No assert should be triggered and context should be silently recovered. Review URL: http://codereview.chromium.org/6688026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78777 0039d316-1c4b-4281-b951-d872f2087c98
* event trace plumbing for multi-process supportjbates@chromium.org2011-03-1811-0/+505
| | | | | | | | | | | | related review: http://codereview.chromium.org/6691013/ BUG=none TEST=none Review URL: http://codereview.chromium.org/6694004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78768 0039d316-1c4b-4281-b951-d872f2087c98
* Close ongoing speech input sessions when a tab terminates.satish@chromium.org2011-03-182-7/+49
| | | | | | | | | | | This was working before but in r76893 a line from speech_input_dispatcher_host.cc was removed by mistake. BUG=76589 TEST=browser_tests --gtest_filter=SpeechInputBrowserTest.TestCancelAll Review URL: http://codereview.chromium.org/6712034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78746 0039d316-1c4b-4281-b951-d872f2087c98
* Add WebKit dependency for content_renderer to fix the shared library buildjam@chromium.org2011-03-181-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78742 0039d316-1c4b-4281-b951-d872f2087c98
* Move RenderView to content. I've added a new method to ↵jam@chromium.org2011-03-185-0/+6875
| | | | | | | | | ContentRendererClient to determine the text language. This is only temporary, since the surrounding code should itself be moved out of RenderView. TBR=avi Review URL: http://codereview.chromium.org/6709038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78738 0039d316-1c4b-4281-b951-d872f2087c98
* Allow the embedder to try to create a plugin first. Also get the html error ↵jam@chromium.org2011-03-182-0/+32
| | | | | | | | | page from it. This removes the depenency on grd from RenderView, so that it can be moved to content. We want this change anyways in the future, although the API will probably change as we'll most likely have a RenderView wrapper of some sort. TBR=avi Review URL: http://codereview.chromium.org/6712033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78729 0039d316-1c4b-4281-b951-d872f2087c98
* Move render_widget files to content.jam@chromium.org2011-03-1812-1/+2376
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6709032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78703 0039d316-1c4b-4281-b951-d872f2087c98
* Guards "remoting" initialization on the renderer side.bulach@chromium.org2011-03-181-2/+4
| | | | | | | | | | | | | Following http://codereview.chromium.org/6684018, remoting requires NSS to be initialized in the render side. This change allows to compile with openssl. BUG=none TEST=compiles with use_openssl=1 Review URL: http://codereview.chromium.org/6665065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78681 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 78666 - Cleanup NativeMetafile (win) interface and EMF class.vandebo@chromium.org2011-03-181-1/+1
| | | | | | | | | | | | | | | | | - Rename CreateDc to Init() and remove unused argument (all non-test calls were CreateDc(NULL, NULL). [This matches cross platform interface.] - Remove CreateFileBackedDc from the NativeMetafile interface and make InitToFile() in the EMF class. - Remove CreateFromFile from the NativeMetafile interface and make it InitFromFile() in the EMF class. - Move the CloseEmf method into the destructor, making the Emf class a use once class (matches actual use). BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6695013 TBR=vandebo@chromium.org Review URL: http://codereview.chromium.org/6712030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78669 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup NativeMetafile (win) interface and EMF class.vandebo@chromium.org2011-03-181-1/+1
| | | | | | | | | | | | | | - Rename CreateDc to Init() and remove unused argument (all non-test calls were CreateDc(NULL, NULL). [This matches cross platform interface.] - Remove CreateFileBackedDc from the NativeMetafile interface and make InitToFile() in the EMF class. - Remove CreateFromFile from the NativeMetafile interface and make it InitFromFile() in the EMF class. - Move the CloseEmf method into the destructor, making the Emf class a use once class (matches actual use). BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6695013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78666 0039d316-1c4b-4281-b951-d872f2087c98
* Move FilePathWatcher class from chrome/browser/... to content/common...dmaclach@chromium.org2011-03-182-6/+6
| | | | | | | | | | | | | | | | The service process needs FilePathWatcher, and with this change I got rid of the dependency on BrowserThread which allows it to be moved to common/... I also tried my hand at a kqueue impl on the Mac, but failed. See http://code.google.com/p/chromium/issues/detail?id=54822#c13 for details. BUG=74983 TEST=BUILD Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78664 Review URL: http://codereview.chromium.org/6670081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78665 0039d316-1c4b-4281-b951-d872f2087c98
* Move FilePathWatcher class from chrome/browser/... to content/common...dmaclach@chromium.org2011-03-1810-5/+1613
| | | | | | | | | | | | | | The service process needs FilePathWatcher, and with this change I got rid of the dependency on BrowserThread which allows it to be moved to common/... I also tried my hand at a kqueue impl on the Mac, but failed. See http://code.google.com/p/chromium/issues/detail?id=54822#c13 for details. BUG=74983 TEST=BUILD Review URL: http://codereview.chromium.org/6670081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78664 0039d316-1c4b-4281-b951-d872f2087c98
* Fix shared linking (regressed in r78640).sadrul@chromium.org2011-03-181-0/+1
| | | | | | TBR=jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78657 0039d316-1c4b-4281-b951-d872f2087c98
* Move the renderer_web* files to content.jam@chromium.org2011-03-1832-7/+2407
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6713024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78643 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch more random files from chrome\renderer to content\renderer.jam@chromium.org2011-03-1816-0/+2850
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6685072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78640 0039d316-1c4b-4281-b951-d872f2087c98
* Load additional NSS library files in zygote main if remoting is enabledhclam@google.com2011-03-171-13/+6
| | | | | | | | | | | | | | Instead of initializing NSS before the sandbox is engaged this loads the necessary additional libraries for NSS to function properly. This allows initializing NSS after sandbox is closed and solve the security problem of loading NSS early. BUG=None TEST=None Review URL: http://codereview.chromium.org/6672034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78633 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old comment.apatrick@chromium.org2011-03-171-2/+0
| | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/6688018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78629 0039d316-1c4b-4281-b951-d872f2087c98
* Stop overloading Init() in NativeMetafile.vandebo@chromium.org2011-03-171-1/+1
| | | | | | | | | BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6709009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78625 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clang buildjam@chromium.org2011-03-173-1/+15
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78620 0039d316-1c4b-4281-b951-d872f2087c98
* Add separate ContentClient interfaces for gpu/plugin/renderer processes. ↵jam@chromium.org2011-03-1714-38/+110
| | | | | | | | Since we don't have a need for a chrome/gpu or chrome/plugin directory, their chrome implementations are in chrome/common. Use the renderer one for getting the sad plugin image. Review URL: http://codereview.chromium.org/6708013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78617 0039d316-1c4b-4281-b951-d872f2087c98
* Change LOG to VLOG to avoid a lot of messages in the bots output.zmo@google.com2011-03-171-4/+4
| | | | | | | | BUG=76576 TEST=no more libpci message in bots output. Review URL: http://codereview.chromium.org/6713014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78603 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash with pepper 3D on multiple windows in same rendererpiman@google.com2011-03-172-2/+14
| | | | | | | | | BUG=none TEST=With pepper flash, run ATS AS2 14231, open the popup, kill it, observe no crash Review URL: http://codereview.chromium.org/6711013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78595 0039d316-1c4b-4281-b951-d872f2087c98
* Add IndexedDB browser test that causes a crash.dgrogan@chromium.org2011-03-172-2/+18
| | | | | | | | | | | | When a frame is unloaded, stop() is called on each ActiveDOMObject. IDBDatabase::stop can cause IDBDatabase to be destroyed in a roundabout way. Destroying an ActiveDOMObject while they are being iterated over causes a defensive crash. BUG=75264 TEST=browser_tests --gtest_filter=IndexedDBBrowserTest.DatabaseCallbacksTest Review URL: http://codereview.chromium.org/6677034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78594 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of gpu/worker/plugin renderer code to content. I temporarily ↵jam@chromium.org2011-03-1726-3/+5853
| | | | | | | | | disabled the sad plugin code while I add a renderer chrome interface in a follow up. TBR=avi Review URL: http://codereview.chromium.org/6713005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78579 0039d316-1c4b-4281-b951-d872f2087c98
* Creates the ipclist utility that chrome security team has wanted to dumptsepez@chromium.org2011-03-173-8/+8
| | | | | | | | | | | | the known IPC messages. Going forward, this should help identify new messages between versions of chrome so that they may be given extra scrutiny for potential badness. under the common_message_generator.h umbrella. Review URL: http://codereview.chromium.org/6646005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78564 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor WifiDataProviderChromeOs to implement WifiDataProviderImplBase ↵jknotten@chromium.org2011-03-175-6/+125
| | | | | | | | | | | | | | directly and delegate the scan occur on the UI thread as currently required by Chromium OS. BUG=chromium-os:13049 TEST=Existing Review URL: http://codereview.chromium.org/6696022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78540 0039d316-1c4b-4281-b951-d872f2087c98
* New accelerometer data from Raul Cuza.avi@chromium.org2011-03-171-2/+4
| | | | | | | | | BUG=none TEST=on a MacBookPro1,2 Review URL: http://codereview.chromium.org/6672074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78539 0039d316-1c4b-4281-b951-d872f2087c98
* Move media library path resolution into Chrome path provider.wez@chromium.org2011-03-171-3/+7
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6537022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78532 0039d316-1c4b-4281-b951-d872f2087c98
* Move the remaining files in chrome\common to content\common.jam@chromium.org2011-03-1750-38/+1504
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6672070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78516 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break on Windowsjam@chromium.org2011-03-171-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78501 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of files from chrome\common to content\common.jam@chromium.org2011-03-1733-22/+1185
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6677096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78473 0039d316-1c4b-4281-b951-d872f2087c98
* Update gyp for moved files.jam@chromium.org2011-03-171-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78471 0039d316-1c4b-4281-b951-d872f2087c98
* Move gpu_feature_flags from chrome\common to content\common.jam@chromium.org2011-03-176-3/+165
| | | | | | | TBR=zmo Review URL: http://codereview.chromium.org/6672064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78470 0039d316-1c4b-4281-b951-d872f2087c98
* Remove WebUI menuoshima@google.com2011-03-161-9/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6693032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78450 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of html5 renderer code to content.jam@chromium.org2011-03-1620-2/+2177
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6703003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78449 0039d316-1c4b-4281-b951-d872f2087c98