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

Side by Side Diff: components/nacl/renderer/nacl_helper.h

Issue 290553004: PPAPI: Refactor MessageChannel to prep for sync postMessae (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move NaCl hook to components/nacl/renderer Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « components/nacl.gyp ('k') | components/nacl/renderer/nacl_helper.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 COMPONENTS_NACL_RENDERER_NACL_HELPER_H_
6 #define COMPONENTS_NACL_RENDERER_NACL_HELPER_H_
7
8 #include "base/compiler_specific.h"
9 #include "content/public/renderer/render_frame_observer.h"
10
11 // This class listens for Pepper creation events from the RenderFrame. For the
teravest 2014/05/22 20:20:30 I think this should go in the nacl namespace.
dmichael (off chromium) 2014/05/22 20:35:00 Good catch, thanks, done.
12 // NaCl trusted plugin, it configures it as an external plugin host.
13 // TODO(dmichael): When the trusted plugin goes away, we need to figure out the
14 // right event to watch for.
15 class NaClHelper : public content::RenderFrameObserver {
16 public:
17 explicit NaClHelper(content::RenderFrame* render_frame);
18 virtual ~NaClHelper();
19
20 // RenderFrameObserver.
21 virtual void DidCreatePepperPlugin(content::RendererPpapiHost* host) OVERRIDE;
22
23 private:
24 DISALLOW_COPY_AND_ASSIGN(NaClHelper);
25 };
26
27 #endif // COMPONENTS_NACL_RENDERER_NACL_HELPER_H_
OLDNEW
« no previous file with comments | « components/nacl.gyp ('k') | components/nacl/renderer/nacl_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698