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

Unified Diff: chrome/browser/ui/search/instant_page_unittest.cc

Issue 20501002: Adds paste function to searchbox api and handles paste event on fakebox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 7 years, 4 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_page.cc ('k') | chrome/browser/ui/search/instant_tab.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/instant_page_unittest.cc
diff --git a/chrome/browser/ui/search/instant_page_unittest.cc b/chrome/browser/ui/search/instant_page_unittest.cc
index 3a537c4f73b6491dc1925646cec238c8f62d8578..c8e838cd2f760ed19b15738b630ff6d32bbf34a4 100644
--- a/chrome/browser/ui/search/instant_page_unittest.cc
+++ b/chrome/browser/ui/search/instant_page_unittest.cc
@@ -46,6 +46,9 @@ class FakePageDelegate : public InstantPage::Delegate {
content::PageTransition transition,
WindowOpenDisposition disposition,
bool is_search_type));
+ MOCK_METHOD2(PasteIntoOmnibox,
+ void(const content::WebContents* contents,
+ const string16& text));
MOCK_METHOD1(DeleteMostVisitedItem, void(const GURL& url));
MOCK_METHOD1(UndoMostVisitedDeletion, void(const GURL& url));
MOCK_METHOD0(UndoAllMostVisitedDeletions, void());
« no previous file with comments | « chrome/browser/ui/search/instant_page.cc ('k') | chrome/browser/ui/search/instant_tab.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698