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

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

Issue 290553004: PPAPI: Refactor MessageChannel to prep for sync postMessae (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move NaClHelper in to nacl namespace 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/renderer/nacl_helper.h ('k') | content/public/renderer/renderer_ppapi_host.h » ('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 #include "components/nacl/renderer/nacl_helper.h"
6
7 #include "content/public/renderer/renderer_ppapi_host.h"
8
9 namespace nacl {
10
11 NaClHelper::NaClHelper(content::RenderFrame* render_frame)
12 : RenderFrameObserver(render_frame) {}
13
14 NaClHelper::~NaClHelper() {}
15
16 void NaClHelper::DidCreatePepperPlugin(content::RendererPpapiHost* host) {
17 // The Native Client plugin is a host for external plugins.
18 if (host->GetPluginName() == "Native Client")
19 host->SetToExternalPluginHost();
20 }
21
22 } // namespace nacl
OLDNEW
« no previous file with comments | « components/nacl/renderer/nacl_helper.h ('k') | content/public/renderer/renderer_ppapi_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698