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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 namespace content { | 93 namespace content { |
94 class DocumentState; | 94 class DocumentState; |
95 class GuestToEmbedderChannel; | 95 class GuestToEmbedderChannel; |
96 class NavigationState; | 96 class NavigationState; |
97 class P2PSocketDispatcher; | 97 class P2PSocketDispatcher; |
98 class RenderViewObserver; | 98 class RenderViewObserver; |
99 class RenderViewTest; | 99 class RenderViewTest; |
100 class RendererAccessibility; | 100 class RendererAccessibility; |
101 struct CustomContextMenuContext; | 101 struct CustomContextMenuContext; |
102 struct FileChooserParams; | 102 struct FileChooserParams; |
103 struct SelectedFileInfo; | |
104 } // namespace content | 103 } // namespace content |
105 | 104 |
106 namespace gfx { | 105 namespace gfx { |
107 class Point; | 106 class Point; |
108 class Rect; | 107 class Rect; |
109 } // namespace gfx | 108 } // namespace gfx |
110 | 109 |
| 110 namespace ui { |
| 111 struct SelectedFileInfo; |
| 112 } // namespace ui |
| 113 |
111 namespace webkit { | 114 namespace webkit { |
112 | 115 |
113 namespace ppapi { | 116 namespace ppapi { |
114 class PluginInstance; | 117 class PluginInstance; |
115 class WebPluginImpl; | 118 class WebPluginImpl; |
116 } // namespace ppapi | 119 } // namespace ppapi |
117 | 120 |
118 } // namespace webkit | 121 } // namespace webkit |
119 | 122 |
120 namespace webkit_glue { | 123 namespace webkit_glue { |
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
912 void OnDragTargetDragOver(const gfx::Point& client_pt, | 915 void OnDragTargetDragOver(const gfx::Point& client_pt, |
913 const gfx::Point& screen_pt, | 916 const gfx::Point& screen_pt, |
914 WebKit::WebDragOperationsMask operations_allowed, | 917 WebKit::WebDragOperationsMask operations_allowed, |
915 int key_modifiers); | 918 int key_modifiers); |
916 void OnEnablePreferredSizeChangedMode(); | 919 void OnEnablePreferredSizeChangedMode(); |
917 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); | 920 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); |
918 void OnDisableAutoResize(const gfx::Size& new_size); | 921 void OnDisableAutoResize(const gfx::Size& new_size); |
919 void OnEnumerateDirectoryResponse(int id, const std::vector<FilePath>& paths); | 922 void OnEnumerateDirectoryResponse(int id, const std::vector<FilePath>& paths); |
920 void OnExecuteEditCommand(const std::string& name, const std::string& value); | 923 void OnExecuteEditCommand(const std::string& name, const std::string& value); |
921 void OnFileChooserResponse( | 924 void OnFileChooserResponse( |
922 const std::vector<content::SelectedFileInfo>& files); | 925 const std::vector<ui::SelectedFileInfo>& files); |
923 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); | 926 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); |
924 void OnFindReplyAck(); | 927 void OnFindReplyAck(); |
925 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); | 928 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); |
926 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( | 929 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( |
927 const std::vector<GURL>& links, | 930 const std::vector<GURL>& links, |
928 const std::vector<FilePath>& local_paths, | 931 const std::vector<FilePath>& local_paths, |
929 const FilePath& local_directory_name); | 932 const FilePath& local_directory_name); |
930 void OnMediaPlayerActionAt(const gfx::Point& location, | 933 void OnMediaPlayerActionAt(const gfx::Point& location, |
931 const WebKit::WebMediaPlayerAction& action); | 934 const WebKit::WebMediaPlayerAction& action); |
932 | 935 |
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1435 // bunch of stuff, you should probably create a helper class and put your | 1438 // bunch of stuff, you should probably create a helper class and put your |
1436 // data and methods on that to avoid bloating RenderView more. You can | 1439 // data and methods on that to avoid bloating RenderView more. You can |
1437 // use the Observer interface to filter IPC messages and receive frame change | 1440 // use the Observer interface to filter IPC messages and receive frame change |
1438 // notifications. | 1441 // notifications. |
1439 // --------------------------------------------------------------------------- | 1442 // --------------------------------------------------------------------------- |
1440 | 1443 |
1441 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1444 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1442 }; | 1445 }; |
1443 | 1446 |
1444 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1447 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |