1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_RENDERER_WEB_UI_SETUP_IMPL_H_
6 #define CONTENT_RENDERER_WEB_UI_SETUP_IMPL_H_
8 #include "base/basictypes.h"
9 #include "content/common/web_ui_setup.mojom.h"
13 class WebUISetupImpl : public mojo::InterfaceImpl<WebUISetup> {
15 static void Bind(mojo::ScopedMessagePipeHandle handle);
20 virtual void OnConnectionError() OVERRIDE;
22 // WebUISetup methods:
23 virtual void SetWebUIHandle(
24 int32_t view_routing_id,
25 mojo::ScopedMessagePipeHandle web_ui_handle) OVERRIDE;
27 DISALLOW_COPY_AND_ASSIGN(WebUISetupImpl);
30 } // namespace content
32 #endif // CONTENT_RENDERER_WEB_UI_SETUP_IMPL_H_