OLD | NEW |
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_RENDERER_RENDER_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 const IPC::ChannelHandle& handle); | 738 const IPC::ChannelHandle& handle); |
739 void OnCancelDownload(int32 download_id); | 739 void OnCancelDownload(int32 download_id); |
740 void OnClearFocusedNode(); | 740 void OnClearFocusedNode(); |
741 void OnClosePage(); | 741 void OnClosePage(); |
742 #if defined(ENABLE_FLAPPER_HACKS) | 742 #if defined(ENABLE_FLAPPER_HACKS) |
743 void OnConnectTcpACK(int request_id, | 743 void OnConnectTcpACK(int request_id, |
744 IPC::PlatformFileForTransit socket_for_transit, | 744 IPC::PlatformFileForTransit socket_for_transit, |
745 const PP_NetAddress_Private& local_addr, | 745 const PP_NetAddress_Private& local_addr, |
746 const PP_NetAddress_Private& remote_addr); | 746 const PP_NetAddress_Private& remote_addr); |
747 #endif | 747 #endif |
| 748 void OnTCPSocketConnectACK(uint32 plugin_dispatcher_id, |
| 749 uint32 socket_id, |
| 750 bool succeeded, |
| 751 const PP_NetAddress_Private& local_addr, |
| 752 const PP_NetAddress_Private& remote_addr); |
| 753 void OnTCPSocketSSLHandshakeACK(uint32 plugin_dispatcher_id, |
| 754 uint32 socket_id, |
| 755 bool succeeded); |
| 756 void OnTCPSocketReadACK(uint32 plugin_dispatcher_id, |
| 757 uint32 socket_id, |
| 758 bool succeeded, |
| 759 const std::string& data); |
| 760 void OnTCPSocketWriteACK(uint32 plugin_dispatcher_id, |
| 761 uint32 socket_id, |
| 762 bool succeeded, |
| 763 int32_t bytes_written); |
| 764 void OnUDPSocketBindACK(uint32 plugin_dispatcher_id, |
| 765 uint32 socket_id, |
| 766 bool succeeded); |
| 767 void OnUDPSocketSendToACK(uint32 plugin_dispatcher_id, |
| 768 uint32 socket_id, |
| 769 bool succeeded, |
| 770 int32_t bytes_written); |
| 771 void OnUDPSocketRecvFromACK(uint32 plugin_dispatcher_id, |
| 772 uint32 socket_id, |
| 773 bool succeeded, |
| 774 const std::string& data, |
| 775 const PP_NetAddress_Private& addr); |
| 776 |
748 void OnContextMenuClosed( | 777 void OnContextMenuClosed( |
749 const webkit_glue::CustomContextMenuContext& custom_context); | 778 const webkit_glue::CustomContextMenuContext& custom_context); |
750 void OnCopy(); | 779 void OnCopy(); |
751 void OnCopyImageAt(int x, int y); | 780 void OnCopyImageAt(int x, int y); |
752 #if defined(OS_MACOSX) | 781 #if defined(OS_MACOSX) |
753 void OnCopyToFindPboard(); | 782 void OnCopyToFindPboard(); |
754 #endif | 783 #endif |
755 void OnCut(); | 784 void OnCut(); |
756 void OnCSSInsertRequest(const string16& frame_xpath, | 785 void OnCSSInsertRequest(const string16& frame_xpath, |
757 const std::string& css); | 786 const std::string& css); |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1219 // bunch of stuff, you should probably create a helper class and put your | 1248 // bunch of stuff, you should probably create a helper class and put your |
1220 // data and methods on that to avoid bloating RenderView more. You can | 1249 // data and methods on that to avoid bloating RenderView more. You can |
1221 // use the Observer interface to filter IPC messages and receive frame change | 1250 // use the Observer interface to filter IPC messages and receive frame change |
1222 // notifications. | 1251 // notifications. |
1223 // --------------------------------------------------------------------------- | 1252 // --------------------------------------------------------------------------- |
1224 | 1253 |
1225 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1254 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1226 }; | 1255 }; |
1227 | 1256 |
1228 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1257 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |