summaryrefslogtreecommitdiffstats
path: root/chromium/content/renderer/web_ui_setup_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/renderer/web_ui_setup_impl.h')
-rw-r--r--chromium/content/renderer/web_ui_setup_impl.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/chromium/content/renderer/web_ui_setup_impl.h b/chromium/content/renderer/web_ui_setup_impl.h
new file mode 100644
index 00000000000..65234544f02
--- /dev/null
+++ b/chromium/content/renderer/web_ui_setup_impl.h
@@ -0,0 +1,32 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_RENDERER_WEB_UI_SETUP_IMPL_H_
+#define CONTENT_RENDERER_WEB_UI_SETUP_IMPL_H_
+
+#include "base/basictypes.h"
+#include "content/common/web_ui_setup.mojom.h"
+
+namespace content {
+
+class WebUISetupImpl : public mojo::InterfaceImpl<WebUISetup> {
+ public:
+ static void Bind(mojo::ScopedMessagePipeHandle handle);
+
+ private:
+ WebUISetupImpl() {}
+
+ virtual void OnConnectionError() OVERRIDE;
+
+ // WebUISetup methods:
+ virtual void SetWebUIHandle(
+ int32_t view_routing_id,
+ mojo::ScopedMessagePipeHandle web_ui_handle) OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(WebUISetupImpl);
+};
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_WEB_UI_SETUP_IMPL_H_