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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 scoped_refptr<SiteInstanceImpl> instance_; | 459 scoped_refptr<SiteInstanceImpl> instance_; |
460 | 460 |
461 // true if we are currently waiting for a response for drag context | 461 // true if we are currently waiting for a response for drag context |
462 // information. | 462 // information. |
463 bool waiting_for_drag_context_response_; | 463 bool waiting_for_drag_context_response_; |
464 | 464 |
465 // A bitwise OR of bindings types that have been enabled for this RenderView. | 465 // A bitwise OR of bindings types that have been enabled for this RenderView. |
466 // See BindingsPolicy for details. | 466 // See BindingsPolicy for details. |
467 int enabled_bindings_; | 467 int enabled_bindings_; |
468 | 468 |
| 469 // The most recent page ID we've heard from the renderer process. This is |
| 470 // used as context when other session history related IPCs arrive. |
| 471 // TODO(creis): Allocate this in WebContents/NavigationController instead. |
| 472 int32 page_id_; |
469 | 473 |
470 // The current state of this RVH. | 474 // The current state of this RVH. |
471 // TODO(nasko): Move to RenderFrameHost, as this is per-frame state. | 475 // TODO(nasko): Move to RenderFrameHost, as this is per-frame state. |
472 RenderViewHostImplState rvh_state_; | 476 RenderViewHostImplState rvh_state_; |
473 | 477 |
474 // Routing ID for the main frame's RenderFrameHost. | 478 // Routing ID for the main frame's RenderFrameHost. |
475 int main_frame_routing_id_; | 479 int main_frame_routing_id_; |
476 | 480 |
477 // If we were asked to RunModal, then this will hold the reply_msg that we | 481 // If we were asked to RunModal, then this will hold the reply_msg that we |
478 // must return to the renderer to unblock it. | 482 // must return to the renderer to unblock it. |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 541 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
538 }; | 542 }; |
539 | 543 |
540 #if defined(COMPILER_MSVC) | 544 #if defined(COMPILER_MSVC) |
541 #pragma warning(pop) | 545 #pragma warning(pop) |
542 #endif | 546 #endif |
543 | 547 |
544 } // namespace content | 548 } // namespace content |
545 | 549 |
546 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 550 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |