OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/instant/instant_page.h" | 5 #include "chrome/browser/ui/search/instant_page.h" |
6 | 6 |
7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
8 #include "chrome/common/render_messages.h" | 8 #include "chrome/common/render_messages.h" |
9 #include "content/public/browser/web_contents.h" | 9 #include "content/public/browser/web_contents.h" |
10 #include "ui/base/resource/resource_bundle.h" | 10 #include "ui/base/resource/resource_bundle.h" |
11 #include "ui/gfx/font.h" | 11 #include "ui/gfx/font.h" |
12 | 12 |
13 InstantPage::Delegate::~Delegate() { | 13 InstantPage::Delegate::~Delegate() { |
14 } | 14 } |
15 | 15 |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 delegate_->DeleteMostVisitedItem(most_visited_item_id); | 273 delegate_->DeleteMostVisitedItem(most_visited_item_id); |
274 } | 274 } |
275 | 275 |
276 void InstantPage::OnUndoMostVisitedDeletion(uint64 most_visited_item_id) { | 276 void InstantPage::OnUndoMostVisitedDeletion(uint64 most_visited_item_id) { |
277 delegate_->UndoMostVisitedDeletion(most_visited_item_id); | 277 delegate_->UndoMostVisitedDeletion(most_visited_item_id); |
278 } | 278 } |
279 | 279 |
280 void InstantPage::OnUndoAllMostVisitedDeletions() { | 280 void InstantPage::OnUndoAllMostVisitedDeletions() { |
281 delegate_->UndoAllMostVisitedDeletions(); | 281 delegate_->UndoAllMostVisitedDeletions(); |
282 } | 282 } |
OLD | NEW |