summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_web_ui.cc
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert 83100 - Remove weird dependency on extensions from ↵aa@chromium.org2011-04-271-3/+6
| | | | | | | | | | webui.Re-plumb extension request messages in a more sane way.Before, each RVH had ProcessWebUIMessage(), which wasserving as a manual way of plumbing both WebUI andextension messages to the right place, even though onlya few RVHD responded to either message.Instead of this, we now just teach more of the stack howto handle IPC messages in general, and delegate them upthrough the stack, giving each layer a chance to handlethem if it knows how.The result is simpler and smaller:179 insertions(+), 252 deletions(-)BUG=80311Review URL: http://codereview.chromium.org/6901021" This reverts commit 643b280cedd9f0b76948686f39f50f295aba362f. TBR=mpcomplete@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83168 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 83100 - Remove weird dependency on extensions from webui.Re-plumb ↵aa@chromium.org2011-04-261-6/+3
| | | | | | | | | extension request messages in a more sane way.Before, each RVH had ProcessWebUIMessage(), which wasserving as a manual way of plumbing both WebUI andextension messages to the right place, even though onlya few RVHD responded to either message.Instead of this, we now just teach more of the stack howto handle IPC messages in general, and delegate them upthrough the stack, giving each layer a chance to handlethem if it knows how.The result is simpler and smaller:179 insertions(+), 252 deletions(-)BUG=80311Review URL: http://codereview.chromium.org/6901021 TBR=aa@chromium.org Review URL: http://codereview.chromium.org/6905045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83103 0039d316-1c4b-4281-b951-d872f2087c98
* Remove weird dependency on extensions from webui.aa@chromium.org2011-04-261-3/+6
| | | | | | | | | | | | | | | | | | | | | | | Re-plumb extension request messages in a more sane way. Before, each RVH had ProcessWebUIMessage(), which was serving as a manual way of plumbing both WebUI and extension messages to the right place, even though only a few RVHD responded to either message. Instead of this, we now just teach more of the stack how to handle IPC messages in general, and delegate them up through the stack, giving each layer a chance to handle them if it knows how. The result is simpler and smaller: 179 insertions(+), 252 deletions(-) BUG=80311 Review URL: http://codereview.chromium.org/6901021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83100 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the last Chrome dependencies from renderer, and enforce no more ↵jam@chromium.org2011-04-181-1/+1
| | | | | | | | includes through DEPS. I also added DEPS checking for gpu/plugin/worker directories as well. I moved the Chrome specific browser tests to the chrome directory, and removed render_widget_unittest since it didn't seem to be testing much (there are tests that test it much more fully). I had to move bindings_policy.h, which ideally would be split into separate pieces so that the content layer only has to know about the content bindings. Given that it's basically an enum, I moved the whole file now since it's used in a lot of places, and the value of turning on DEPS checking is really high. Review URL: http://codereview.chromium.org/6874038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81924 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of PrefService::GetMutableDictionary/GetMutableListbattre@chromium.org2011-04-111-6/+7
| | | | | | | | | BUG=77914 TEST=none, trybots remain green Review URL: http://codereview.chromium.org/6706017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81075 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor ExtensionService/ExtensionServiceInterface to be more testableakalin@chromium.org2011-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | In particular: - Add various status accessors to ExtensionServiceInterface (e.g., IsExtensionEnabled()) - Convert IsIncognitoEnabled() to take an ID instead of an Extension*. - Add CheckForUpdates() to ExtensionServiceInterface. - Remove various unneeded accessors from ExtensionServiceInterface. Rewrite some sync utility functions to take advantage of the new interface (although it will be rewritten more in a future CL). BUG=77995 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80539 Review URL: http://codereview.chromium.org/6720042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80705 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Update a bunch of files to the new location of browser_list.h. Part ↵tfarina@chromium.org2011-04-061-3/+3
| | | | | | | | | | | | | 1/3. BUG=None TEST=None R=avi@chromium.org Review URL: http://codereview.chromium.org/6689029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80632 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 80539 - Refactor ExtensionService/ExtensionServiceInterface to be ↵cmp@chromium.org2011-04-061-1/+1
| | | | | | | | | more testableIn particular:- Add various status accessors to ExtensionServiceInterface (e.g., IsExtensionEnabled())- Convert IsIncognitoEnabled() to take an ID instead of an Extension*.- Add CheckForUpdates() to ExtensionServiceInterface.- Remove various unneeded accessors from ExtensionServiceInterface.Rewrite some sync utility functions to take advantage of the newinterface (although it will be rewritten more in a future CL).BUG=77995TEST=Review URL: http://codereview.chromium.org/6720042 TBR=akalin@chromium.org Review URL: http://codereview.chromium.org/6804010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80613 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor ExtensionService/ExtensionServiceInterface to be more testableakalin@chromium.org2011-04-051-1/+1
| | | | | | | | | | | | | | | | | | | In particular: - Add various status accessors to ExtensionServiceInterface (e.g., IsExtensionEnabled()) - Convert IsIncognitoEnabled() to take an ID instead of an Extension*. - Add CheckForUpdates() to ExtensionServiceInterface. - Remove various unneeded accessors from ExtensionServiceInterface. Rewrite some sync utility functions to take advantage of the new interface (although it will be rewritten more in a future CL). BUG=77995 TEST= Review URL: http://codereview.chromium.org/6720042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80539 0039d316-1c4b-4281-b951-d872f2087c98
* Pipe TabContentsWrapper through the task manageravi@chromium.org2011-03-291-2/+3
| | | | | | | | | BUG=71097 TEST=no visible change; task manager should work as usual Review URL: http://codereview.chromium.org/6733032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79670 0039d316-1c4b-4281-b951-d872f2087c98
* Move extension messages to their own file and add a RenderViewObserver to ↵jam@chromium.org2011-03-281-1/+1
| | | | | | | | | start moving the extension code out of RenderView. TBR=aa Review URL: http://codereview.chromium.org/6735004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79561 0039d316-1c4b-4281-b951-d872f2087c98
* Move the remaining files in chrome\common to content\common.jam@chromium.org2011-03-171-1/+1
| | | | | | | 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
* Populated the IconType in FavIconService.michaelbai@google.com2011-03-161-2/+5
| | | | | | | | | | | | Changed the FavIconService callback to have the IconType parameter. Changed the callers to use FAV_ICON as default type BUG=71571 TEST=Tested with existing unit test Review URL: http://codereview.chromium.org/6651014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78383 0039d316-1c4b-4281-b951-d872f2087c98
* fav icon -> favicon. Pass 3: kFavIconSize -> kFaviconSizeavi@chromium.org2011-03-151-1/+1
| | | | | | | | | BUG=76073 TEST=none; no visible change Review URL: http://codereview.chromium.org/6681041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78209 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Add a NULL check in ExtensionWebUI::GetNativeViewOfHost().thestig@chromium.org2011-03-111-1/+2
| | | | | | | | | CID=14839 BUG=none TEST=none Review URL: http://codereview.chromium.org/6672013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77743 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some coverity defects (mostly pass by value).estade@chromium.org2011-03-111-1/+1
| | | | | | | | | | CID=15414,15415,15413,15412,15402,14582,13684,12723,15407,14785,14511,13975,13647,11655,10891,9103,8402,8394,10924,8497,others BUG=none TEST=trybots Review URL: http://codereview.chromium.org/6665012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77740 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of a bunch of includes to old locations of headers.jam@chromium.org2011-03-021-2/+2
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6602061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76470 0039d316-1c4b-4281-b951-d872f2087c98
* Carnitas: Delete stub src/gfx/* headerssail@chromium.org2011-02-131-2/+2
| | | | | | | | | | | The last references to src/gfx/* have been updated so it's safe to delete the stub headers. BUG=None TEST=None Review URL: http://codereview.chromium.org/6474031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74741 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Rename ProcessDOMUIMessage to ProcessWebUIMessage.tfarina@chromium.org2011-02-121-1/+1
| | | | | | | | | BUG=59945 TEST=trybots Review URL: http://codereview.chromium.org/6507012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74710 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Get rid of more referecens to DOMUI. Part 2.tfarina@chromium.org2011-02-101-3/+3
| | | | | | | | | BUG= 59945 TEST=trybots Review URL: http://codereview.chromium.org/6469021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74512 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Rename ExtensionDOMUI to ExtensionWebUI.tfarina@chromium.org2011-02-051-0/+409
BUG=59945 TEST=trybots Review URL: http://codereview.chromium.org/6349120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73888 0039d316-1c4b-4281-b951-d872f2087c98