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 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 // The documentation for these functions should be in | 883 // The documentation for these functions should be in |
884 // render_messages_internal.h for the message that the function is handling. | 884 // render_messages_internal.h for the message that the function is handling. |
885 | 885 |
886 CONTENT_EXPORT void OnAllowBindings(int enabled_bindings_flags); | 886 CONTENT_EXPORT void OnAllowBindings(int enabled_bindings_flags); |
887 void OnAllowScriptToClose(bool script_can_close); | 887 void OnAllowScriptToClose(bool script_can_close); |
888 void OnAsyncFileOpened(base::PlatformFileError error_code, | 888 void OnAsyncFileOpened(base::PlatformFileError error_code, |
889 IPC::PlatformFileForTransit file_for_transit, | 889 IPC::PlatformFileForTransit file_for_transit, |
890 int message_id); | 890 int message_id); |
891 void OnPpapiBrokerChannelCreated(int request_id, | 891 void OnPpapiBrokerChannelCreated(int request_id, |
892 const IPC::ChannelHandle& handle); | 892 const IPC::ChannelHandle& handle); |
| 893 void OnPpapiBrokerPermissionResult(int request_id, bool result); |
893 void OnCancelDownload(int32 download_id); | 894 void OnCancelDownload(int32 download_id); |
894 void OnClearFocusedNode(); | 895 void OnClearFocusedNode(); |
895 void OnClosePage(); | 896 void OnClosePage(); |
896 void OnContextMenuClosed( | 897 void OnContextMenuClosed( |
897 const content::CustomContextMenuContext& custom_context); | 898 const content::CustomContextMenuContext& custom_context); |
898 void OnCopy(); | 899 void OnCopy(); |
899 void OnCopyImageAt(int x, int y); | 900 void OnCopyImageAt(int x, int y); |
900 #if defined(OS_MACOSX) | 901 #if defined(OS_MACOSX) |
901 void OnCopyToFindPboard(); | 902 void OnCopyToFindPboard(); |
902 #endif | 903 #endif |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1443 // bunch of stuff, you should probably create a helper class and put your | 1444 // bunch of stuff, you should probably create a helper class and put your |
1444 // data and methods on that to avoid bloating RenderView more. You can | 1445 // data and methods on that to avoid bloating RenderView more. You can |
1445 // use the Observer interface to filter IPC messages and receive frame change | 1446 // use the Observer interface to filter IPC messages and receive frame change |
1446 // notifications. | 1447 // notifications. |
1447 // --------------------------------------------------------------------------- | 1448 // --------------------------------------------------------------------------- |
1448 | 1449 |
1449 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1450 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1450 }; | 1451 }; |
1451 | 1452 |
1452 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1453 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |