diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-23 00:58:23 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-23 00:58:23 +0000 |
commit | 45644f6cc27340a43cddec94054c0c90ef65b7c9 (patch) | |
tree | 18aa26a314a5ff51bc82c40cb709427ebe8a754a /chrome/browser/ui/webui/constrained_html_ui.h | |
parent | ffe38f8add90e8c29055cd2aed4937ed5c45273a (diff) | |
download | chromium_src-45644f6cc27340a43cddec94054c0c90ef65b7c9.zip chromium_src-45644f6cc27340a43cddec94054c0c90ef65b7c9.tar.gz chromium_src-45644f6cc27340a43cddec94054c0c90ef65b7c9.tar.bz2 |
Move PropertyBag to base. Originally this was in chrome\common because only chrome used it. Now that chrome and content use it, and that we want to only expose interface through the content API, this belongs in base.
BUG=98716
Review URL: http://codereview.chromium.org/8652002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111266 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/webui/constrained_html_ui.h')
-rw-r--r-- | chrome/browser/ui/webui/constrained_html_ui.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/constrained_html_ui.h b/chrome/browser/ui/webui/constrained_html_ui.h index 03d2022..77c2b3b 100644 --- a/chrome/browser/ui/webui/constrained_html_ui.h +++ b/chrome/browser/ui/webui/constrained_html_ui.h @@ -7,7 +7,6 @@ #pragma once #include "chrome/browser/ui/webui/chrome_web_ui.h" -#include "content/common/property_bag.h" class ConstrainedWindow; class HtmlDialogUIDelegate; @@ -16,6 +15,10 @@ class RenderViewHost; class TabContents; class TabContentsWrapper; +namespace base { +template<class T> class PropertyAccessor; +} + class ConstrainedHtmlUIDelegate { public: virtual HtmlDialogUIDelegate* GetHtmlDialogUIDelegate() = 0; @@ -62,7 +65,7 @@ class ConstrainedHtmlUI : public ChromeWebUI { // Returns a property accessor that can be used to set the // ConstrainedHtmlUIDelegate property on a TabContents. - static PropertyAccessor<ConstrainedHtmlUIDelegate*>& + static base::PropertyAccessor<ConstrainedHtmlUIDelegate*>& GetPropertyAccessor(); protected: |