| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <queue> | 9 #include <queue> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 class GURL; | 49 class GURL; |
| 50 class ListValue; | 50 class ListValue; |
| 51 class NavigationState; | 51 class NavigationState; |
| 52 class PrintWebViewHelper; | 52 class PrintWebViewHelper; |
| 53 class WebFrame; | 53 class WebFrame; |
| 54 class WebPluginDelegate; | 54 class WebPluginDelegate; |
| 55 class WebPluginDelegateProxy; | 55 class WebPluginDelegateProxy; |
| 56 class WebDevToolsAgentDelegate; | 56 class WebDevToolsAgentDelegate; |
| 57 struct ContextMenuMediaParams; | 57 struct ContextMenuMediaParams; |
| 58 struct ThumbnailScore; | 58 struct ThumbnailScore; |
| 59 struct ViewMsg_ClosePage_Params; |
| 59 struct ViewMsg_Navigate_Params; | 60 struct ViewMsg_Navigate_Params; |
| 60 struct ViewMsg_UploadFile_Params; | 61 struct ViewMsg_UploadFile_Params; |
| 61 struct WebDropData; | 62 struct WebDropData; |
| 62 | 63 |
| 63 namespace base { | 64 namespace base { |
| 64 class WaitableEvent; | 65 class WaitableEvent; |
| 65 } | 66 } |
| 66 | 67 |
| 67 namespace webkit_glue { | 68 namespace webkit_glue { |
| 68 struct FileUploadData; | 69 struct FileUploadData; |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 const ListValue& args); | 543 const ListValue& args); |
| 543 | 544 |
| 544 void OnMoveOrResizeStarted(); | 545 void OnMoveOrResizeStarted(); |
| 545 | 546 |
| 546 // Checks if the RenderView should close, runs the beforeunload handler and | 547 // Checks if the RenderView should close, runs the beforeunload handler and |
| 547 // sends ViewMsg_ShouldClose to the browser. | 548 // sends ViewMsg_ShouldClose to the browser. |
| 548 void OnMsgShouldClose(); | 549 void OnMsgShouldClose(); |
| 549 | 550 |
| 550 // Runs the onunload handler and closes the page, replying with ClosePage_ACK | 551 // Runs the onunload handler and closes the page, replying with ClosePage_ACK |
| 551 // (with the given RPH and request IDs, to help track the request). | 552 // (with the given RPH and request IDs, to help track the request). |
| 552 void OnClosePage(int new_render_process_host_id, int new_request_id); | 553 void OnClosePage(const ViewMsg_ClosePage_Params& params); |
| 553 | 554 |
| 554 // Notification about ui theme changes. | 555 // Notification about ui theme changes. |
| 555 void OnThemeChanged(); | 556 void OnThemeChanged(); |
| 556 | 557 |
| 557 // Notification that we have received autofill suggestion. | 558 // Notification that we have received autofill suggestion. |
| 558 void OnReceivedAutofillSuggestions( | 559 void OnReceivedAutofillSuggestions( |
| 559 int64 node_id, | 560 int64 node_id, |
| 560 int request_id, | 561 int request_id, |
| 561 const std::vector<std::wstring>& suggestions, | 562 const std::vector<std::wstring>& suggestions, |
| 562 int default_suggestions_index); | 563 int default_suggestions_index); |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 802 // PrintWebViewHelper handles printing. Note that this object is constructed | 803 // PrintWebViewHelper handles printing. Note that this object is constructed |
| 803 // when printing for the first time but only destroyed with the RenderView. | 804 // when printing for the first time but only destroyed with the RenderView. |
| 804 scoped_ptr<PrintWebViewHelper> print_helper_; | 805 scoped_ptr<PrintWebViewHelper> print_helper_; |
| 805 | 806 |
| 806 RendererPreferences renderer_preferences_; | 807 RendererPreferences renderer_preferences_; |
| 807 | 808 |
| 808 DISALLOW_COPY_AND_ASSIGN(RenderView); | 809 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 809 }; | 810 }; |
| 810 | 811 |
| 811 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 812 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |