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

Unified Diff: content/renderer/navigation_state_impl.h

Issue 2741313002: Renamed WasWithinSamePage to WasWithinSameDocument. (Closed)
Patch Set: Addressed review comments Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/test/navigation_simulator.cc ('k') | content/renderer/navigation_state_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/navigation_state_impl.h
diff --git a/content/renderer/navigation_state_impl.h b/content/renderer/navigation_state_impl.h
index 0a7d772a2980e09031896416b8cad60554abc33f..87aad584303692974d7e13a5bb413de582c960f0 100644
--- a/content/renderer/navigation_state_impl.h
+++ b/content/renderer/navigation_state_impl.h
@@ -26,7 +26,7 @@ class CONTENT_EXPORT NavigationStateImpl : public NavigationState {
// NavigationState implementation.
ui::PageTransition GetTransitionType() override;
- bool WasWithinSamePage() override;
+ bool WasWithinSameDocument() override;
bool IsContentInitiated() override;
const CommonNavigationParams& common_params() const { return common_params_; }
@@ -36,7 +36,9 @@ class CONTENT_EXPORT NavigationStateImpl : public NavigationState {
}
bool request_committed() const { return request_committed_; }
void set_request_committed(bool value) { request_committed_ = value; }
- void set_was_within_same_page(bool value) { was_within_same_page_ = value; }
+ void set_was_within_same_document(bool value) {
+ was_within_same_document_ = value;
+ }
void set_transition_type(ui::PageTransition transition) {
common_params_.transition = transition;
@@ -49,7 +51,7 @@ class CONTENT_EXPORT NavigationStateImpl : public NavigationState {
bool is_content_initiated);
bool request_committed_;
- bool was_within_same_page_;
+ bool was_within_same_document_;
// True if this navigation was not initiated via WebFrame::LoadRequest.
const bool is_content_initiated_;
« no previous file with comments | « content/public/test/navigation_simulator.cc ('k') | content/renderer/navigation_state_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698