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

Unified Diff: chrome/browser/ui/search/instant_page.h

Issue 12498002: InstantExtended: Adding InstantRestrictedIDCache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing android compile error. Created 7 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 | « chrome/browser/ui/search/instant_extended_browsertest.cc ('k') | chrome/browser/ui/search/instant_page.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/instant_page.h
diff --git a/chrome/browser/ui/search/instant_page.h b/chrome/browser/ui/search/instant_page.h
index 8ddaf0ad616a8faa596f8db2f65bcacc8d780f6f..78e32590189b068fb458d172ac1e0a7f3f6fffca 100644
--- a/chrome/browser/ui/search/instant_page.h
+++ b/chrome/browser/ui/search/instant_page.h
@@ -89,10 +89,12 @@ class InstantPage : public content::WebContentsObserver {
WindowOpenDisposition disposition) = 0;
// Called when the SearchBox wants to delete a Most Visited item.
- virtual void DeleteMostVisitedItem(uint64 most_visited_item_id) = 0;
+ virtual void DeleteMostVisitedItem(
+ InstantRestrictedID most_visited_item_id) = 0;
// Called when the SearchBox wants to undo a Most Visited deletion.
- virtual void UndoMostVisitedDeletion(uint64 most_visited_item_id) = 0;
+ virtual void UndoMostVisitedDeletion(
+ InstantRestrictedID most_visited_item_id) = 0;
// Called when the SearchBox wants to undo all Most Visited deletions.
virtual void UndoAllMostVisitedDeletions() = 0;
@@ -170,7 +172,8 @@ class InstantPage : public content::WebContentsObserver {
void KeyCaptureChanged(bool is_key_capture_enabled);
// Tells the page about new Most Visited data.
- void SendMostVisitedItems(const std::vector<InstantMostVisitedItem>& items);
+ void SendMostVisitedItems(
+ const std::vector<InstantMostVisitedItemIDPair>& items);
protected:
explicit InstantPage(Delegate* delegate);
@@ -226,8 +229,8 @@ class InstantPage : public content::WebContentsObserver {
const GURL& url,
content::PageTransition transition,
WindowOpenDisposition disposition);
- void OnDeleteMostVisitedItem(uint64 most_visited_item_id);
- void OnUndoMostVisitedDeletion(uint64 most_visited_item_id);
+ void OnDeleteMostVisitedItem(InstantRestrictedID most_visited_item_id);
+ void OnUndoMostVisitedDeletion(InstantRestrictedID most_visited_item_id);
void OnUndoAllMostVisitedDeletions();
Delegate* const delegate_;
« no previous file with comments | « chrome/browser/ui/search/instant_extended_browsertest.cc ('k') | chrome/browser/ui/search/instant_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698