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 | 459 |
460 // true if we are currently waiting for a response for drag context | 460 // true if we are currently waiting for a response for drag context |
461 // information. | 461 // information. |
462 bool waiting_for_drag_context_response_; | 462 bool waiting_for_drag_context_response_; |
463 | 463 |
464 // A bitwise OR of bindings types that have been enabled for this RenderView. | 464 // A bitwise OR of bindings types that have been enabled for this RenderView. |
465 // See BindingsPolicy for details. | 465 // See BindingsPolicy for details. |
466 int enabled_bindings_; | 466 int enabled_bindings_; |
467 | 467 |
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_; |
| 473 |
469 // The current state of this RVH. | 474 // The current state of this RVH. |
470 // TODO(nasko): Move to RenderFrameHost, as this is per-frame state. | 475 // TODO(nasko): Move to RenderFrameHost, as this is per-frame state. |
471 RenderViewHostImplState rvh_state_; | 476 RenderViewHostImplState rvh_state_; |
472 | 477 |
473 // Routing ID for the main frame's RenderFrameHost. | 478 // Routing ID for the main frame's RenderFrameHost. |
474 int main_frame_routing_id_; | 479 int main_frame_routing_id_; |
475 | 480 |
476 // 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 |
477 // must return to the renderer to unblock it. | 482 // must return to the renderer to unblock it. |
478 IPC::Message* run_modal_reply_msg_; | 483 IPC::Message* run_modal_reply_msg_; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 541 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
537 }; | 542 }; |
538 | 543 |
539 #if defined(COMPILER_MSVC) | 544 #if defined(COMPILER_MSVC) |
540 #pragma warning(pop) | 545 #pragma warning(pop) |
541 #endif | 546 #endif |
542 | 547 |
543 } // namespace content | 548 } // namespace content |
544 | 549 |
545 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 550 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |