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

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

Issue 526493004: Revert of 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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
474 // The current state of this RVH. 469 // The current state of this RVH.
475 // TODO(nasko): Move to RenderFrameHost, as this is per-frame state. 470 // TODO(nasko): Move to RenderFrameHost, as this is per-frame state.
476 RenderViewHostImplState rvh_state_; 471 RenderViewHostImplState rvh_state_;
477 472
478 // Routing ID for the main frame's RenderFrameHost. 473 // Routing ID for the main frame's RenderFrameHost.
479 int main_frame_routing_id_; 474 int main_frame_routing_id_;
480 475
481 // If we were asked to RunModal, then this will hold the reply_msg that we 476 // If we were asked to RunModal, then this will hold the reply_msg that we
482 // must return to the renderer to unblock it. 477 // must return to the renderer to unblock it.
483 IPC::Message* run_modal_reply_msg_; 478 IPC::Message* run_modal_reply_msg_;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 536 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
542 }; 537 };
543 538
544 #if defined(COMPILER_MSVC) 539 #if defined(COMPILER_MSVC)
545 #pragma warning(pop) 540 #pragma warning(pop)
546 #endif 541 #endif
547 542
548 } // namespace content 543 } // namespace content
549 544
550 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 545 #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