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

Side by Side Diff: webkit/plugins/ppapi/ppb_talk_private_impl.cc

Issue 9683003: Aura: Show dialog box asking user's permisssion for screen sharing for gtalk (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 9 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
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 "webkit/plugins/ppapi/ppb_talk_private_impl.h"
6
7 #include "ppapi/c/private/ppb_talk_private.h"
8 #include "webkit/plugins/ppapi/host_globals.h"
9 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
10
11 using ppapi::thunk::PPB_Talk_Private_API;
12
13 namespace webkit {
14 namespace ppapi {
15
16 PPB_Talk_Private_Impl::PPB_Talk_Private_Impl(PP_Instance instance)
17 : ::ppapi::Resource(::ppapi::OBJECT_IS_IMPL, instance) {
18 }
19
20 PPB_Talk_Private_Impl::~PPB_Talk_Private_Impl() {
21 }
22
23 int32_t PPB_Talk_Private_Impl::GetPermission(
24 const PP_CompletionCallback& callback) {
25 // Not implemented on the host side.
26 NOTREACHED();
27 return PP_ERROR_FAILED;
28 }
29
30 int PPB_Talk_Private_Impl::GetRendererId() {
31 PluginInstance* instance = HostGlobals::Get()->GetInstance(pp_instance());
32 if (instance)
33 return instance->delegate()->GetRendererId();
34 return 0;
35 }
36
37 } // namespace ppapi
38 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698