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

Side by Side Diff: ppapi/proxy/connection.h

Issue 100943002: Convert PepperBrowserConnection to be a RenderFrameObserver. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fixes Created 7 years 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/renderer/render_view_impl.cc ('k') | ppapi/proxy/plugin_resource.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 PPAPI_PROXY_CONNECTION_H_ 5 #ifndef PPAPI_PROXY_CONNECTION_H_
6 #define PPAPI_PROXY_CONNECTION_H_ 6 #define PPAPI_PROXY_CONNECTION_H_
7 7
8 #include "ipc/ipc_message.h" 8 #include "ipc/ipc_message.h"
9 9
10 namespace IPC { 10 namespace IPC {
(...skipping 22 matching lines...) Expand all
33 renderer_sender(renderer), 33 renderer_sender(renderer),
34 in_process(true), 34 in_process(true),
35 browser_sender_routing_id(routing_id) { 35 browser_sender_routing_id(routing_id) {
36 } 36 }
37 37
38 IPC::Sender* browser_sender; 38 IPC::Sender* browser_sender;
39 IPC::Sender* renderer_sender; 39 IPC::Sender* renderer_sender;
40 bool in_process; 40 bool in_process;
41 // We need to use a routing ID when a plugin is in-process, and messages are 41 // We need to use a routing ID when a plugin is in-process, and messages are
42 // sent back from the browser to the renderer. This is so that messages are 42 // sent back from the browser to the renderer. This is so that messages are
43 // routed to the proper RenderViewImpl. 43 // routed to the proper RenderFrameImpl.
44 int browser_sender_routing_id; 44 int browser_sender_routing_id;
45 }; 45 };
46 46
47 } // namespace proxy 47 } // namespace proxy
48 } // namespace ppapi 48 } // namespace ppapi
49 49
50 50
51 #endif // PPAPI_PROXY_CONNECTION_H_ 51 #endif // PPAPI_PROXY_CONNECTION_H_
52 52
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | ppapi/proxy/plugin_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698