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 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 class WebMouseEvent; | 120 class WebMouseEvent; |
121 class WebSpeechInputController; | 121 class WebSpeechInputController; |
122 class WebSpeechInputListener; | 122 class WebSpeechInputListener; |
123 class WebStorageNamespace; | 123 class WebStorageNamespace; |
124 class WebTouchEvent; | 124 class WebTouchEvent; |
125 class WebURLLoader; | 125 class WebURLLoader; |
126 class WebURLRequest; | 126 class WebURLRequest; |
127 struct WebFileChooserParams; | 127 struct WebFileChooserParams; |
128 struct WebFindOptions; | 128 struct WebFindOptions; |
129 struct WebMediaPlayerAction; | 129 struct WebMediaPlayerAction; |
| 130 struct WebPluginAction; |
130 struct WebPoint; | 131 struct WebPoint; |
131 struct WebWindowFeatures; | 132 struct WebWindowFeatures; |
132 } | 133 } |
133 | 134 |
134 // We need to prevent a page from trying to create infinite popups. It is not | 135 // We need to prevent a page from trying to create infinite popups. It is not |
135 // as simple as keeping a count of the number of immediate children | 136 // as simple as keeping a count of the number of immediate children |
136 // popups. Having an html file that window.open()s itself would create | 137 // popups. Having an html file that window.open()s itself would create |
137 // an unlimited chain of RenderViews who only have one RenderView child. | 138 // an unlimited chain of RenderViews who only have one RenderView child. |
138 // | 139 // |
139 // Therefore, each new top level RenderView creates a new counter and shares it | 140 // Therefore, each new top level RenderView creates a new counter and shares it |
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); | 785 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); |
785 void OnFindReplyAck(); | 786 void OnFindReplyAck(); |
786 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); | 787 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); |
787 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( | 788 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( |
788 const std::vector<GURL>& links, | 789 const std::vector<GURL>& links, |
789 const std::vector<FilePath>& local_paths, | 790 const std::vector<FilePath>& local_paths, |
790 const FilePath& local_directory_name); | 791 const FilePath& local_directory_name); |
791 void OnLockMouseACK(bool succeeded); | 792 void OnLockMouseACK(bool succeeded); |
792 void OnMediaPlayerActionAt(const gfx::Point& location, | 793 void OnMediaPlayerActionAt(const gfx::Point& location, |
793 const WebKit::WebMediaPlayerAction& action); | 794 const WebKit::WebMediaPlayerAction& action); |
| 795 void OnPluginActionAt(const gfx::Point& location, |
| 796 const WebKit::WebPluginAction& action); |
794 void OnMouseLockLost(); | 797 void OnMouseLockLost(); |
795 void OnMoveOrResizeStarted(); | 798 void OnMoveOrResizeStarted(); |
796 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); | 799 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); |
797 void OnPaste(); | 800 void OnPaste(); |
798 void OnPasteAndMatchStyle(); | 801 void OnPasteAndMatchStyle(); |
799 #if defined(OS_MACOSX) | 802 #if defined(OS_MACOSX) |
800 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id); | 803 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id); |
801 #endif | 804 #endif |
802 void OnRedo(); | 805 void OnRedo(); |
803 void OnReloadFrame(); | 806 void OnReloadFrame(); |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1219 // bunch of stuff, you should probably create a helper class and put your | 1222 // bunch of stuff, you should probably create a helper class and put your |
1220 // data and methods on that to avoid bloating RenderView more. You can | 1223 // data and methods on that to avoid bloating RenderView more. You can |
1221 // use the Observer interface to filter IPC messages and receive frame change | 1224 // use the Observer interface to filter IPC messages and receive frame change |
1222 // notifications. | 1225 // notifications. |
1223 // --------------------------------------------------------------------------- | 1226 // --------------------------------------------------------------------------- |
1224 | 1227 |
1225 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1228 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1226 }; | 1229 }; |
1227 | 1230 |
1228 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1231 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |