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

Side by Side Diff: content/ppapi_plugin/ppapi_thread.h

Issue 10912062: Implement the gamepad API in the IPC proxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « content/content_tests.gypi ('k') | content/ppapi_plugin/ppapi_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_ 5 #ifndef CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_
6 #define CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_ 6 #define CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual bool SendToBrowser(IPC::Message* msg) OVERRIDE; 63 virtual bool SendToBrowser(IPC::Message* msg) OVERRIDE;
64 virtual IPC::Sender* GetBrowserSender() OVERRIDE; 64 virtual IPC::Sender* GetBrowserSender() OVERRIDE;
65 virtual std::string GetUILanguage() OVERRIDE; 65 virtual std::string GetUILanguage() OVERRIDE;
66 virtual void PreCacheFont(const void* logfontw) OVERRIDE; 66 virtual void PreCacheFont(const void* logfontw) OVERRIDE;
67 virtual void SetActiveURL(const std::string& url) OVERRIDE; 67 virtual void SetActiveURL(const std::string& url) OVERRIDE;
68 68
69 // Message handlers. 69 // Message handlers.
70 void OnMsgLoadPlugin(const FilePath& path); 70 void OnMsgLoadPlugin(const FilePath& path);
71 void OnMsgCreateChannel(int renderer_id, 71 void OnMsgCreateChannel(int renderer_id,
72 bool incognito); 72 bool incognito);
73 void OnMsgResourceReply(
74 const ppapi::proxy::ResourceMessageReplyParams& reply_params,
75 const IPC::Message& nested_msg);
73 void OnMsgSetNetworkState(bool online); 76 void OnMsgSetNetworkState(bool online);
74 void OnPluginDispatcherMessageReceived(const IPC::Message& msg); 77 void OnPluginDispatcherMessageReceived(const IPC::Message& msg);
75 78
76 // Sets up the channel to the given renderer. On success, returns true and 79 // Sets up the channel to the given renderer. On success, returns true and
77 // fills the given ChannelHandle with the information from the new channel. 80 // fills the given ChannelHandle with the information from the new channel.
78 bool SetupRendererChannel(int renderer_id, 81 bool SetupRendererChannel(int renderer_id,
79 bool incognito, 82 bool incognito,
80 IPC::ChannelHandle* handle); 83 IPC::ChannelHandle* handle);
81 84
82 // Sets up the name of the plugin for logging using the given path. 85 // Sets up the name of the plugin for logging using the given path.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 119
117 #if defined(OS_WIN) 120 #if defined(OS_WIN)
118 // Caches the handle to the peer process if this is a broker. 121 // Caches the handle to the peer process if this is a broker.
119 base::win::ScopedHandle peer_handle_; 122 base::win::ScopedHandle peer_handle_;
120 #endif 123 #endif
121 124
122 DISALLOW_IMPLICIT_CONSTRUCTORS(PpapiThread); 125 DISALLOW_IMPLICIT_CONSTRUCTORS(PpapiThread);
123 }; 126 };
124 127
125 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_ 128 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/ppapi_plugin/ppapi_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698