Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Side by Side Diff: content/renderer/web_ui_setup_impl.h

Issue 285333003: Support exposing Mojo services between render frames, render threads, and their respective hosts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/web_ui_mojo.cc ('k') | content/renderer/web_ui_setup_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef CONTENT_RENDERER_WEB_UI_SETUP_IMPL_H_
6 #define CONTENT_RENDERER_WEB_UI_SETUP_IMPL_H_
7
8 #include "base/basictypes.h"
9 #include "content/common/web_ui_setup.mojom.h"
10
11 namespace content {
12
13 class WebUISetupImpl : public mojo::InterfaceImpl<WebUISetup> {
14 public:
15 static void Bind(mojo::ScopedMessagePipeHandle handle);
16
17 private:
18 WebUISetupImpl() {}
19
20 virtual void OnConnectionError() OVERRIDE;
21
22 // WebUISetup methods:
23 virtual void SetWebUIHandle(
24 int32_t view_routing_id,
25 mojo::ScopedMessagePipeHandle web_ui_handle) OVERRIDE;
26
27 DISALLOW_COPY_AND_ASSIGN(WebUISetupImpl);
28 };
29
30 } // namespace content
31
32 #endif // CONTENT_RENDERER_WEB_UI_SETUP_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/web_ui_mojo.cc ('k') | content/renderer/web_ui_setup_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698