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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 // globally unique in the renderer. | 806 // globally unique in the renderer. |
807 static int32 next_page_id_; | 807 static int32 next_page_id_; |
808 | 808 |
809 // Used for popups. | 809 // Used for popups. |
810 bool opened_by_user_gesture_; | 810 bool opened_by_user_gesture_; |
811 GURL creator_url_; | 811 GURL creator_url_; |
812 | 812 |
813 // The alternate error page URL, if one exists. | 813 // The alternate error page URL, if one exists. |
814 GURL alternate_error_page_url_; | 814 GURL alternate_error_page_url_; |
815 | 815 |
| 816 // Whether this RenderView was created by a frame that was suppressing its |
| 817 // opener. If so, we may want to load pages in a separate process. See |
| 818 // decidePolicyForNavigation for details. |
| 819 bool opener_suppressed_; |
| 820 |
816 ScopedRunnableMethodFactory<RenderView> method_factory_; | 821 ScopedRunnableMethodFactory<RenderView> method_factory_; |
817 | 822 |
818 // Timer used to delay the updating of nav state (see SyncNavigationState). | 823 // Timer used to delay the updating of nav state (see SyncNavigationState). |
819 base::OneShotTimer<RenderView> nav_state_sync_timer_; | 824 base::OneShotTimer<RenderView> nav_state_sync_timer_; |
820 | 825 |
821 // Remember the first uninstalled plugin, so that we can ask the plugin | 826 // Remember the first uninstalled plugin, so that we can ask the plugin |
822 // to install itself when user clicks on the info bar. | 827 // to install itself when user clicks on the info bar. |
823 base::WeakPtr<webkit_glue::WebPluginDelegate> first_default_plugin_; | 828 base::WeakPtr<webkit_glue::WebPluginDelegate> first_default_plugin_; |
824 | 829 |
825 // If the browser hasn't sent us an ACK for the last FindReply we sent | 830 // If the browser hasn't sent us an ACK for the last FindReply we sent |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 // ImageResourceFetchers schedule via DownloadImage. | 983 // ImageResourceFetchers schedule via DownloadImage. |
979 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; | 984 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; |
980 ImageResourceFetcherSet image_fetchers_; | 985 ImageResourceFetcherSet image_fetchers_; |
981 | 986 |
982 typedef std::map<WebKit::WebView*, RenderView*> ViewMap; | 987 typedef std::map<WebKit::WebView*, RenderView*> ViewMap; |
983 | 988 |
984 DISALLOW_COPY_AND_ASSIGN(RenderView); | 989 DISALLOW_COPY_AND_ASSIGN(RenderView); |
985 }; | 990 }; |
986 | 991 |
987 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 992 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |