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

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

Issue 1135193003: Remove the extra copy of page id. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kill1
Patch Set: Created 5 years, 7 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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 scoped_refptr<SiteInstanceImpl> instance_; 403 scoped_refptr<SiteInstanceImpl> instance_;
404 404
405 // true if we are currently waiting for a response for drag context 405 // true if we are currently waiting for a response for drag context
406 // information. 406 // information.
407 bool waiting_for_drag_context_response_; 407 bool waiting_for_drag_context_response_;
408 408
409 // A bitwise OR of bindings types that have been enabled for this RenderView. 409 // A bitwise OR of bindings types that have been enabled for this RenderView.
410 // See BindingsPolicy for details. 410 // See BindingsPolicy for details.
411 int enabled_bindings_; 411 int enabled_bindings_;
412 412
413 // The most recent page ID we've heard from the renderer process. This is
414 // used as context when other session history related IPCs arrive.
415 // TODO(creis): Allocate this in WebContents/NavigationController instead.
416 int32 page_id_;
Charlie Reis 2015/05/13 17:17:51 To get UpdateTitle and UpdateState to work when cr
417
418 // Tracks whether this RenderViewHost is in an active state. False if the 413 // Tracks whether this RenderViewHost is in an active state. False if the
419 // main frame is pending swap out, pending deletion, or swapped out, because 414 // main frame is pending swap out, pending deletion, or swapped out, because
420 // it is not visible to the user in any of these cases. 415 // it is not visible to the user in any of these cases.
421 bool is_active_; 416 bool is_active_;
422 417
423 // Tracks whether the main frame RenderFrameHost is swapped out. Unlike 418 // Tracks whether the main frame RenderFrameHost is swapped out. Unlike
424 // is_active_, this is false when the frame is pending swap out or deletion. 419 // is_active_, this is false when the frame is pending swap out or deletion.
425 // TODO(creis): Remove this when we no longer use swappedout://. 420 // TODO(creis): Remove this when we no longer use swappedout://.
426 // See http://crbug.com/357747. 421 // See http://crbug.com/357747.
427 bool is_swapped_out_; 422 bool is_swapped_out_;
(...skipping 30 matching lines...) Expand all
458 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 453 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
459 }; 454 };
460 455
461 #if defined(COMPILER_MSVC) 456 #if defined(COMPILER_MSVC)
462 #pragma warning(pop) 457 #pragma warning(pop)
463 #endif 458 #endif
464 459
465 } // namespace content 460 } // namespace content
466 461
467 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 462 #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