| 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 const ListValue& args); | 550 const ListValue& args); |
| 550 | 551 |
| 551 void OnMoveOrResizeStarted(); | 552 void OnMoveOrResizeStarted(); |
| 552 | 553 |
| 553 // Checks if the RenderView should close, runs the beforeunload handler and | 554 // Checks if the RenderView should close, runs the beforeunload handler and |
| 554 // sends ViewMsg_ShouldClose to the browser. | 555 // sends ViewMsg_ShouldClose to the browser. |
| 555 void OnMsgShouldClose(); | 556 void OnMsgShouldClose(); |
| 556 | 557 |
| 557 // Runs the onunload handler and closes the page, replying with ClosePage_ACK | 558 // Runs the onunload handler and closes the page, replying with ClosePage_ACK |
| 558 // (with the given RPH and request IDs, to help track the request). | 559 // (with the given RPH and request IDs, to help track the request). |
| 559 void OnClosePage(int new_render_process_host_id, int new_request_id); | 560 void OnClosePage(const ViewMsg_ClosePage_Params& params); |
| 560 | 561 |
| 561 // Notification about ui theme changes. | 562 // Notification about ui theme changes. |
| 562 void OnThemeChanged(); | 563 void OnThemeChanged(); |
| 563 | 564 |
| 564 // Notification that we have received autofill suggestion. | 565 // Notification that we have received autofill suggestion. |
| 565 void OnReceivedAutofillSuggestions( | 566 void OnReceivedAutofillSuggestions( |
| 566 int64 node_id, | 567 int64 node_id, |
| 567 int request_id, | 568 int request_id, |
| 568 const std::vector<std::wstring>& suggestions, | 569 const std::vector<std::wstring>& suggestions, |
| 569 int default_suggestions_index); | 570 int default_suggestions_index); |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 805 // PrintWebViewHelper handles printing. Note that this object is constructed | 806 // PrintWebViewHelper handles printing. Note that this object is constructed |
| 806 // when printing for the first time but only destroyed with the RenderView. | 807 // when printing for the first time but only destroyed with the RenderView. |
| 807 scoped_ptr<PrintWebViewHelper> print_helper_; | 808 scoped_ptr<PrintWebViewHelper> print_helper_; |
| 808 | 809 |
| 809 RendererPreferences renderer_preferences_; | 810 RendererPreferences renderer_preferences_; |
| 810 | 811 |
| 811 DISALLOW_COPY_AND_ASSIGN(RenderView); | 812 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 812 }; | 813 }; |
| 813 | 814 |
| 814 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 815 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |