OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 26 matching lines...) Expand all Loading... |
37 struct ContextMenuParams; | 37 struct ContextMenuParams; |
38 struct MediaPlayerAction; | 38 struct MediaPlayerAction; |
39 struct ThumbnailScore; | 39 struct ThumbnailScore; |
40 struct ViewHostMsg_AccessibilityNotification_Params; | 40 struct ViewHostMsg_AccessibilityNotification_Params; |
41 struct ViewHostMsg_DidPrintPage_Params; | 41 struct ViewHostMsg_DidPrintPage_Params; |
42 struct ViewHostMsg_DomMessage_Params; | 42 struct ViewHostMsg_DomMessage_Params; |
43 struct ViewHostMsg_PageHasOSDD_Type; | 43 struct ViewHostMsg_PageHasOSDD_Type; |
44 struct ViewHostMsg_RunFileChooser_Params; | 44 struct ViewHostMsg_RunFileChooser_Params; |
45 struct ViewHostMsg_ShowNotification_Params; | 45 struct ViewHostMsg_ShowNotification_Params; |
46 struct ViewMsg_Navigate_Params; | 46 struct ViewMsg_Navigate_Params; |
| 47 struct WebApplicationInfo; |
47 struct WebDropData; | 48 struct WebDropData; |
48 struct WebPreferences; | 49 struct WebPreferences; |
49 struct UserMetricsAction; | 50 struct UserMetricsAction; |
50 | 51 |
51 namespace gfx { | 52 namespace gfx { |
52 class Point; | 53 class Point; |
53 } // namespace gfx | 54 } // namespace gfx |
54 | 55 |
55 namespace webkit_glue { | 56 namespace webkit_glue { |
56 struct FormData; | 57 struct FormData; |
57 class FormField; | 58 class FormField; |
58 struct PasswordForm; | 59 struct PasswordForm; |
59 struct PasswordFormFillData; | 60 struct PasswordFormFillData; |
60 struct WebAccessibility; | 61 struct WebAccessibility; |
61 struct WebApplicationInfo; | |
62 } // namespace webkit_glue | 62 } // namespace webkit_glue |
63 | 63 |
64 namespace WebKit { | 64 namespace WebKit { |
65 struct WebMediaPlayerAction; | 65 struct WebMediaPlayerAction; |
66 } // namespace WebKit | 66 } // namespace WebKit |
67 | 67 |
68 class URLRequestContextGetter; | 68 class URLRequestContextGetter; |
69 | 69 |
70 // | 70 // |
71 // RenderViewHost | 71 // RenderViewHost |
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 | 664 |
665 void OnReceivedSavableResourceLinksForCurrentPage( | 665 void OnReceivedSavableResourceLinksForCurrentPage( |
666 const std::vector<GURL>& resources_list, | 666 const std::vector<GURL>& resources_list, |
667 const std::vector<GURL>& referrers_list, | 667 const std::vector<GURL>& referrers_list, |
668 const std::vector<GURL>& frames_list); | 668 const std::vector<GURL>& frames_list); |
669 | 669 |
670 void OnReceivedSerializedHtmlData(const GURL& frame_url, | 670 void OnReceivedSerializedHtmlData(const GURL& frame_url, |
671 const std::string& data, | 671 const std::string& data, |
672 int32 status); | 672 int32 status); |
673 | 673 |
674 void OnDidGetApplicationInfo(int32 page_id, | 674 void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info); |
675 const webkit_glue::WebApplicationInfo& info); | |
676 void OnMsgShouldCloseACK(bool proceed); | 675 void OnMsgShouldCloseACK(bool proceed); |
677 void OnQueryFormFieldAutoFill(int request_id, | 676 void OnQueryFormFieldAutoFill(int request_id, |
678 bool form_autofilled, | 677 bool form_autofilled, |
679 const webkit_glue::FormField& field); | 678 const webkit_glue::FormField& field); |
680 void OnDidShowAutoFillSuggestions(); | 679 void OnDidShowAutoFillSuggestions(); |
681 void OnRemoveAutocompleteEntry(const string16& field_name, | 680 void OnRemoveAutocompleteEntry(const string16& field_name, |
682 const string16& value); | 681 const string16& value); |
683 void OnShowAutoFillDialog(); | 682 void OnShowAutoFillDialog(); |
684 void OnFillAutoFillFormData(int query_id, | 683 void OnFillAutoFillFormData(int query_id, |
685 const webkit_glue::FormData& form, | 684 const webkit_glue::FormData& form, |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
815 // Whether the accessibility tree should be saved, for unit testing. | 814 // Whether the accessibility tree should be saved, for unit testing. |
816 bool save_accessibility_tree_for_testing_; | 815 bool save_accessibility_tree_for_testing_; |
817 | 816 |
818 // The most recently received accessibility tree - for unit testing only. | 817 // The most recently received accessibility tree - for unit testing only. |
819 webkit_glue::WebAccessibility accessibility_tree_; | 818 webkit_glue::WebAccessibility accessibility_tree_; |
820 | 819 |
821 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 820 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
822 }; | 821 }; |
823 | 822 |
824 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 823 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |