diff options
author | kkhorimoto <kkhorimoto@chromium.org> | 2015-06-12 14:14:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-12 21:15:01 +0000 |
commit | 460d348c1b863cb1ff2fd7436a7e1291fcfb21f9 (patch) | |
tree | a9ddd646e65ec8a33e260fca5c73b9b88785bf53 /ios/web/navigation/navigation_item_impl.mm | |
parent | dcabbb797b68f8b79d446bbe82acc5b7daade5de (diff) | |
download | chromium_src-460d348c1b863cb1ff2fd7436a7e1291fcfb21f9.zip chromium_src-460d348c1b863cb1ff2fd7436a7e1291fcfb21f9.tar.gz chromium_src-460d348c1b863cb1ff2fd7436a7e1291fcfb21f9.tar.bz2 |
Renamed PageScrollState to PageDisplayState.
This CL separates out the PageScrollState and PageZoomState as separate
objects owned by a top-level PageState.
BUG=none
Review URL: https://codereview.chromium.org/1175133003
Cr-Commit-Position: refs/heads/master@{#334237}
Diffstat (limited to 'ios/web/navigation/navigation_item_impl.mm')
-rw-r--r-- | ios/web/navigation/navigation_item_impl.mm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ios/web/navigation/navigation_item_impl.mm b/ios/web/navigation/navigation_item_impl.mm index 5609aab..367665c 100644 --- a/ios/web/navigation/navigation_item_impl.mm +++ b/ios/web/navigation/navigation_item_impl.mm @@ -50,7 +50,7 @@ NavigationItemImpl::NavigationItemImpl(const NavigationItemImpl& item) virtual_url_(item.virtual_url_), title_(item.title_), page_id_(item.page_id_), - page_scroll_state_(item.page_scroll_state_), + page_display_state_(item.page_display_state_), transition_type_(item.transition_type_), favicon_(item.favicon_), ssl_(item.ssl_), @@ -124,13 +124,13 @@ int32 NavigationItemImpl::GetPageID() const { return page_id_; } -void NavigationItemImpl::SetPageScrollState( - const web::PageScrollState& scroll_state) { - page_scroll_state_ = scroll_state; +void NavigationItemImpl::SetPageDisplayState( + const web::PageDisplayState& display_state) { + page_display_state_ = display_state; } -const PageScrollState& NavigationItemImpl::GetPageScrollState() const { - return page_scroll_state_; +const PageDisplayState& NavigationItemImpl::GetPageDisplayState() const { + return page_display_state_; } const base::string16& NavigationItemImpl::GetTitleForDisplay( |