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 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 | 661 |
662 void OnReceivedSavableResourceLinksForCurrentPage( | 662 void OnReceivedSavableResourceLinksForCurrentPage( |
663 const std::vector<GURL>& resources_list, | 663 const std::vector<GURL>& resources_list, |
664 const std::vector<GURL>& referrers_list, | 664 const std::vector<GURL>& referrers_list, |
665 const std::vector<GURL>& frames_list); | 665 const std::vector<GURL>& frames_list); |
666 | 666 |
667 void OnReceivedSerializedHtmlData(const GURL& frame_url, | 667 void OnReceivedSerializedHtmlData(const GURL& frame_url, |
668 const std::string& data, | 668 const std::string& data, |
669 int32 status); | 669 int32 status); |
670 | 670 |
671 void OnDidGetApplicationInfo(int32 page_id, | 671 void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info); |
672 const webkit_glue::WebApplicationInfo& info); | |
673 void OnMsgShouldCloseACK(bool proceed); | 672 void OnMsgShouldCloseACK(bool proceed); |
674 void OnQueryFormFieldAutoFill(int request_id, | 673 void OnQueryFormFieldAutoFill(int request_id, |
675 bool form_autofilled, | 674 bool form_autofilled, |
676 const webkit_glue::FormField& field); | 675 const webkit_glue::FormField& field); |
677 void OnDidShowAutoFillSuggestions(); | 676 void OnDidShowAutoFillSuggestions(); |
678 void OnRemoveAutocompleteEntry(const string16& field_name, | 677 void OnRemoveAutocompleteEntry(const string16& field_name, |
679 const string16& value); | 678 const string16& value); |
680 void OnShowAutoFillDialog(); | 679 void OnShowAutoFillDialog(); |
681 void OnFillAutoFillFormData(int query_id, | 680 void OnFillAutoFillFormData(int query_id, |
682 const webkit_glue::FormData& form, | 681 const webkit_glue::FormData& form, |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
812 // Whether the accessibility tree should be saved, for unit testing. | 811 // Whether the accessibility tree should be saved, for unit testing. |
813 bool save_accessibility_tree_for_testing_; | 812 bool save_accessibility_tree_for_testing_; |
814 | 813 |
815 // The most recently received accessibility tree - for unit testing only. | 814 // The most recently received accessibility tree - for unit testing only. |
816 webkit_glue::WebAccessibility accessibility_tree_; | 815 webkit_glue::WebAccessibility accessibility_tree_; |
817 | 816 |
818 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 817 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
819 }; | 818 }; |
820 | 819 |
821 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 820 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |