Chromium Code Reviews
DescriptionRemove NavigationManager::GetPreviousItem().
The only location interested in the previous navigation item was
a callback that received the index of the item via its parameter
so use the parameter to access the navigation item and remove the
obsolete method.
Add some helper methods to CRWSessionController to avoid creating
and then destroying std::vector<> everytime the list of navigation
items was queried.
BUG=661983
Review-Url: https://codereview.chromium.org/2724073005
Cr-Commit-Position: refs/heads/master@{#454450}
Committed: https://chromium.googlesource.com/chromium/src/+/573bd7b3152aba99ff74ad02ae1aa846ad32a448
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address comments. #
Messages
Total messages: 13 (9 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||