summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/constrained_html_ui.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-29 21:51:32 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-29 21:51:32 +0000
commited152d32e3975a95e8166b47213f2149e59fa53a (patch)
tree5a2bd7b95df2189b7ff6e18223edd4ec5c6bbf6c /chrome/browser/ui/webui/constrained_html_ui.cc
parentad0d54b263797e757f023f21ff3eee124e521f8d (diff)
downloadchromium_src-ed152d32e3975a95e8166b47213f2149e59fa53a.zip
chromium_src-ed152d32e3975a95e8166b47213f2149e59fa53a.tar.gz
chromium_src-ed152d32e3975a95e8166b47213f2149e59fa53a.tar.bz2
Cleanup: Remove some unneeded headers in chrome/browser/ui/webui.
BUG=none TEST=none Review URL: http://codereview.chromium.org/8071012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/webui/constrained_html_ui.cc')
-rw-r--r--chrome/browser/ui/webui/constrained_html_ui.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/ui/webui/constrained_html_ui.cc b/chrome/browser/ui/webui/constrained_html_ui.cc
index 220fdfe..5621339 100644
--- a/chrome/browser/ui/webui/constrained_html_ui.cc
+++ b/chrome/browser/ui/webui/constrained_html_ui.cc
@@ -4,12 +4,14 @@
#include "chrome/browser/ui/webui/constrained_html_ui.h"
+#include <string>
+#include <vector>
+
#include "base/lazy_instance.h"
#include "base/values.h"
#include "chrome/browser/ui/webui/html_dialog_ui.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/tab_contents/tab_contents.h"
-#include "content/common/bindings_policy.h"
static base::LazyInstance<PropertyAccessor<ConstrainedHtmlUIDelegate*> >
g_constrained_html_ui_property_accessor(base::LINKER_INITIALIZED);
@@ -21,8 +23,7 @@ ConstrainedHtmlUI::ConstrainedHtmlUI(TabContents* contents)
ConstrainedHtmlUI::~ConstrainedHtmlUI() {
}
-void ConstrainedHtmlUI::RenderViewCreated(
- RenderViewHost* render_view_host) {
+void ConstrainedHtmlUI::RenderViewCreated(RenderViewHost* render_view_host) {
ConstrainedHtmlUIDelegate* delegate = GetConstrainedDelegate();
if (!delegate)
return;
@@ -55,8 +56,7 @@ void ConstrainedHtmlUI::OnDialogCloseMessage(const ListValue* args) {
delegate->OnDialogCloseFromWebUI();
}
-ConstrainedHtmlUIDelegate*
- ConstrainedHtmlUI::GetConstrainedDelegate() {
+ConstrainedHtmlUIDelegate* ConstrainedHtmlUI::GetConstrainedDelegate() {
ConstrainedHtmlUIDelegate** property =
GetPropertyAccessor().GetProperty(tab_contents()->property_bag());
return property ? *property : NULL;