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

Side by Side Diff: content/browser/renderer_host/browser_render_process_host.h

Issue 7136001: GPU compositing surface handle is no longer sent to renderer process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual bool WaitForUpdateMsg(int render_widget_id, 53 virtual bool WaitForUpdateMsg(int render_widget_id,
54 const base::TimeDelta& max_delay, 54 const base::TimeDelta& max_delay,
55 IPC::Message* msg); 55 IPC::Message* msg);
56 virtual void ReceivedBadMessage(); 56 virtual void ReceivedBadMessage();
57 virtual void WidgetRestored(); 57 virtual void WidgetRestored();
58 virtual void WidgetHidden(); 58 virtual void WidgetHidden();
59 virtual int VisibleWidgetCount() const; 59 virtual int VisibleWidgetCount() const;
60 virtual bool FastShutdownIfPossible(); 60 virtual bool FastShutdownIfPossible();
61 virtual base::ProcessHandle GetHandle(); 61 virtual base::ProcessHandle GetHandle();
62 virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id); 62 virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id);
63 virtual void SetCompositingSurface(
64 int render_widget_id,
65 gfx::PluginWindowHandle compositing_surface);
63 66
64 // IPC::Channel::Sender via RenderProcessHost. 67 // IPC::Channel::Sender via RenderProcessHost.
65 virtual bool Send(IPC::Message* msg); 68 virtual bool Send(IPC::Message* msg);
66 69
67 // IPC::Channel::Listener via RenderProcessHost. 70 // IPC::Channel::Listener via RenderProcessHost.
68 virtual bool OnMessageReceived(const IPC::Message& msg); 71 virtual bool OnMessageReceived(const IPC::Message& msg);
69 virtual void OnChannelConnected(int32 peer_pid); 72 virtual void OnChannelConnected(int32 peer_pid);
70 virtual void OnChannelError(); 73 virtual void OnChannelError();
71 74
72 // ChildProcessLauncher::Client implementation. 75 // ChildProcessLauncher::Client implementation.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // Messages we queue while waiting for the process handle. We queue them here 142 // Messages we queue while waiting for the process handle. We queue them here
140 // instead of in the channel so that we ensure they're sent after init related 143 // instead of in the channel so that we ensure they're sent after init related
141 // messages that are sent once the process handle is available. This is 144 // messages that are sent once the process handle is available. This is
142 // because the queued messages may have dependencies on the init messages. 145 // because the queued messages may have dependencies on the init messages.
143 std::queue<IPC::Message*> queued_messages_; 146 std::queue<IPC::Message*> queued_messages_;
144 147
145 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost); 148 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost);
146 }; 149 };
147 150
148 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 151 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698