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 // Whether we must stop creating nested message loops for modal dialogs until | 836 // Whether we must stop creating nested message loops for modal dialogs until |
837 // OnSwapOut is called. This is necessary because modal dialogs have a | 837 // OnSwapOut is called. This is necessary because modal dialogs have a |
838 // PageGroupLoadDeferrer on the stack that interferes with swapping out. | 838 // PageGroupLoadDeferrer on the stack that interferes with swapping out. |
839 bool suppress_dialogs_until_swap_out_; | 839 bool suppress_dialogs_until_swap_out_; |
840 | 840 |
841 // Holds state pertaining to a navigation that we initiated. This is held by | 841 // Holds state pertaining to a navigation that we initiated. This is held by |
842 // the WebDataSource::ExtraData attribute. We use pending_navigation_state_ | 842 // the WebDataSource::ExtraData attribute. We use pending_navigation_state_ |
843 // as a temporary holder for the state until the WebDataSource corresponding | 843 // as a temporary holder for the state until the WebDataSource corresponding |
844 // to the new navigation is created. See DidCreateDataSource. | 844 // to the new navigation is created. See DidCreateDataSource. |
845 // TODO(nasko): Move to RenderFrame, as this is per-frame state. | 845 // TODO(nasko): Move to RenderFrame, as this is per-frame state. |
846 scoped_ptr<FrameMsg_Navigate_Params> pending_navigation_params_; | 846 scoped_ptr<NavigationParams> pending_navigation_params_; |
847 | 847 |
848 // Timer used to delay the updating of nav state (see SyncNavigationState). | 848 // Timer used to delay the updating of nav state (see SyncNavigationState). |
849 base::OneShotTimer<RenderViewImpl> nav_state_sync_timer_; | 849 base::OneShotTimer<RenderViewImpl> nav_state_sync_timer_; |
850 | 850 |
851 // Page IDs ------------------------------------------------------------------ | 851 // Page IDs ------------------------------------------------------------------ |
852 // See documentation in RenderView. | 852 // See documentation in RenderView. |
853 int32 page_id_; | 853 int32 page_id_; |
854 | 854 |
855 // The next available page ID to use for this RenderView. These IDs are | 855 // The next available page ID to use for this RenderView. These IDs are |
856 // specific to a given RenderView and the frames within it. | 856 // specific to a given RenderView and the frames within it. |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1049 // use the Observer interface to filter IPC messages and receive frame change | 1049 // use the Observer interface to filter IPC messages and receive frame change |
1050 // notifications. | 1050 // notifications. |
1051 // --------------------------------------------------------------------------- | 1051 // --------------------------------------------------------------------------- |
1052 | 1052 |
1053 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1053 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1054 }; | 1054 }; |
1055 | 1055 |
1056 } // namespace content | 1056 } // namespace content |
1057 | 1057 |
1058 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1058 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |