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 29 matching lines...) Expand all Loading... |
40 // RenderWidget. It's safe to ignore that warning. | 40 // RenderWidget. It's safe to ignore that warning. |
41 #pragma warning(disable: 4250) | 41 #pragma warning(disable: 4250) |
42 #endif | 42 #endif |
43 | 43 |
44 class AudioMessageFilter; | 44 class AudioMessageFilter; |
45 class DictionaryValue; | 45 class DictionaryValue; |
46 class DevToolsAgent; | 46 class DevToolsAgent; |
47 class DevToolsClient; | 47 class DevToolsClient; |
48 class FilePath; | 48 class FilePath; |
49 class GURL; | 49 class GURL; |
| 50 class ListValue; |
50 class NavigationState; | 51 class NavigationState; |
51 class PrintWebViewHelper; | 52 class PrintWebViewHelper; |
52 class WebFrame; | 53 class WebFrame; |
53 class WebPluginDelegate; | 54 class WebPluginDelegate; |
54 class WebPluginDelegateProxy; | 55 class WebPluginDelegateProxy; |
55 class WebDevToolsAgentDelegate; | 56 class WebDevToolsAgentDelegate; |
56 struct ContextMenuMediaParams; | 57 struct ContextMenuMediaParams; |
57 struct ThumbnailScore; | 58 struct ThumbnailScore; |
58 struct ViewMsg_Navigate_Params; | 59 struct ViewMsg_Navigate_Params; |
59 struct ViewMsg_UploadFile_Params; | 60 struct ViewMsg_UploadFile_Params; |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 void OnEnableViewSourceMode(); | 538 void OnEnableViewSourceMode(); |
538 void OnEnableIntrinsicWidthChangedMode(); | 539 void OnEnableIntrinsicWidthChangedMode(); |
539 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); | 540 void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); |
540 void OnUpdateBackForwardListCount(int back_list_count, | 541 void OnUpdateBackForwardListCount(int back_list_count, |
541 int forward_list_count); | 542 int forward_list_count); |
542 void OnGetAccessibilityInfo( | 543 void OnGetAccessibilityInfo( |
543 const webkit_glue::WebAccessibility::InParams& in_params, | 544 const webkit_glue::WebAccessibility::InParams& in_params, |
544 webkit_glue::WebAccessibility::OutParams* out_params); | 545 webkit_glue::WebAccessibility::OutParams* out_params); |
545 void OnClearAccessibilityInfo(int acc_obj_id, bool clear_all); | 546 void OnClearAccessibilityInfo(int acc_obj_id, bool clear_all); |
546 | 547 |
| 548 void OnExtensionMessageInvoke(const std::string& function_name, |
| 549 const ListValue& args); |
| 550 |
547 void OnMoveOrResizeStarted(); | 551 void OnMoveOrResizeStarted(); |
548 | 552 |
549 // Checks if the RenderView should close, runs the beforeunload handler and | 553 // Checks if the RenderView should close, runs the beforeunload handler and |
550 // sends ViewMsg_ShouldClose to the browser. | 554 // sends ViewMsg_ShouldClose to the browser. |
551 void OnMsgShouldClose(); | 555 void OnMsgShouldClose(); |
552 | 556 |
553 // Runs the onunload handler and closes the page, replying with ClosePage_ACK | 557 // Runs the onunload handler and closes the page, replying with ClosePage_ACK |
554 // (with the given RPH and request IDs, to help track the request). | 558 // (with the given RPH and request IDs, to help track the request). |
555 void OnClosePage(int new_render_process_host_id, int new_request_id); | 559 void OnClosePage(int new_render_process_host_id, int new_request_id); |
556 | 560 |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 // PrintWebViewHelper handles printing. Note that this object is constructed | 805 // PrintWebViewHelper handles printing. Note that this object is constructed |
802 // when printing for the first time but only destroyed with the RenderView. | 806 // when printing for the first time but only destroyed with the RenderView. |
803 scoped_ptr<PrintWebViewHelper> print_helper_; | 807 scoped_ptr<PrintWebViewHelper> print_helper_; |
804 | 808 |
805 RendererPreferences renderer_preferences_; | 809 RendererPreferences renderer_preferences_; |
806 | 810 |
807 DISALLOW_COPY_AND_ASSIGN(RenderView); | 811 DISALLOW_COPY_AND_ASSIGN(RenderView); |
808 }; | 812 }; |
809 | 813 |
810 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 814 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |