OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
836 // opener. If so, we may want to load pages in a separate process. See | 836 // opener. If so, we may want to load pages in a separate process. See |
837 // decidePolicyForNavigation for details. | 837 // decidePolicyForNavigation for details. |
838 bool opener_suppressed_; | 838 bool opener_suppressed_; |
839 | 839 |
840 // Whether we must stop creating nested message loops for modal dialogs until | 840 // Whether we must stop creating nested message loops for modal dialogs until |
841 // OnSwapOut is called. This is necessary because modal dialogs have a | 841 // OnSwapOut is called. This is necessary because modal dialogs have a |
842 // PageGroupLoadDeferrer on the stack that interferes with swapping out. | 842 // PageGroupLoadDeferrer on the stack that interferes with swapping out. |
843 bool suppress_dialogs_until_swap_out_; | 843 bool suppress_dialogs_until_swap_out_; |
844 | 844 |
845 // Holds state pertaining to a navigation that we initiated. This is held by | 845 // Holds state pertaining to a navigation that we initiated. This is held by |
846 // the WebDataSource::ExtraData attribute. We use pending_navigation_state_ | 846 // the WebDataSource::ExtraData attribute. We use pending_navigation_params_ |
847 // as a temporary holder for the state until the WebDataSource corresponding | 847 // as a temporary holder for the state until the WebDataSource corresponding |
848 // to the new navigation is created. See DidCreateDataSource. | 848 // to the new navigation is created. See DidCreateDataSource. |
849 // TODO(nasko): Move to RenderFrame, as this is per-frame state. | 849 // TODO(nasko): Move to RenderFrame, as this is per-frame state. |
850 scoped_ptr<NavigationParams> pending_navigation_params_; | 850 scoped_ptr<NavigationParams> pending_navigation_params_; |
851 | 851 |
852 // Timer used to delay the updating of nav state (see SyncNavigationState). | 852 // Timer used to delay the updating of nav state (see SyncNavigationState). |
853 base::OneShotTimer<RenderViewImpl> nav_state_sync_timer_; | 853 base::OneShotTimer<RenderViewImpl> nav_state_sync_timer_; |
854 | 854 |
855 // Page IDs ------------------------------------------------------------------ | 855 // Page IDs ------------------------------------------------------------------ |
856 // See documentation in RenderView. | 856 // See documentation in RenderView. |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1056 // use the Observer interface to filter IPC messages and receive frame change | 1056 // use the Observer interface to filter IPC messages and receive frame change |
1057 // notifications. | 1057 // notifications. |
1058 // --------------------------------------------------------------------------- | 1058 // --------------------------------------------------------------------------- |
1059 | 1059 |
1060 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1060 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1061 }; | 1061 }; |
1062 | 1062 |
1063 } // namespace content | 1063 } // namespace content |
1064 | 1064 |
1065 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1065 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |