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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 | 479 |
480 // true if we are currently waiting for a response for drag context | 480 // true if we are currently waiting for a response for drag context |
481 // information. | 481 // information. |
482 bool waiting_for_drag_context_response_; | 482 bool waiting_for_drag_context_response_; |
483 | 483 |
484 // A bitwise OR of bindings types that have been enabled for this RenderView. | 484 // A bitwise OR of bindings types that have been enabled for this RenderView. |
485 // See BindingsPolicy for details. | 485 // See BindingsPolicy for details. |
486 int enabled_bindings_; | 486 int enabled_bindings_; |
487 | 487 |
488 | 488 |
| 489 // The most recent page ID we've heard from the renderer process. This is |
| 490 // used as context when other session history related IPCs arrive. |
| 491 // TODO(creis): Allocate this in WebContents/NavigationController instead. |
| 492 int32 page_id_; |
| 493 |
489 // The current state of this RVH. | 494 // The current state of this RVH. |
490 // TODO(nasko): Move to RenderFrameHost, as this is per-frame state. | 495 // TODO(nasko): Move to RenderFrameHost, as this is per-frame state. |
491 RenderViewHostImplState rvh_state_; | 496 RenderViewHostImplState rvh_state_; |
492 | 497 |
493 // Routing ID for the main frame's RenderFrameHost. | 498 // Routing ID for the main frame's RenderFrameHost. |
494 int main_frame_routing_id_; | 499 int main_frame_routing_id_; |
495 | 500 |
496 // If we were asked to RunModal, then this will hold the reply_msg that we | 501 // If we were asked to RunModal, then this will hold the reply_msg that we |
497 // must return to the renderer to unblock it. | 502 // must return to the renderer to unblock it. |
498 IPC::Message* run_modal_reply_msg_; | 503 IPC::Message* run_modal_reply_msg_; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 561 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
557 }; | 562 }; |
558 | 563 |
559 #if defined(COMPILER_MSVC) | 564 #if defined(COMPILER_MSVC) |
560 #pragma warning(pop) | 565 #pragma warning(pop) |
561 #endif | 566 #endif |
562 | 567 |
563 } // namespace content | 568 } // namespace content |
564 | 569 |
565 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 570 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |