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

Side by Side Diff: ipc/ipc_channel_proxy.h

Issue 11823027: [Android WebView] Implement the capture picture API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: changes in native/Java AwContents to support SW rendering without platform functions (tests). Created 7 years, 11 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) 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 IPC_IPC_CHANNEL_PROXY_H_ 5 #ifndef IPC_IPC_CHANNEL_PROXY_H_
6 #define IPC_IPC_CHANNEL_PROXY_H_ 6 #define IPC_IPC_CHANNEL_PROXY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 virtual void Clear(); 230 virtual void Clear();
231 231
232 private: 232 private:
233 friend class ChannelProxy; 233 friend class ChannelProxy;
234 friend class SendCallbackHelper; 234 friend class SendCallbackHelper;
235 235
236 // Create the Channel 236 // Create the Channel
237 void CreateChannel(const IPC::ChannelHandle& channel_handle, 237 void CreateChannel(const IPC::ChannelHandle& channel_handle,
238 const Channel::Mode& mode); 238 const Channel::Mode& mode);
239 239
240 // Sends a reply for failed synchronous messages.
241 void SendFailedSyncMessageReply(const Message& message);
242
240 // Methods called on the IO thread. 243 // Methods called on the IO thread.
241 void OnSendMessage(scoped_ptr<Message> message_ptr); 244 void OnSendMessage(scoped_ptr<Message> message_ptr);
242 void OnAddFilter(); 245 void OnAddFilter();
243 void OnRemoveFilter(MessageFilter* filter); 246 void OnRemoveFilter(MessageFilter* filter);
244 247
245 // Methods called on the listener thread. 248 // Methods called on the listener thread.
246 void AddFilter(MessageFilter* filter); 249 void AddFilter(MessageFilter* filter);
247 void OnDispatchConnected(); 250 void OnDispatchConnected();
248 void OnDispatchError(); 251 void OnDispatchError();
249 252
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 287
285 OutgoingMessageFilter* outgoing_message_filter_; 288 OutgoingMessageFilter* outgoing_message_filter_;
286 289
287 // Whether the channel has been initialized. 290 // Whether the channel has been initialized.
288 bool did_init_; 291 bool did_init_;
289 }; 292 };
290 293
291 } // namespace IPC 294 } // namespace IPC
292 295
293 #endif // IPC_IPC_CHANNEL_PROXY_H_ 296 #endif // IPC_IPC_CHANNEL_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698