| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 struct WebDropData; | 83 struct WebDropData; |
| 84 class WebIntentsHost; | 84 class WebIntentsHost; |
| 85 class WebPluginDelegateProxy; | 85 class WebPluginDelegateProxy; |
| 86 class WebUIBindings; | 86 class WebUIBindings; |
| 87 | 87 |
| 88 namespace content { | 88 namespace content { |
| 89 class DocumentState; | 89 class DocumentState; |
| 90 class P2PSocketDispatcher; | 90 class P2PSocketDispatcher; |
| 91 class RenderViewObserver; | 91 class RenderViewObserver; |
| 92 class RenderViewTest; | 92 class RenderViewTest; |
| 93 struct CustomContextMenuContext; |
| 93 struct FileChooserParams; | 94 struct FileChooserParams; |
| 94 } // namespace content | 95 } // namespace content |
| 95 | 96 |
| 96 namespace gfx { | 97 namespace gfx { |
| 97 class Point; | 98 class Point; |
| 98 class Rect; | 99 class Rect; |
| 99 } // namespace gfx | 100 } // namespace gfx |
| 100 | 101 |
| 101 namespace webkit { | 102 namespace webkit { |
| 102 | 103 |
| 103 namespace ppapi { | 104 namespace ppapi { |
| 104 class PluginInstance; | 105 class PluginInstance; |
| 105 } // namespace ppapi | 106 } // namespace ppapi |
| 106 | 107 |
| 107 } // namespace webkit | 108 } // namespace webkit |
| 108 | 109 |
| 109 namespace webkit_glue { | 110 namespace webkit_glue { |
| 110 struct CustomContextMenuContext; | |
| 111 class ImageResourceFetcher; | 111 class ImageResourceFetcher; |
| 112 class ResourceFetcher; | 112 class ResourceFetcher; |
| 113 } | 113 } |
| 114 | 114 |
| 115 namespace WebKit { | 115 namespace WebKit { |
| 116 class WebApplicationCacheHost; | 116 class WebApplicationCacheHost; |
| 117 class WebApplicationCacheHostClient; | 117 class WebApplicationCacheHostClient; |
| 118 class WebDataSource; | 118 class WebDataSource; |
| 119 class WebDragData; | 119 class WebDragData; |
| 120 class WebGeolocationClient; | 120 class WebGeolocationClient; |
| (...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 773 void OnCancelDownload(int32 download_id); | 773 void OnCancelDownload(int32 download_id); |
| 774 void OnClearFocusedNode(); | 774 void OnClearFocusedNode(); |
| 775 void OnClosePage(); | 775 void OnClosePage(); |
| 776 #if defined(ENABLE_FLAPPER_HACKS) | 776 #if defined(ENABLE_FLAPPER_HACKS) |
| 777 void OnConnectTcpACK(int request_id, | 777 void OnConnectTcpACK(int request_id, |
| 778 IPC::PlatformFileForTransit socket_for_transit, | 778 IPC::PlatformFileForTransit socket_for_transit, |
| 779 const PP_NetAddress_Private& local_addr, | 779 const PP_NetAddress_Private& local_addr, |
| 780 const PP_NetAddress_Private& remote_addr); | 780 const PP_NetAddress_Private& remote_addr); |
| 781 #endif | 781 #endif |
| 782 void OnContextMenuClosed( | 782 void OnContextMenuClosed( |
| 783 const webkit_glue::CustomContextMenuContext& custom_context); | 783 const content::CustomContextMenuContext& custom_context); |
| 784 void OnCopy(); | 784 void OnCopy(); |
| 785 void OnCopyImageAt(int x, int y); | 785 void OnCopyImageAt(int x, int y); |
| 786 #if defined(OS_MACOSX) | 786 #if defined(OS_MACOSX) |
| 787 void OnCopyToFindPboard(); | 787 void OnCopyToFindPboard(); |
| 788 #endif | 788 #endif |
| 789 void OnCut(); | 789 void OnCut(); |
| 790 void OnCSSInsertRequest(const string16& frame_xpath, | 790 void OnCSSInsertRequest(const string16& frame_xpath, |
| 791 const std::string& css); | 791 const std::string& css); |
| 792 void OnCustomContextMenuAction( | 792 void OnCustomContextMenuAction( |
| 793 const webkit_glue::CustomContextMenuContext& custom_context, | 793 const content::CustomContextMenuContext& custom_context, |
| 794 unsigned action); | 794 unsigned action); |
| 795 void OnDelete(); | 795 void OnDelete(); |
| 796 void OnDeterminePageLanguage(); | 796 void OnDeterminePageLanguage(); |
| 797 void OnDisableScrollbarsForSmallWindows( | 797 void OnDisableScrollbarsForSmallWindows( |
| 798 const gfx::Size& disable_scrollbars_size_limit); | 798 const gfx::Size& disable_scrollbars_size_limit); |
| 799 void OnDisassociateFromPopupCount(); | 799 void OnDisassociateFromPopupCount(); |
| 800 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, | 800 void OnDragSourceEndedOrMoved(const gfx::Point& client_point, |
| 801 const gfx::Point& screen_point, | 801 const gfx::Point& screen_point, |
| 802 bool ended, | 802 bool ended, |
| 803 WebKit::WebDragOperation drag_operation); | 803 WebKit::WebDragOperation drag_operation); |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1277 // bunch of stuff, you should probably create a helper class and put your | 1277 // bunch of stuff, you should probably create a helper class and put your |
| 1278 // data and methods on that to avoid bloating RenderView more. You can | 1278 // data and methods on that to avoid bloating RenderView more. You can |
| 1279 // use the Observer interface to filter IPC messages and receive frame change | 1279 // use the Observer interface to filter IPC messages and receive frame change |
| 1280 // notifications. | 1280 // notifications. |
| 1281 // --------------------------------------------------------------------------- | 1281 // --------------------------------------------------------------------------- |
| 1282 | 1282 |
| 1283 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1283 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1284 }; | 1284 }; |
| 1285 | 1285 |
| 1286 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1286 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |