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