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

Unified Diff: chrome/browser/renderer_host/pepper/pepper_talk_host.h

Issue 17043006: Implement supporting UI HRD-on-ChromeOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win_aura break. Use remoting tray UI only within ChromeOS. Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/renderer_host/pepper/pepper_talk_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/pepper/pepper_talk_host.h
diff --git a/chrome/browser/renderer_host/pepper/pepper_talk_host.h b/chrome/browser/renderer_host/pepper/pepper_talk_host.h
index 3b754fd05b8ae049af0e9236975b717edc2952a6..c5ca13b71033d1993a394d907a975c4da780e352 100644
--- a/chrome/browser/renderer_host/pepper/pepper_talk_host.h
+++ b/chrome/browser/renderer_host/pepper/pepper_talk_host.h
@@ -29,25 +29,25 @@ class PepperTalkHost : public ppapi::host::ResourceHost {
PP_Resource resource);
virtual ~PepperTalkHost();
+ private:
// ResourceHost override.
virtual int32_t OnResourceMessageReceived(
const IPC::Message& msg,
ppapi::host::HostMessageContext* context) OVERRIDE;
- // Sends the reply.
- void GotTalkPermission(ppapi::host::ReplyMessageContext reply);
+ int32_t OnRequestPermission(ppapi::host::HostMessageContext* context,
+ PP_TalkPermission permission);
+ int32_t OnStartRemoting(ppapi::host::HostMessageContext* context);
+ int32_t OnStopRemoting(ppapi::host::HostMessageContext* context);
+ void OnRemotingStopEvent();
- private:
- int32_t OnRequestPermission(
- ppapi::host::HostMessageContext* context,
- PP_TalkPermission permission);
- int32_t OnStartRemoting(
- ppapi::host::HostMessageContext* context);
- int32_t OnStopRemoting(
- ppapi::host::HostMessageContext* context);
+ void OnRequestPermissionCompleted(ppapi::host::ReplyMessageContext reply);
+ void OnStartRemotingCompleted(ppapi::host::ReplyMessageContext reply);
+ void OnStopRemotingCompleted(ppapi::host::ReplyMessageContext reply);
base::WeakPtrFactory<PepperTalkHost> weak_factory_;
content::BrowserPpapiHost* browser_ppapi_host_;
+ bool remoting_started_;
DISALLOW_COPY_AND_ASSIGN(PepperTalkHost);
};
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/renderer_host/pepper/pepper_talk_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698