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 CHROME_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_RENDERER_RENDER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 class FullscreenContainer; | 107 class FullscreenContainer; |
108 } // namespace ppapi | 108 } // namespace ppapi |
109 | 109 |
110 } // namespace webkit | 110 } // namespace webkit |
111 | 111 |
112 namespace safe_browsing { | 112 namespace safe_browsing { |
113 class PhishingClassifierDelegate; | 113 class PhishingClassifierDelegate; |
114 } | 114 } |
115 | 115 |
116 namespace webkit_glue { | 116 namespace webkit_glue { |
| 117 struct CustomContextMenuContext; |
117 class ImageResourceFetcher; | 118 class ImageResourceFetcher; |
118 struct FileUploadData; | 119 struct FileUploadData; |
119 struct FormData; | 120 struct FormData; |
120 struct PasswordFormFillData; | 121 struct PasswordFormFillData; |
121 class ResourceFetcher; | 122 class ResourceFetcher; |
122 } | 123 } |
123 | 124 |
124 namespace WebKit { | 125 namespace WebKit { |
125 class WebAccessibilityCache; | 126 class WebAccessibilityCache; |
126 class WebAccessibilityObject; | 127 class WebAccessibilityObject; |
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
819 int message_id); | 820 int message_id); |
820 void OnCancelDownload(int32 download_id); | 821 void OnCancelDownload(int32 download_id); |
821 void OnClearFocusedNode(); | 822 void OnClearFocusedNode(); |
822 void OnClosePage(const ViewMsg_ClosePage_Params& params); | 823 void OnClosePage(const ViewMsg_ClosePage_Params& params); |
823 #if defined(ENABLE_FLAPPER_HACKS) | 824 #if defined(ENABLE_FLAPPER_HACKS) |
824 void OnConnectTcpACK(int request_id, | 825 void OnConnectTcpACK(int request_id, |
825 IPC::PlatformFileForTransit socket_for_transit, | 826 IPC::PlatformFileForTransit socket_for_transit, |
826 const PP_Flash_NetAddress& local_addr, | 827 const PP_Flash_NetAddress& local_addr, |
827 const PP_Flash_NetAddress& remote_addr); | 828 const PP_Flash_NetAddress& remote_addr); |
828 #endif | 829 #endif |
829 void OnContextMenuClosed(); | 830 void OnContextMenuClosed( |
| 831 const webkit_glue::CustomContextMenuContext& custom_context); |
830 void OnCopy(); | 832 void OnCopy(); |
831 void OnCopyImageAt(int x, int y); | 833 void OnCopyImageAt(int x, int y); |
832 #if defined(OS_MACOSX) | 834 #if defined(OS_MACOSX) |
833 void OnCopyToFindPboard(); | 835 void OnCopyToFindPboard(); |
834 #endif | 836 #endif |
835 void OnCut(); | 837 void OnCut(); |
836 void OnCaptureThumbnail(); | 838 void OnCaptureThumbnail(); |
837 void OnCaptureSnapshot(); | 839 void OnCaptureSnapshot(); |
838 void OnCSSInsertRequest(const std::wstring& frame_xpath, | 840 void OnCSSInsertRequest(const std::wstring& frame_xpath, |
839 const std::string& css, | 841 const std::string& css, |
840 const std::string& id); | 842 const std::string& id); |
841 void OnCustomContextMenuAction(unsigned action); | 843 void OnCustomContextMenuAction( |
| 844 const webkit_glue::CustomContextMenuContext& custom_context, |
| 845 unsigned action); |
842 void OnDelete(); | 846 void OnDelete(); |
843 void OnDeterminePageLanguage(); | 847 void OnDeterminePageLanguage(); |
844 void OnDisableScrollbarsForSmallWindows( | 848 void OnDisableScrollbarsForSmallWindows( |
845 const gfx::Size& disable_scrollbars_size_limit); | 849 const gfx::Size& disable_scrollbars_size_limit); |
846 void OnDisassociateFromPopupCount(); | 850 void OnDisassociateFromPopupCount(); |
847 void OnDownloadFavIcon(int id, const GURL& image_url, int image_size); | 851 void OnDownloadFavIcon(int id, const GURL& image_url, int image_size); |
848 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, | 852 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, |
849 const gfx::Point& screen_point, | 853 const gfx::Point& screen_point, |
850 bool ended, | 854 bool ended, |
851 WebKit::WebDragOperation drag_operation); | 855 WebKit::WebDragOperation drag_operation); |
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1483 // bunch of stuff, you should probably create a helper class and put your | 1487 // bunch of stuff, you should probably create a helper class and put your |
1484 // data and methods on that to avoid bloating RenderView more. You can use | 1488 // data and methods on that to avoid bloating RenderView more. You can use |
1485 // the Observer interface to filter IPC messages and receive frame change | 1489 // the Observer interface to filter IPC messages and receive frame change |
1486 // notifications. | 1490 // notifications. |
1487 // --------------------------------------------------------------------------- | 1491 // --------------------------------------------------------------------------- |
1488 | 1492 |
1489 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1493 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1490 }; | 1494 }; |
1491 | 1495 |
1492 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1496 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |