summaryrefslogtreecommitdiffstats
path: root/content/browser
Commit message (Collapse)AuthorAgeFilesLines
* Add a JS API for detecting WebGL availability.zmo@google.com2011-12-086-29/+33
| | | | | | | | | | Move GpuInfoUpdate to UI thread to avoid potential racing. BUG=104768 TEST=ExtensionWebstorePrivateBundleTest.GetWebGLStatus Review URL: http://codereview.chromium.org/8772031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113688 0039d316-1c4b-4281-b951-d872f2087c98
* Added a download file factory to the download file manager, for testing.ahendrickson@chromium.org2011-12-083-8/+44
| | | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/8770024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113658 0039d316-1c4b-4281-b951-d872f2087c98
* Fix test failures when calling native char conversion functions (e.g wrctomb).saintlou@chromium.org2011-12-081-0/+4
| | | | | | | | | | | | | This initialization must have been implicit with gtk. On ChromeOS we go down a different code path for these tests. TBR=phajdan.jr@chromium.org BUG=106725 TEST=RTLTest.WrapPathWithLTRFormatting on Aura/Linux. Review URL: http://codereview.chromium.org/8889002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113614 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r112160 ("Send one WebKeyboardEvent to the RenderWidget at a time.")apavlov@chromium.org2011-12-082-121/+75
| | | | | | | | | | | | | | This change has resulted in severe regressions in keyboard event dispatching - the keydown and keypress events are no longer dispatched synchronously. Reverting as suggested by Darin Fisher. BUG=106224 TEST=manual TBR=darin Review URL: http://codereview.chromium.org/8885009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113603 0039d316-1c4b-4281-b951-d872f2087c98
* Make sure PluginDataRemoverImpl::Init is executed after the constructor has ↵bauerb@chromium.org2011-12-081-34/+33
| | | | | | | | | | | | finished. BUG=106709 TEST=none Review URL: http://codereview.chromium.org/8848001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113593 0039d316-1c4b-4281-b951-d872f2087c98
* Appcache, local storage, indexed db, databases: skip exit-time deletion when ↵marja@chromium.org2011-12-089-83/+231
| | | | | | | | | | | | restarting. BUG=104291 TEST={ChromeAppCacheServiceTest, DOMStorageTest, IndexedDBBrowserTest, DatabaseTrackerTest}.SaveSessionState Review URL: http://codereview.chromium.org/8820009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113590 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ui::DefaultSymbolFromXEvent to ui::GetCharacterFromXEvent following ↵yusukes@chromium.org2011-12-081-1/+1
| | | | | | | | | | | | | | suzhe's suggestion. The new name would be more consistent since other functions that return a Unicode code point use ui::GetCharacterXXX. For example, keyboard_code_conversion.h has ui::GetCharacterFromKeyCode. BUG=None TEST=ran try Review URL: http://codereview.chromium.org/8802002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113586 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 110505 - Report ERR_CONTENT_LENGTH_MISMATCH when the count of bytes ↵cbentzel@chromium.org2011-12-081-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | received doesn't match Content-Length. This used to be reported as ERR_CONNECTION_CLOSED. Unfortunately, there are a number of misconfigured servers on the web which report a Content-Length completely divorced from reality. Other browsers display whatever data was received without reporting errors in this case, and Chrome now does the same. An earlier CL simply removed error reporting for this case. However, some uses may want to still treat this like an error (such as URLFetcher), or could eventually treat the case as an error and recover (such as downloads). Data received will be populated in the disk cache as a truncated entry, if the server advertises byte range support. WebURLLoaderImpl ignores this for all async and sync resource loads. At some point it may want to selectively do this based on content type. Downloads ignore the error, but no longer ignore ERR_CONNECTION_CLOSED. Other uses will treat this like an error. BUG=52847 TEST=Manually, go to a site that advertises a large content-length and closes the connection before writing so many bytes, and notice that the page now displays. Automatic: HttpNetworkTransactionTest.LargeContentLengthThenClose, URLRequestTestHttp.GetZippedTest Review URL: http://codereview.chromium.org/8496016 TBR=cbentzel@chromium.org Review URL: http://codereview.chromium.org/8863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113562 0039d316-1c4b-4281-b951-d872f2087c98
* Add Mac implementation of data_fetcher for gamepad.scottmg@chromium.org2011-12-084-2/+377
| | | | | | | | | BUG=79050 Review URL: http://codereview.chromium.org/8799022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113538 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented ExternalData interface on DownloadItem and used it for SafeBrowsing.rdsmith@chromium.org2011-12-074-0/+54
| | | | | | Review URL: http://codereview.chromium.org/8571023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113494 0039d316-1c4b-4281-b951-d872f2087c98
* Webcam ppapi flash fix.ihf@chromium.org2011-12-071-0/+8
| | | | | | | | | | Return buffers that are in flight during shutdown and make sure to issue defered stop. BUG=106369 Review URL: http://codereview.chromium.org/8819010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113467 0039d316-1c4b-4281-b951-d872f2087c98
* Use ForceShutdown to kill old GPU process.jbauman@chromium.org2011-12-072-2/+8
| | | | | | | | | | | | | This is cleaner and won't cause spurious crash reports. BUG= TEST= Review URL: http://codereview.chromium.org/8823005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113462 0039d316-1c4b-4281-b951-d872f2087c98
* aura-x11: Add support for xmodmap'ed pointer buttons.sadrul@chromium.org2011-12-071-24/+0
| | | | | | | | | BUG=106305 TEST=manually Review URL: http://codereview.chromium.org/8793002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113441 0039d316-1c4b-4281-b951-d872f2087c98
* Partial swaps on OSXbacker@chromium.org2011-12-075-28/+102
| | | | | | | | | | | | | In combination with shawnsingh's scissoring, this is a huge win on 10.5 which uses a readback through main memory. Some numbers given on https://bugs.webkit.org/show_bug.cgi?id=67341 The win on >= 10.6 is probably less because there is not readback through main memory. The 10.6 implementation assumes that nothing outside the partial swap region was damaged (i.e. it's a SwapBuffers that always preserves the backbuffer --- it's not a true partial swap a la GLX_MESA_copy_sub_buffers). This is all that the scissoring needs. BUG=none TEST=ran with shawnsingh's patch on http://www.webkit.org/blog-files/3d-transforms/poster-circle.html on 10.6 and 10.5 Review URL: http://codereview.chromium.org/8726046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113397 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed path to WebRect in include after webkit roll.vsevik@chromium.org2011-12-071-1/+1
| | | | | | | | TBR=abarth Review URL: http://codereview.chromium.org/8833016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113385 0039d316-1c4b-4281-b951-d872f2087c98
* Remove BrowserThread::UnsafeGetBrowserThread, add UnsafeGetMessageLoopForThread.joi@chromium.org2011-12-071-6/+5
| | | | | | | | | | | | | | This also removes several accessors on BrowserProcess that are no longer used. I wanted to remove all retrieval of MessageLoop objects via BrowserThread, but this proved harder than it looked, because several net:: classes use MessageLoop and have fairly deep assumptions that it is a real MessageLoop, e.g. they use MessageLoopForIO with its IO observers and so forth. Therefore, we now have UnsafeGetMessageLoopForThread but UnsafeGetBrowserThread is gone. TBR=abodenha@chromium.org BUG=98716 Review URL: http://codereview.chromium.org/8769013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113377 0039d316-1c4b-4281-b951-d872f2087c98
* Move web_contents_unittest.cc to content, where it belongs next to ↵jam@chromium.org2011-12-071-0/+1786
| | | | | | | | | TabContents. Also rename it to tab_contents_unittests.cc. I've moved the one part that depended on PrefService to the pref service test. BUG=98716 Review URL: http://codereview.chromium.org/8802024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113367 0039d316-1c4b-4281-b951-d872f2087c98
* Respect command line flags for interstitial pages.sievers@chromium.org2011-12-072-0/+6
| | | | | | | | | | | | | | | InterstitialPage implements RenderViewHostDelegate but does not override GetWebkitPrefs() which in the base class only returns default settings. For example, this does not allow compositing for interstitial pages ever. BUG= TEST= Review URL: http://codereview.chromium.org/8826013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113352 0039d316-1c4b-4281-b951-d872f2087c98
* Include the referrer header everywhere instead of directly including the ↵jochen@chromium.org2011-12-071-1/+1
| | | | | | | | | | | | webkit header BUG=105028 TEST=none Review URL: http://codereview.chromium.org/8820012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113348 0039d316-1c4b-4281-b951-d872f2087c98
* views: Add an Options enum to MessageBoxView control.tfarina@chromium.org2011-12-077-23/+28
| | | | | | | | | R=sky@chromium.org TBR=jam@chromium.org Review URL: http://codereview.chromium.org/8553001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113331 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert Socket::Read.jhawkins@chromium.org2011-12-071-6/+32
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8801005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113326 0039d316-1c4b-4281-b951-d872f2087c98
* Create a secondary file thread, FILE_USER_BLOCKING, for tasks requiring file ↵michaeln@google.com2011-12-075-5/+16
| | | | | | | | | IO which have user waiting for the results. Process appcache background tasks on that thread. BUG=68894,78359 Review URL: http://codereview.chromium.org/8366020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113317 0039d316-1c4b-4281-b951-d872f2087c98
* Repurpose obsolete IndexedDB commandline switch to control idb for workers.dgrogan@chromium.org2011-12-071-1/+1
| | | | | | | | | | | | This can't be committed until webkit rolls past 101890. BUG=64054 TEST= Review URL: http://codereview.chromium.org/8789004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113310 0039d316-1c4b-4281-b951-d872f2087c98
* Rename Desktop->RootWindow.ben@chromium.org2011-12-071-8/+8
| | | | | | | | | BUG=none TEST=compiles TBR=sky Review URL: http://codereview.chromium.org/8771015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113303 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of the last view_messages.h include in chrome, other than ↵jam@chromium.org2011-12-062-0/+19
| | | | | | | | | | tab_contents_views_mac.mm and render_view_host_delegate_helper.cc, both of which Avi is working on. I added a test method to fake a UpdateRect IPC message for the thumbnail test. BUG=98716 Review URL: http://codereview.chromium.org/8819005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113285 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert StreamSocket::Connect.jhawkins@chromium.org2011-12-061-0/+5
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8801004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113283 0039d316-1c4b-4281-b951-d872f2087c98
* DownloadManager intereface refactoring to allow cleaner DownloadItem unit tests.rdsmith@chromium.org2011-12-0610-205/+262
| | | | | | | | | | | BUG=101214 BUG=106490 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113007 Review URL: http://codereview.chromium.org/8697006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113277 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113224 - IME (input method editor) support for Aura, part 3 of 3: Use ↵ben@chromium.org2011-12-063-316/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ui::InputMethod in ui/aura/. Part 1: http://codereview.chromium.org/8659033/ Part 2: http://codereview.chromium.org/8687027/ The basic design of the feature is that to add an input method object to DesktopHost to feed all KeyPress and KeyRelease events from the system message loop to the input method, and let the input method send IME results (e.g. composition text) to RenderWidgetHostViewAura or NativeWidgetAura as needed. RenderWidgetHostViewAura: - Just like RWHVV, implement ui::TextInputClient interface so that RWHVA could receive an event such as 'SetComposition' and 'InsertChar' from an input method object owned by DesktopHost. - Send a notification to the input method object on focus, blur, text input type change, etc. - OnKeyEvent() handler is now able to handle a non-native key event, e.g. a VKEY_PROCESSKEY event, which is fabricated by the input method editor. NativeWidgetAura: - Use views::InputMethodBridge instead of views::InputMethodIBus. - InputMethodBridge, which implements ui::TextInputClient interface, just receives IME results (e.g. composition text) from ui::InputMethod and forwards them to UI (e.g. a text field). - InputMethodBridge also receives a request like 'CancelComposition' from the UI and forwards the request to ui::InputMethod. DesktopHostLinux: - Creates and owns a ui::InputMethodIBusAura object. If IBus-1.4 is not available (e.g. Goobuntu), creates an instance of ui::MockInputMethod. - In Dispatch(), send a KeyPress and KeyRelease aura event to the input method. - Implement ui::InputMethodDelegate interface so that DesktopHostLinux could receive an key press and key release event which should be sent to NWA or RWHVA. Note that an "is_char" event is always sent directly from the input method to a TextInputClient. the ui::InputMethodDelegate is not used for that purpose. - ShouldSendCharEventForKeyboardCode() is moved to ui::InputMethod since DesktopHostLinux no longer generates a Char event. DesktopHostWin: - IME is not supported yet. Supported platforms: - Aura + Chrome OS (IME works!) - Aura + Chrome OS + TOUCH_UI (compiles, but virtual keyboard is not shown since views::TextInputTypeTracker is not ported to Aura yet.) - Aura + Linux, with and without IBus-1.4 - Aura + Windows (compiles, but IME does not work. views::InputMethodWin is not ported to Aura yet.) BUG=97261 TEST=ran aura_unittests Review URL: http://codereview.chromium.org/8576005 TBR=yusukes@chromium.org Review URL: http://codereview.chromium.org/8824007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113259 0039d316-1c4b-4281-b951-d872f2087c98
* IME (input method editor) support for Aura, part 3 of 3: Use ui::InputMethod ↵yusukes@chromium.org2011-12-063-6/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in ui/aura/. Part 1: http://codereview.chromium.org/8659033/ Part 2: http://codereview.chromium.org/8687027/ The basic design of the feature is that to add an input method object to DesktopHost to feed all KeyPress and KeyRelease events from the system message loop to the input method, and let the input method send IME results (e.g. composition text) to RenderWidgetHostViewAura or NativeWidgetAura as needed. RenderWidgetHostViewAura: - Just like RWHVV, implement ui::TextInputClient interface so that RWHVA could receive an event such as 'SetComposition' and 'InsertChar' from an input method object owned by DesktopHost. - Send a notification to the input method object on focus, blur, text input type change, etc. - OnKeyEvent() handler is now able to handle a non-native key event, e.g. a VKEY_PROCESSKEY event, which is fabricated by the input method editor. NativeWidgetAura: - Use views::InputMethodBridge instead of views::InputMethodIBus. - InputMethodBridge, which implements ui::TextInputClient interface, just receives IME results (e.g. composition text) from ui::InputMethod and forwards them to UI (e.g. a text field). - InputMethodBridge also receives a request like 'CancelComposition' from the UI and forwards the request to ui::InputMethod. DesktopHostLinux: - Creates and owns a ui::InputMethodIBusAura object. If IBus-1.4 is not available (e.g. Goobuntu), creates an instance of ui::MockInputMethod. - In Dispatch(), send a KeyPress and KeyRelease aura event to the input method. - Implement ui::InputMethodDelegate interface so that DesktopHostLinux could receive an key press and key release event which should be sent to NWA or RWHVA. Note that an "is_char" event is always sent directly from the input method to a TextInputClient. the ui::InputMethodDelegate is not used for that purpose. - ShouldSendCharEventForKeyboardCode() is moved to ui::InputMethod since DesktopHostLinux no longer generates a Char event. DesktopHostWin: - IME is not supported yet. Supported platforms: - Aura + Chrome OS (IME works!) - Aura + Chrome OS + TOUCH_UI (compiles, but virtual keyboard is not shown since views::TextInputTypeTracker is not ported to Aura yet.) - Aura + Linux, with and without IBus-1.4 - Aura + Windows (compiles, but IME does not work. views::InputMethodWin is not ported to Aura yet.) BUG=97261 TEST=ran aura_unittests Review URL: http://codereview.chromium.org/8576005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113224 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 8688002: PPB_TCPSocket_Private/PPB_UDPSocket_Private are exposed to ↵dpolukhin@chromium.org2011-12-062-6/+5
| | | | | | | | | | | | | Browser PPB_{TCP|UDP}Socket_Private interfaces are exposed to Browser process. Added shared (between NaCl and Pepper) tests for both interfaces. BUG=105859 TEST=ui_tests Review URL: http://codereview.chromium.org/8804006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113172 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for calling static methods in the Java Bridgesteveblock@chromium.org2011-12-061-2/+43
| | | | | | | | BUG=96703 Review URL: http://codereview.chromium.org/8659007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113170 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113027 - Zygote most of the uses of the utility process on Linuxdbeam@chromium.org2011-12-063-19/+3
| | | | | | | | | | | | | | | | | | | | | | | | Allow the user of the utility process to specify whether the zygote should be used on Linux. This allows to sandbox all the uses of the utility process that don't do FS access, which right now are all except extension unpacking and NPAPI plugin listing. This is the first step to get the utility process sandboxed on Linux. Since most of the uses of the utility process don't do file access, launching all of those from the zygote will simplify sandboxing the one that does: extension unpacking. BUG=93109 TEST=Try installing an extension from the web store. Review URL: http://codereview.chromium.org/8770025 TBR=jorgelo@chromium.org Review URL: http://codereview.chromium.org/8817013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113165 0039d316-1c4b-4281-b951-d872f2087c98
* Add download server IP address to the SafeBrowsing download protection ping.noelutz@google.com2011-12-066-0/+16
| | | | | | | | | | BUG= TEST=No visible change. Review URL: http://codereview.chromium.org/8790006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113129 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113110 - backing out 113015 didn't fix the interactive test bot. ↵sail@chromium.org2011-12-064-9/+9
| | | | | | | | | | | | | | | | | | Restoring the CL Revert 113015 - speculative revert to see if this fixes the interactive test breakage Remove OnMessageReceived that was using internal content IPCs in a chrome test. Dispatch the IPC in RenderViewHost instead of TabContents to solve this (it's only used by tests anyways). Remove test_utils methods that weren't being used. BUG=98716 Review URL: http://codereview.chromium.org/8801002 TBR=jam@chromium.org Review URL: http://codereview.chromium.org/8817007 TBR=sail@chromium.org Review URL: http://codereview.chromium.org/8821005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113118 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113015 - speculative revert to see if this fixes the interactive test ↵sail@chromium.org2011-12-064-9/+9
| | | | | | | | | | | | | | breakage Remove OnMessageReceived that was using internal content IPCs in a chrome test. Dispatch the IPC in RenderViewHost instead of TabContents to solve this (it's only used by tests anyways). Remove test_utils methods that weren't being used. BUG=98716 Review URL: http://codereview.chromium.org/8801002 TBR=jam@chromium.org Review URL: http://codereview.chromium.org/8817007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113110 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113007 - DownloadManager intereface refactoring to allow cleaner ↵kalman@chromium.org2011-12-0610-262/+205
| | | | | | | | | | | | | | DownloadItem unit tests. BUG=101214 Review URL: http://codereview.chromium.org/8697006 TBR=rdsmith@chromium.org Review URL: http://codereview.chromium.org/8817005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113084 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for content::Referrer to prerenderjochen@chromium.org2011-12-061-2/+3
| | | | | | | | | | BUG=105028 TEST=none Review URL: http://codereview.chromium.org/8801012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113070 0039d316-1c4b-4281-b951-d872f2087c98
* Fix mouse lock perf issue on Windows.yzshen@chromium.org2011-12-052-38/+89
| | | | | | | | | | | | Don't move the cursor back to the center of the view unless it approaches the border. BUG=106054 TEST=None Review URL: http://codereview.chromium.org/8791001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113061 0039d316-1c4b-4281-b951-d872f2087c98
* retry r112077 - recently closed menu: respect middle clickestade@chromium.org2011-12-052-0/+6
| | | | | | | | | | | (and other disposition modifiers) BUG=7678 TEST=trybots Review URL: http://codereview.chromium.org/8662051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113059 0039d316-1c4b-4281-b951-d872f2087c98
* Make TestTabContents::TestDidNavigate not take a ↵jam@chromium.org2011-12-054-10/+52
| | | | | | | | | | ViewHostMsg_FrameNavigate_Params, since that's an internal content IPC struct. BUG=98716 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113006 Review URL: http://codereview.chromium.org/8801003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113050 0039d316-1c4b-4281-b951-d872f2087c98
* Make the transfer request code path use full referrersjochen@chromium.org2011-12-055-0/+11
| | | | | | | | | | BUG=105028 TEST=none Review URL: http://codereview.chromium.org/8801006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113038 0039d316-1c4b-4281-b951-d872f2087c98
* Zygote most of the uses of the utility process on Linuxjorgelo@chromium.org2011-12-053-3/+19
| | | | | | | | | | | | | | | | | | | | | Allow the user of the utility process to specify whether the zygote should be used on Linux. This allows to sandbox all the uses of the utility process that don't do FS access, which right now are all except extension unpacking and NPAPI plugin listing. This is the first step to get the utility process sandboxed on Linux. Since most of the uses of the utility process don't do file access, launching all of those from the zygote will simplify sandboxing the one that does: extension unpacking. BUG=93109 TEST=Try installing an extension from the web store. Review URL: http://codereview.chromium.org/8770025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113027 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113006 - Make TestTabContents::TestDidNavigate not take a ↵avi@chromium.org2011-12-054-52/+10
| | | | | | | | | | | | ViewHostMsg_FrameNavigate_Params, since that's an internal content IPC struct. BUG=98716 Review URL: http://codereview.chromium.org/8801003 TBR=jam@chromium.org Review URL: http://codereview.chromium.org/8799015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113025 0039d316-1c4b-4281-b951-d872f2087c98
* Make NavigationEntry and friends use content::Referrer instead of plain URLsjochen@chromium.org2011-12-059-46/+53
| | | | | | | | | | BUG=105028 TEST=none TBR=zea@chromium.org Review URL: http://codereview.chromium.org/8806011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113019 0039d316-1c4b-4281-b951-d872f2087c98
* Remove OnMessageReceived that was using internal content IPCs in a chrome ↵jam@chromium.org2011-12-054-9/+9
| | | | | | | | | test. Dispatch the IPC in RenderViewHost instead of TabContents to solve this (it's only used by tests anyways). Remove test_utils methods that weren't being used. BUG=98716 Review URL: http://codereview.chromium.org/8801002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113015 0039d316-1c4b-4281-b951-d872f2087c98
* DownloadManager intereface refactoring to allow cleaner DownloadItem unit tests.rdsmith@chromium.org2011-12-0510-205/+262
| | | | | | | | | BUG=101214 Review URL: http://codereview.chromium.org/8697006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113007 0039d316-1c4b-4281-b951-d872f2087c98
* Make TestTabContents::TestDidNavigate not take a ↵jam@chromium.org2011-12-054-10/+52
| | | | | | | | | ViewHostMsg_FrameNavigate_Params, since that's an internal content IPC struct. BUG=98716 Review URL: http://codereview.chromium.org/8801003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113006 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of accessibility tests in chrome that have no chrome ↵jam@chromium.org2011-12-053-0/+1494
| | | | | | | | | dependencies to content. We want code that tests content to live alongside the code its testing. Also, some of these depend on view_messages.h, which is internal to content. BUG=98716 Review URL: http://codereview.chromium.org/8804001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112988 0039d316-1c4b-4281-b951-d872f2087c98
* Replace the GURL referrer field of OpenURLParams with a content::Referrerjochen@chromium.org2011-12-058-18/+22
| | | | | | | | | | BUG=105028 TEST=none (no functional change) TBR=zea@chromium.org Review URL: http://codereview.chromium.org/8784006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112978 0039d316-1c4b-4281-b951-d872f2087c98
* Let fake UI allow a video capture device to be opened several times.mflodman@chromium.org2011-12-052-4/+43
| | | | | | Review URL: http://codereview.chromium.org/8695004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112977 0039d316-1c4b-4281-b951-d872f2087c98