Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 500533002: Revert of Keep a copy of page id in RenderViewHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
494 // The current state of this RVH. 489 // The current state of this RVH.
495 // TODO(nasko): Move to RenderFrameHost, as this is per-frame state. 490 // TODO(nasko): Move to RenderFrameHost, as this is per-frame state.
496 RenderViewHostImplState rvh_state_; 491 RenderViewHostImplState rvh_state_;
497 492
498 // Routing ID for the main frame's RenderFrameHost. 493 // Routing ID for the main frame's RenderFrameHost.
499 int main_frame_routing_id_; 494 int main_frame_routing_id_;
500 495
501 // If we were asked to RunModal, then this will hold the reply_msg that we 496 // If we were asked to RunModal, then this will hold the reply_msg that we
502 // must return to the renderer to unblock it. 497 // must return to the renderer to unblock it.
503 IPC::Message* run_modal_reply_msg_; 498 IPC::Message* run_modal_reply_msg_;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 556 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
562 }; 557 };
563 558
564 #if defined(COMPILER_MSVC) 559 #if defined(COMPILER_MSVC)
565 #pragma warning(pop) 560 #pragma warning(pop)
566 #endif 561 #endif
567 562
568 } // namespace content 563 } // namespace content
569 564
570 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 565 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698