| 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 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 791 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); | 792 void OnFind(int request_id, const string16&, const WebKit::WebFindOptions&); |
| 792 void OnFindReplyAck(); | 793 void OnFindReplyAck(); |
| 793 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); | 794 void OnGetAllSavableResourceLinksForCurrentPage(const GURL& page_url); |
| 794 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( | 795 void OnGetSerializedHtmlDataForCurrentPageWithLocalLinks( |
| 795 const std::vector<GURL>& links, | 796 const std::vector<GURL>& links, |
| 796 const std::vector<FilePath>& local_paths, | 797 const std::vector<FilePath>& local_paths, |
| 797 const FilePath& local_directory_name); | 798 const FilePath& local_directory_name); |
| 798 void OnLockMouseACK(bool succeeded); | 799 void OnLockMouseACK(bool succeeded); |
| 799 void OnMediaPlayerActionAt(const gfx::Point& location, | 800 void OnMediaPlayerActionAt(const gfx::Point& location, |
| 800 const WebKit::WebMediaPlayerAction& action); | 801 const WebKit::WebMediaPlayerAction& action); |
| 802 void OnPluginAction(const WebKit::WebPluginAction& action); |
| 801 void OnMouseLockLost(); | 803 void OnMouseLockLost(); |
| 802 void OnMoveOrResizeStarted(); | 804 void OnMoveOrResizeStarted(); |
| 803 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); | 805 CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); |
| 804 void OnPaste(); | 806 void OnPaste(); |
| 805 void OnPasteAndMatchStyle(); | 807 void OnPasteAndMatchStyle(); |
| 806 #if defined(OS_MACOSX) | 808 #if defined(OS_MACOSX) |
| 807 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id); | 809 void OnPluginImeCompositionCompleted(const string16& text, int plugin_id); |
| 808 #endif | 810 #endif |
| 809 void OnRedo(); | 811 void OnRedo(); |
| 810 void OnReloadFrame(); | 812 void OnReloadFrame(); |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1227 // bunch of stuff, you should probably create a helper class and put your | 1229 // bunch of stuff, you should probably create a helper class and put your |
| 1228 // data and methods on that to avoid bloating RenderView more. You can | 1230 // data and methods on that to avoid bloating RenderView more. You can |
| 1229 // use the Observer interface to filter IPC messages and receive frame change | 1231 // use the Observer interface to filter IPC messages and receive frame change |
| 1230 // notifications. | 1232 // notifications. |
| 1231 // --------------------------------------------------------------------------- | 1233 // --------------------------------------------------------------------------- |
| 1232 | 1234 |
| 1233 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1235 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1234 }; | 1236 }; |
| 1235 | 1237 |
| 1236 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1238 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |