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

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

Issue 542603003: Revert "Keep a copy of page id in RenderViewHost." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
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 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 469
470 // The most recent page ID we've heard from the renderer process. This is
471 // used as context when other session history related IPCs arrive.
472 // TODO(creis): Allocate this in WebContents/NavigationController instead.
473 int32 page_id_;
474
475 // The current state of this RVH. 470 // The current state of this RVH.
476 // TODO(nasko): Move to RenderFrameHost, as this is per-frame state. 471 // TODO(nasko): Move to RenderFrameHost, as this is per-frame state.
477 RenderViewHostImplState rvh_state_; 472 RenderViewHostImplState rvh_state_;
478 473
479 // Routing ID for the main frame's RenderFrameHost. 474 // Routing ID for the main frame's RenderFrameHost.
480 int main_frame_routing_id_; 475 int main_frame_routing_id_;
481 476
482 // If we were asked to RunModal, then this will hold the reply_msg that we 477 // If we were asked to RunModal, then this will hold the reply_msg that we
483 // must return to the renderer to unblock it. 478 // must return to the renderer to unblock it.
484 IPC::Message* run_modal_reply_msg_; 479 IPC::Message* run_modal_reply_msg_;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 537 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
543 }; 538 };
544 539
545 #if defined(COMPILER_MSVC) 540 #if defined(COMPILER_MSVC)
546 #pragma warning(pop) 541 #pragma warning(pop)
547 #endif 542 #endif
548 543
549 } // namespace content 544 } // namespace content
550 545
551 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 546 #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