| OLD | NEW |
| 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_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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 void OnAllowScriptToClose(bool script_can_close); | 782 void OnAllowScriptToClose(bool script_can_close); |
| 783 void OnAsyncFileOpened(base::PlatformFileError error_code, | 783 void OnAsyncFileOpened(base::PlatformFileError error_code, |
| 784 IPC::PlatformFileForTransit file_for_transit, | 784 IPC::PlatformFileForTransit file_for_transit, |
| 785 int message_id); | 785 int message_id); |
| 786 void OnPpapiBrokerChannelCreated(int request_id, | 786 void OnPpapiBrokerChannelCreated(int request_id, |
| 787 base::ProcessHandle broker_process_handle, | 787 base::ProcessHandle broker_process_handle, |
| 788 const IPC::ChannelHandle& handle); | 788 const IPC::ChannelHandle& handle); |
| 789 void OnCancelDownload(int32 download_id); | 789 void OnCancelDownload(int32 download_id); |
| 790 void OnClearFocusedNode(); | 790 void OnClearFocusedNode(); |
| 791 void OnClosePage(); | 791 void OnClosePage(); |
| 792 #if defined(ENABLE_FLAPPER_HACKS) | |
| 793 void OnConnectTcpACK(int request_id, | |
| 794 IPC::PlatformFileForTransit socket_for_transit, | |
| 795 const PP_NetAddress_Private& local_addr, | |
| 796 const PP_NetAddress_Private& remote_addr); | |
| 797 #endif | |
| 798 void OnContextMenuClosed( | 792 void OnContextMenuClosed( |
| 799 const content::CustomContextMenuContext& custom_context); | 793 const content::CustomContextMenuContext& custom_context); |
| 800 void OnCopy(); | 794 void OnCopy(); |
| 801 void OnCopyImageAt(int x, int y); | 795 void OnCopyImageAt(int x, int y); |
| 802 #if defined(OS_MACOSX) | 796 #if defined(OS_MACOSX) |
| 803 void OnCopyToFindPboard(); | 797 void OnCopyToFindPboard(); |
| 804 #endif | 798 #endif |
| 805 void OnCut(); | 799 void OnCut(); |
| 806 void OnCSSInsertRequest(const string16& frame_xpath, | 800 void OnCSSInsertRequest(const string16& frame_xpath, |
| 807 const std::string& css); | 801 const std::string& css); |
| (...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1311 // bunch of stuff, you should probably create a helper class and put your | 1305 // bunch of stuff, you should probably create a helper class and put your |
| 1312 // data and methods on that to avoid bloating RenderView more. You can | 1306 // data and methods on that to avoid bloating RenderView more. You can |
| 1313 // use the Observer interface to filter IPC messages and receive frame change | 1307 // use the Observer interface to filter IPC messages and receive frame change |
| 1314 // notifications. | 1308 // notifications. |
| 1315 // --------------------------------------------------------------------------- | 1309 // --------------------------------------------------------------------------- |
| 1316 | 1310 |
| 1317 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1311 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1318 }; | 1312 }; |
| 1319 | 1313 |
| 1320 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1314 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |