summaryrefslogtreecommitdiffstats
path: root/content/content_browser.gypi
Commit message (Collapse)AuthorAgeFilesLines
* DevTools handler now handles messages from both client and agent and is ↵yurys@chromium.org2011-08-311-2/+0
| | | | | | | | | | | created for all new render_view_hosts. This patch moves handling of IPC messages from agent to RenderViewDevToolsAgentHost and handling of client IPC messages to DevToolsWindow. BUG=None TEST=Existing DevTools tests Review URL: http://codereview.chromium.org/7778010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98964 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98656 - Make a new integer field in sql::MetaTable (a per-profile db) ↵dmaclach@chromium.org2011-08-291-2/+0
| | | | | | | | | | | | | | | | | | | | | | containing a counter for the next download id, so that this id is unique across sessions. This id will allow us to merge download id with db_handle and merge most/all of the maps in DownloadManager in future CLs. Make DownloadManager read this field to initialize its next_id_ counter in Init(). Put a fine-grained mutex in DownloadManager::GetNextId() so that it can be called directly from any thread. Define a thunk wrapping DM::GNI() to be passed around between threads to guard against other threads calling any other DM methods. This thunk owns a scoped_refptr<DM> to manage life-time issues. This pattern is implemented for DM elsewhere. Store this thunk in ResourceContext to be called by ResourceDispatchHost/DownloadThrottlingResourceHandler on the IO thread. Pass the returned DownloadId into DownloadResourceHandler. The alternative way to obtain ids on the IO thread is to jump over to the UI thread and back. This way would add significant latency to a critical path. GetNextId() should be fast and easily accessible from any thread. Now that ids are per-profile, define a class DownloadId containing a per-profile id and an indication of which profile, currently the DownloadManager*. DownloadIds are hashable, comparable, globally unique, not persistent, and are used by DownloadFileManager. When the download is added to the history, MetaTable.next_download_id will be set to the new download's id +1 if that number is greater than MT.next_download_id. Increasing this counter at the same time as the download is added to the db prevents the counter from desyncing from the db, which was the primary concern re storing the counter in the BrowserPrefs. See also http://codereview.chromium.org/7192016 LMK what to write a test for if anything. Review URL: http://codereview.chromium.org/7237034 TBR=benjhayden@chromium.org Review URL: http://codereview.chromium.org/7793003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98660 0039d316-1c4b-4281-b951-d872f2087c98
* Make a new integer field in sql::MetaTable (a per-profile db) containing a ↵benjhayden@chromium.org2011-08-291-0/+2
| | | | | | | | | | | | | | | | | | | counter for the next download id, so that this id is unique across sessions. This id will allow us to merge download id with db_handle and merge most/all of the maps in DownloadManager in future CLs. Make DownloadManager read this field to initialize its next_id_ counter in Init(). Put a fine-grained mutex in DownloadManager::GetNextId() so that it can be called directly from any thread. Define a thunk wrapping DM::GNI() to be passed around between threads to guard against other threads calling any other DM methods. This thunk owns a scoped_refptr<DM> to manage life-time issues. This pattern is implemented for DM elsewhere. Store this thunk in ResourceContext to be called by ResourceDispatchHost/DownloadThrottlingResourceHandler on the IO thread. Pass the returned DownloadId into DownloadResourceHandler. The alternative way to obtain ids on the IO thread is to jump over to the UI thread and back. This way would add significant latency to a critical path. GetNextId() should be fast and easily accessible from any thread. Now that ids are per-profile, define a class DownloadId containing a per-profile id and an indication of which profile, currently the DownloadManager*. DownloadIds are hashable, comparable, globally unique, not persistent, and are used by DownloadFileManager. When the download is added to the history, MetaTable.next_download_id will be set to the new download's id +1 if that number is greater than MT.next_download_id. Increasing this counter at the same time as the download is added to the db prevents the counter from desyncing from the db, which was the primary concern re storing the counter in the BrowserPrefs. See also http://codereview.chromium.org/7192016 LMK what to write a test for if anything. Review URL: http://codereview.chromium.org/7237034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98656 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: introduce DevToolsAgentHostyurys@chromium.org2011-08-291-0/+4
| | | | | | | | | | | | | | | | | We need an abstract interface that would encapsulate communication with inspected instance's DevTools agent. It is going to have different implementations at least for render views and shared workers. This patch leaves all methods on the DevToolsManager that accept inspected RenderViewHost just for convenience. Eventually DevToolsManager should operate in terms of DevToolsAgentHost and DevToolsClientHost only. BUG=None TEST=DevTools tests TBR=pfeldman Review URL: http://codereview.chromium.org/7778001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98598 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98552 (OpenAndManuallyCloseDevToolsClientHost now fails onthakis@chromium.org2011-08-271-4/+0
| | | | | | | | | | | | | | | | | | | | | | | several bots, like the trybots hinted it will) - DevTools: introduce DevToolsAgentHost We need an abstract interface that would encapsulate communication with inspected instance's DevTools agent. It is going to have different implementations at least for render views and shared workers. This patch leaves all methods on the DevToolsManager that accept inspected RenderViewHost just for convenience. Eventually DevToolsManager should operate in terms of DevToolsAgentHost and DevToolsClientHost only. BUG=None TEST=DevTools tests Review URL: http://codereview.chromium.org/7719026 TBR=yurys@chromium.org Review URL: http://codereview.chromium.org/7774004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98554 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: introduce DevToolsAgentHostyurys@chromium.org2011-08-271-0/+4
| | | | | | | | | | | | | | | | We need an abstract interface that would encapsulate communication with inspected instance's DevTools agent. It is going to have different implementations at least for render views and shared workers. This patch leaves all methods on the DevToolsManager that accept inspected RenderViewHost just for convenience. Eventually DevToolsManager should operate in terms of DevToolsAgentHost and DevToolsClientHost only. BUG=None TEST=DevTools tests Review URL: http://codereview.chromium.org/7719026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98552 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move touchui's RenderWidgetHostView::GetDefaultScreenInfo() into a ↵erg@chromium.org2011-08-261-0/+2
| | | | | | | | | | | | | place to make things link (Fixes trybot linkage on linux_touch) BUG=90443 Review URL: http://codereview.chromium.org/7753013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98389 0039d316-1c4b-4281-b951-d872f2087c98
* Inject the ChromeOS specific geocolation wifi data provider at runtime. This ↵jam@chromium.org2011-08-251-6/+0
| | | | | | | | allows building content under chrome os. Review URL: http://codereview.chromium.org/7747026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98345 0039d316-1c4b-4281-b951-d872f2087c98
* Rework wifi_data_provider_linux.cc with our D-Bus library.satorux@chromium.org2011-08-251-1/+2
| | | | | | | | | | | | The code is now a lot simpler, and unit tested. The dlopen hack and the timeout hack are now gone. BUG=90036 TEST=confirm that the geolocation works on maps.google.com on a device with wifi network Review URL: http://codereview.chromium.org/7725001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98307 0039d316-1c4b-4281-b951-d872f2087c98
* Move resource_dispatcher_host_unittest.cc to content_unittests now that all ↵jam@chromium.org2011-08-251-0/+13
| | | | | | | | | its link time dependencies are in content. BUG=90443 Review URL: http://codereview.chromium.org/7746008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98271 0039d316-1c4b-4281-b951-d872f2087c98
* Move RenderWidgetHostViewWin to content.jam@chromium.org2011-08-251-0/+2
| | | | | | | BUG=76697 Review URL: http://codereview.chromium.org/7745024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98265 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98164 since there are missing dependencies on linux views build - ↵jam@chromium.org2011-08-251-8/+0
| | | | | | | | | | | | Move resource_dispatcher_host_unittest.cc to content_unittests now that all its link time dependencies are in content. BUG=90443 Review URL: http://codereview.chromium.org/7746008 TBR=jam@chromium.org Review URL: http://codereview.chromium.org/7743007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98166 0039d316-1c4b-4281-b951-d872f2087c98
* Move resource_dispatcher_host_unittest.cc to content_unittests now that all ↵jam@chromium.org2011-08-251-0/+8
| | | | | | | | | its link time dependencies are in content. BUG=90443 Review URL: http://codereview.chromium.org/7746008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98164 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of the link time dependency between content and chrome through the ↵jam@chromium.org2011-08-251-0/+1
| | | | | | | | | geolocation code. BUG=76697 Review URL: http://codereview.chromium.org/7734005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98151 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of link dependency from content to chrome. Make it get the ↵jam@chromium.org2011-08-241-0/+1
| | | | | | | | | | | SpeechInputManager through the embedder interface. I've renamed Chrome's SpeechInputManagerImpl to ChromeSpeechInputManager, to match what we've been doing for other chrome implementations of content classes. BUG=76697 Review URL: http://codereview.chromium.org/7729001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98147 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move drag_download_* to content.erg@google.com2011-08-241-0/+4
| | | | | | | | | | | | | These are leaf nodes in moving tab_contents_view_gtk, and usage is sparse enough that I'm just moving the headers and fixing up the three places that they are included. BUG=93804 TEST=none; code move Review URL: http://codereview.chromium.org/7720014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98073 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move render_widget_host_view_gtk to content/ try 2.erg@google.com2011-08-231-0/+20
| | | | | | | | | | | | | | | | | | | | This was r97750, which was reverted at r97756. This patch, in addition to all the other things it did, marks OwnedWidgetGtk for export and moves it to the ui:: namespace. Original list of things this patch does: - OwnedWidgetGtk now goes in ui/base/gtk/ - TruncateString moved from l10n_util:: to ui:: - GtkIMContextWrapper has part of its code split into chrome/ (IDC using code goes in RenderViewContextMenu) and the rest go in content/ (gtk using code goes with GtkIMContextWrapper). - gtk_key_bindings_handler[_unittest] now goes in content, as it's a utility class to RenderWidgetHostGtk. BUG=93804 TEST=existing unit tests Original Review URL: http://codereview.chromium.org/7669040 Review URL: http://codereview.chromium.org/7708021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97889 0039d316-1c4b-4281-b951-d872f2087c98
* Add more files to content_unittests.phajdan.jr@chromium.org2011-08-231-1/+0
| | | | | | | | BUG=90443 Review URL: http://codereview.chromium.org/7708010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97875 0039d316-1c4b-4281-b951-d872f2087c98
* Move DownloadHistoryInfo to content and rename it to ↵jam@chromium.org2011-08-221-0/+2
| | | | | | | | | DownloadPersistentStoreInfo to match the naming now used in content when referring to history. BUG=82782 Review URL: http://codereview.chromium.org/7685032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97759 0039d316-1c4b-4281-b951-d872f2087c98
* (shlib failure) Revert 97750 - content: Move render_widget_host_view_gtk to ↵erg@google.com2011-08-221-20/+0
| | | | | | | | | | | | | | | | | | | | content/ This also moves some other files: - OwnedWidgetGtk now goes in ui/base/gtk/ - TruncateString moved from l10n_util:: to ui:: - GtkIMContextWrapper has part of its code split into chrome/ (IDC using code goes in RenderViewContextMenu) and the rest go in content/ (gtk using code goes with GtkIMContextWrapper). - gtk_key_bindings_handler[_unittest] now goes in content, as it's a utility class to RenderWidgetHostGtk. BUG=93804 TEST=existing unit tests Review URL: http://codereview.chromium.org/7669040 TBR=erg@google.com Review URL: http://codereview.chromium.org/7708017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97756 0039d316-1c4b-4281-b951-d872f2087c98
* content: Move render_widget_host_view_gtk to content/erg@google.com2011-08-221-0/+20
| | | | | | | | | | | | | | | This also moves some other files: - OwnedWidgetGtk now goes in ui/base/gtk/ - TruncateString moved from l10n_util:: to ui:: - GtkIMContextWrapper has part of its code split into chrome/ (IDC using code goes in RenderViewContextMenu) and the rest go in content/ (gtk using code goes with GtkIMContextWrapper). - gtk_key_bindings_handler[_unittest] now goes in content, as it's a utility class to RenderWidgetHostGtk. BUG=93804 TEST=existing unit tests Review URL: http://codereview.chromium.org/7669040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97750 0039d316-1c4b-4281-b951-d872f2087c98
* Start moving files to new content_unittests target.phajdan.jr@chromium.org2011-08-191-2/+4
| | | | | | | | BUG=90443 Review URL: http://codereview.chromium.org/7677003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97507 0039d316-1c4b-4281-b951-d872f2087c98
* Move download UMA functions to their own file in content. Also fire the ↵jam@chromium.org2011-08-161-0/+2
| | | | | | | | | chrome-only notification for download initiated in chrome code from the chrome delegate. BUG=82782 Review URL: http://codereview.chromium.org/7664019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97059 0039d316-1c4b-4281-b951-d872f2087c98
* Move download_manager_delegate.h to content. I forgot to move this earlier.jam@chromium.org2011-08-161-0/+1
| | | | | | | | BUG=82782 TBR=rdsmith Review URL: http://codereview.chromium.org/7631009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97047 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "DevTools: introduce DevToolsAgentHost"yurys@chromium.org2011-08-161-4/+0
| | | | | | | | | | | | | This reverts r96927 due to sporadic RenderProcessHostTest.DevToolsOnSelfInOwnProcess* tests failures on win and mac. TBR=pfeldman BUG= TEST= Review URL: http://codereview.chromium.org/7658013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96935 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: introduce DevToolsAgentHostyurys@chromium.org2011-08-161-0/+4
| | | | | | | | | | | | | | | | We need an abstract interface that would encapsulate communication with inspected instance DeviTools agent. It'is going to have different implementations at least for render views and shared workers. This patch leaves all methods on the DevToolsManager that accept inspected RenderViewHost just for convenience. Eventually DevToolsManager should operate in terms of DevToolsAgentHost and DevToolsClientHost only. BUG=None TEST=DevTools tests Review URL: http://codereview.chromium.org/7660010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96927 0039d316-1c4b-4281-b951-d872f2087c98
* Move chromium-specific files from leveldb's repository to chromium, stage 2.dgrogan@chromium.org2011-08-161-1/+1
| | | | | | | | | | | | | | | | | | | Stages: 1. Remove chromium files from leveldb repo. [Done] 2. Put chromium leveldb files in third_party/leveldatabase and leveldb in third_party/leveldatabase/src. Update leveldb references in chrome to use third_party/leveldatabase/src instead of third_party/leveldb. Leave third_party/leveldb so it can be referred to by WebCore.gyp. 3. Change third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp to use third_party/leveldatabase. 4. Delete third_party/leveldb Eventually: 5. Rename third_party/leveldatabase back to third_party/leveldb We can't avoid the leveldb-checkout duplication by just changing third_party/leveldb from an unversioned to a versioned directory. Doing so would break everyone's gclient sync update. BUG=89378 TEST=indexeddb layout and browser tests Review URL: http://codereview.chromium.org/7522008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96915 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "DevTools: introduce DevToolsAgentHost"yurys@chromium.org2011-08-161-4/+0
| | | | | | | | | | | | | This reverts commit 96906 due to RenderProcessHostTest.DevToolsOnSelfInOwnProcess* test failures. TBR=pfeldman BUG= TEST= Review URL: http://codereview.chromium.org/7657007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96911 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: introduce DevToolsAgentHostyurys@chromium.org2011-08-161-0/+4
| | | | | | | | | | | | | | | | We need an abstract interface that would encapsulate communication with inspected instance DeviTools agent. It'is going to have different implementations at least for render views and shared workers. This patch leaves all methods on the DevToolsManager that accept inspected RenderViewHost just for convenience. Eventually DevToolsManager should operate in terms of DevToolsAgentHost and DevToolsClientHost only. BUG=None TEST=DevTools tests Review URL: http://codereview.chromium.org/7648032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96906 0039d316-1c4b-4281-b951-d872f2087c98
* Move DownloadResourceHandler to content.jam@chromium.org2011-08-161-0/+2
| | | | | | | | | TBR=rdsmith BUG=82782 Review URL: http://codereview.chromium.org/7664005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96871 0039d316-1c4b-4281-b951-d872f2087c98
* Move the core download files to content.jam@chromium.org2011-08-151-0/+19
| | | | | | Review URL: http://codereview.chromium.org/7618048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96829 0039d316-1c4b-4281-b951-d872f2087c98
* Moving debugger file references to content_browser.gypi.joi@chromium.org2011-08-031-0/+14
| | | | | | | | | | BUG=84078 TEST=it builds Review URL: http://codereview.chromium.org/7554019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95242 0039d316-1c4b-4281-b951-d872f2087c98
* This is only the first part of the refactoring. The old method was preservedadriansc@google.com2011-08-021-0/+1
| | | | | | | | | | | | | | | | | | | | and not all call points were changed. The second part will deal with factoring out the old OpenURL method. Overall purpose: speed up calls, make it more flexible to plumb parameters to the call chain, reduce code repetition. It is necessary to add one more parameter (namely, override_encoding) to OpenURL in order to be able to restore the page encoding upon loading the contents. For solving this issue, it is necessary for the encoding to be restored from the BookmarkModel. BUG=2926 Review URL: http://codereview.chromium.org/7388007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95013 0039d316-1c4b-4281-b951-d872f2087c98
* Make ResourceDispatcherHostDelegate an abstract interface.jam@chromium.org2011-07-291-1/+0
| | | | | | Review URL: http://codereview.chromium.org/7530018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94712 0039d316-1c4b-4281-b951-d872f2087c98
* Removal of Profile from content part 1.avi@chromium.org2011-07-271-0/+1
| | | | | | | | | BUG=76788 TEST=no change visible Review URL: http://codereview.chromium.org/7464009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94317 0039d316-1c4b-4281-b951-d872f2087c98
* Initial sensor event provider for testing views screen rotationcwolfe@chromium.org2011-07-261-0/+4
| | | | | | | | | | | | | | | | | | The sensors API will unify various types of sensor data into a set of channels, each of which provides change events and periodic updates. This version of the API is intended only to support the experimental screen rotation code and is not for general use. In particular, the final listener will declare generic |OnSensorChanged| and |OnSensorUpdated| methods, rather than the special-purpose |OnScreenOrientationChanged|. BUG=none TEST=manual with http://codereview.chromium.org/7273073/ Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93094 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93480 Review URL: http://codereview.chromium.org/7366011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94181 0039d316-1c4b-4281-b951-d872f2087c98
* Move the power_save_blocker_stub.cc conditional includes to ↵jam@chromium.org2011-07-251-0/+6
| | | | | | | | content_browser.gypi. I forgot to move them when the files moved from chrome. Review URL: http://codereview.chromium.org/7466037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93968 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93480 - Initial sensor event provider for testing views screen rotationdmichael@chromium.org2011-07-211-4/+0
| | | | | | | | | | | | | | | | | | | The sensors API will unify various types of sensor data into a set of channels, each of which provides change events and periodic updates. This version of the API is intended only to support the experimental screen rotation code and is not for general use. In particular, the final listener will declare generic |OnSensorChange| and |OnSensorUpdate| methods, rather than the special-purpose |OnScreenOrientationChange|. BUG=none TEST=manual with http://codereview.chromium.org/7273073/ Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93094 Review URL: http://codereview.chromium.org/7366011 TBR=cwolfe@chromium.org Review URL: http://codereview.chromium.org/7479010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93491 0039d316-1c4b-4281-b951-d872f2087c98
* Initial sensor event provider for testing views screen rotationcwolfe@chromium.org2011-07-211-0/+4
| | | | | | | | | | | | | | | | The sensors API will unify various types of sensor data into a set of channels, each of which provides change events and periodic updates. This version of the API is intended only to support the experimental screen rotation code and is not for general use. In particular, the final listener will declare generic |OnSensorChange| and |OnSensorUpdate| methods, rather than the special-purpose |OnScreenOrientationChange|. BUG=none TEST=manual with http://codereview.chromium.org/7273073/ Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93094 Review URL: http://codereview.chromium.org/7366011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93480 0039d316-1c4b-4281-b951-d872f2087c98
* Adding AudioInputDeviceManager.mflodman@google.com2011-07-201-0/+3
| | | | | | | | | | | | | | | | | AudioIndputDeviceManager is responsible for tracking which devices has been opened, normally by WebKit. AudioInputDeviceManager is called from MediaStreamManager when a user has approved a webpage to use the audio input device. AudioInputRendererHost will call AudioInputDeviceManager asking for which device to start, given the session id created when opening the device. This patch is one of the patches to add support for WhatWG peer connection API. This patch replaces 7081002 previously uploaded by xians. BUG=none TEST=unit_tests Review URL: http://codereview.chromium.org/7307021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93224 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93094 - Initial sensor event provider for testing views screen rotationrobertshield@chromium.org2011-07-191-4/+0
| | | | | | | | | | | | | | | | | The sensors API will unify various types of sensor data into a set of channels, each of which provides change events and periodic updates. This version of the API is intended only to support the experimental screen rotation code and is not for general use. In particular, the final listener will declare generic |OnSensorChange| and |OnSensorUpdate| methods, rather than the special-purpose |OnScreenOrientationChange|. BUG=none TEST=manual with http://codereview.chromium.org/7273073/ Review URL: http://codereview.chromium.org/7366011 TBR=cwolfe@chromium.org Review URL: http://codereview.chromium.org/7455002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93097 0039d316-1c4b-4281-b951-d872f2087c98
* Initial sensor event provider for testing views screen rotationcwolfe@chromium.org2011-07-191-0/+4
| | | | | | | | | | | | | | The sensors API will unify various types of sensor data into a set of channels, each of which provides change events and periodic updates. This version of the API is intended only to support the experimental screen rotation code and is not for general use. In particular, the final listener will declare generic |OnSensorChange| and |OnSensorUpdate| methods, rather than the special-purpose |OnScreenOrientationChange|. BUG=none TEST=manual with http://codereview.chromium.org/7273073/ Review URL: http://codereview.chromium.org/7366011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93094 0039d316-1c4b-4281-b951-d872f2087c98
* Move MHTML code to content, now that download code is moving there.jam@chromium.org2011-07-191-0/+2
| | | | | | | BUG=82782 Review URL: http://codereview.chromium.org/7396029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93041 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce ui.dll / libui.so for the component build.darin@chromium.org2011-07-171-1/+1
| | | | | | | R=ben@chromium.org Review URL: http://codereview.chromium.org/7328011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92819 0039d316-1c4b-4281-b951-d872f2087c98
* Move dependencies of download\base_file from chrome to content. These are ↵jam@chromium.org2011-07-151-0/+9
| | | | | | | | | all trivial file moves. BUG=82782 Review URL: http://codereview.chromium.org/7388002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92695 0039d316-1c4b-4281-b951-d872f2087c98
* Move the save file code from chrome to content. This is just a file move so ↵jam@chromium.org2011-07-141-0/+14
| | | | | | | | | | | the DEPS in content\browser\download is very permissive for now. The one exception is save_package.cc, where I had to split off the usage of SelectFileDialog because the code depended on grit which can't be used in content (circular dependencies in gyp). TBR=rdsmith BUG=82782 Review URL: http://codereview.chromium.org/7373004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92623 0039d316-1c4b-4281-b951-d872f2087c98
* MediaStreamDispatcher host. This is the browser process counterpart for the ↵perkj@chromium.org2011-07-141-0/+2
| | | | | | | | | | | | | | | | | MediaStreamDispatcher. This is a patch for supporting WhatWG JS API for capture devices and peer-to-peer communication. The patch also enable the use of VideoCaptureHost. This patch superseds http://codereview.chromium.org/7204027/ due to my login name have changed. BUG= TEST= Review URL: http://codereview.chromium.org/7324024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92498 0039d316-1c4b-4281-b951-d872f2087c98
* Move BrowserURLHandler to content, and keep the Chrome specific ones in Chrome.jam@chromium.org2011-07-131-0/+2
| | | | | | | BUG=76697 Review URL: http://codereview.chromium.org/7351020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92427 0039d316-1c4b-4281-b951-d872f2087c98
* Convert ViewMsg_NetworkStateChanged from routed -> control,adamk@chromium.org2011-07-121-0/+2
| | | | | | | | | | | | | | | | | | | minimizing the number of required IPCs (since the online state is a per-WebKit singleton). In doing so, I've disentangled online state management from TabContents: it now resides off by itself in BrowserOnlineStateObserver, a tiny class owned by BrowserProcessImpl. This is an attempt to re-land r91390 without the OnProcessLaunched IPC (since r92062 solved that in a different way by using WebPreferences). The previous commit was reverted due to missing message_loop.h includes. R=darin@chromium.org Review URL: http://codereview.chromium.org/7343011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92233 0039d316-1c4b-4281-b951-d872f2087c98
* Pass AudioRendererHost data to MediaInternals.scottfr@chromium.org2011-07-081-0/+1
| | | | | | | | | BUG=none TEST=compiles, unittests Review URL: http://codereview.chromium.org/7217025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91908 0039d316-1c4b-4281-b951-d872f2087c98