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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 29 matching lines...) Expand all Loading... | |
40 #include "webkit/api/public/WebFrameClient.h" | 40 #include "webkit/api/public/WebFrameClient.h" |
41 #include "webkit/api/public/WebMediaPlayerAction.h" | 41 #include "webkit/api/public/WebMediaPlayerAction.h" |
42 #include "webkit/api/public/WebNode.h" | 42 #include "webkit/api/public/WebNode.h" |
43 #include "webkit/api/public/WebTextDirection.h" | 43 #include "webkit/api/public/WebTextDirection.h" |
44 #include "webkit/api/public/WebView.h" | 44 #include "webkit/api/public/WebView.h" |
45 #include "webkit/api/public/WebViewClient.h" | 45 #include "webkit/api/public/WebViewClient.h" |
46 #include "webkit/glue/dom_serializer_delegate.h" | 46 #include "webkit/glue/dom_serializer_delegate.h" |
47 #include "webkit/glue/form_data.h" | 47 #include "webkit/glue/form_data.h" |
48 #include "webkit/glue/image_resource_fetcher.h" | 48 #include "webkit/glue/image_resource_fetcher.h" |
49 #include "webkit/glue/password_form_dom_manager.h" | 49 #include "webkit/glue/password_form_dom_manager.h" |
50 #include "webkit/glue/webaccessibilitymanager.h" | |
51 #include "webkit/glue/webplugin_page_delegate.h" | 50 #include "webkit/glue/webplugin_page_delegate.h" |
51 #include "webkit/glue/webaccessibility.h" | |
darin (slow to review)
2009/11/04 19:17:15
nit: sort
dglazkov
2009/11/04 19:50:05
Done.
| |
52 #include "webkit/glue/webpreferences.h" | 52 #include "webkit/glue/webpreferences.h" |
53 | 53 |
54 #if defined(OS_WIN) | 54 #if defined(OS_WIN) |
55 // RenderView is a diamond-shaped hierarchy, with WebWidgetClient at the root. | 55 // RenderView is a diamond-shaped hierarchy, with WebWidgetClient at the root. |
56 // VS warns when we inherit the WebWidgetClient method implementations from | 56 // VS warns when we inherit the WebWidgetClient method implementations from |
57 // RenderWidget. It's safe to ignore that warning. | 57 // RenderWidget. It's safe to ignore that warning. |
58 #pragma warning(disable: 4250) | 58 #pragma warning(disable: 4250) |
59 #endif | 59 #endif |
60 | 60 |
61 class AudioMessageFilter; | 61 class AudioMessageFilter; |
(...skipping 14 matching lines...) Expand all Loading... | |
76 | 76 |
77 namespace base { | 77 namespace base { |
78 class WaitableEvent; | 78 class WaitableEvent; |
79 } | 79 } |
80 | 80 |
81 namespace webkit_glue { | 81 namespace webkit_glue { |
82 struct FileUploadData; | 82 struct FileUploadData; |
83 } | 83 } |
84 | 84 |
85 namespace WebKit { | 85 namespace WebKit { |
86 class WebAccessibilityCache; | |
86 class WebDataSource; | 87 class WebDataSource; |
87 class WebDragData; | 88 class WebDragData; |
88 class WebMediaPlayer; | 89 class WebMediaPlayer; |
89 class WebMediaPlayerClient; | 90 class WebMediaPlayerClient; |
90 class WebURLRequest; | 91 class WebURLRequest; |
91 struct WebFindOptions; | 92 struct WebFindOptions; |
92 } | 93 } |
93 | 94 |
94 // We need to prevent a page from trying to create infinite popups. It is not | 95 // We need to prevent a page from trying to create infinite popups. It is not |
95 // as simple as keeping a count of the number of immediate children | 96 // as simple as keeping a count of the number of immediate children |
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
862 scoped_refptr<SharedRenderViewCounter> shared_popup_counter_; | 863 scoped_refptr<SharedRenderViewCounter> shared_popup_counter_; |
863 | 864 |
864 // Whether this is a top level window (instead of a popup). Top level windows | 865 // Whether this is a top level window (instead of a popup). Top level windows |
865 // shouldn't count against their own |shared_popup_counter_|. | 866 // shouldn't count against their own |shared_popup_counter_|. |
866 bool decrement_shared_popup_at_destruction_; | 867 bool decrement_shared_popup_at_destruction_; |
867 | 868 |
868 // TODO(port): revisit once we have accessibility | 869 // TODO(port): revisit once we have accessibility |
869 #if defined(OS_WIN) | 870 #if defined(OS_WIN) |
870 // Handles accessibility requests into the renderer side, as well as | 871 // Handles accessibility requests into the renderer side, as well as |
871 // maintains the cache and other features of the accessibility tree. | 872 // maintains the cache and other features of the accessibility tree. |
872 scoped_ptr<webkit_glue::WebAccessibilityManager> web_accessibility_manager_; | 873 scoped_ptr<WebKit::WebAccessibilityCache> accessibility_; |
873 #endif | 874 #endif |
874 | 875 |
875 // Resource message queue. Used to queue up resource IPCs if we need | 876 // Resource message queue. Used to queue up resource IPCs if we need |
876 // to wait for an ACK from the browser before proceeding. | 877 // to wait for an ACK from the browser before proceeding. |
877 std::queue<IPC::Message*> queued_resource_messages_; | 878 std::queue<IPC::Message*> queued_resource_messages_; |
878 | 879 |
879 // The id of the last request sent for form field autofill. Used to ignore | 880 // The id of the last request sent for form field autofill. Used to ignore |
880 // out of date responses. | 881 // out of date responses. |
881 int autofill_query_id_; | 882 int autofill_query_id_; |
882 | 883 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
989 // ImageResourceFetchers schedule via DownloadImage. | 990 // ImageResourceFetchers schedule via DownloadImage. |
990 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; | 991 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; |
991 ImageResourceFetcherSet image_fetchers_; | 992 ImageResourceFetcherSet image_fetchers_; |
992 | 993 |
993 typedef std::map<WebKit::WebView*, RenderView*> ViewMap; | 994 typedef std::map<WebKit::WebView*, RenderView*> ViewMap; |
994 | 995 |
995 DISALLOW_COPY_AND_ASSIGN(RenderView); | 996 DISALLOW_COPY_AND_ASSIGN(RenderView); |
996 }; | 997 }; |
997 | 998 |
998 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 999 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |