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

Unified Diff: chrome/browser/autocomplete/autocomplete.h

Issue 119334: Merge r17891.... (Closed) Base URL: svn://chrome-svn/chrome/branches/184/src/
Patch Set: Created 11 years, 6 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 | « no previous file | chrome/browser/autocomplete/autocomplete.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete.h
===================================================================
--- chrome/browser/autocomplete/autocomplete.h (revision 17876)
+++ chrome/browser/autocomplete/autocomplete.h (working copy)
@@ -764,6 +764,9 @@
// Getters
const AutocompleteInput& input() const { return input_; }
const AutocompleteResult& result() const { return result_; }
+ // This next is temporary and should go away when
+ // AutocompletePopup::URLsForCurrentSelection() moves to the controller.
+ const AutocompleteResult& latest_result() const { return latest_result_; }
const bool done() const { return done_; }
// From AutocompleteProvider::Listener
@@ -777,6 +780,7 @@
// Copies |latest_result_| to |result_| and notifies observers of updates.
void CommitResult();
+
// Returns the matches from |provider| whose destination urls are not in
// |latest_result_|.
ACMatches GetMatchesNotInLatestResult(
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698